Skip to content
This repository has been archived by the owner on Jun 1, 2023. It is now read-only.

module ShopifyCli::MethodObject::AutoCreateResultObject

Kevin O'Sullivan edited this page Jun 28, 2021 · 3 revisions

Instance Methods

call

call(*args, **kwargs, &block) invokes the original call implementation and wraps its return value into a result object.

see source

# File lib/shopify-cli/method_object.rb, line 55
def call(*args, **kwargs, &block)
  Result.wrap { kwargs.any? ? super(*args, **kwargs, &block) : super(*args, &block) }.call
end

Clone this wiki locally