Module: ShopifyCLI::MethodObject::AutoCreateResultObject

Defined in:
lib/shopify_cli/method_object.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.ruby2_keywordsObject



51
# File 'lib/shopify_cli/method_object.rb', line 51

def self.ruby2_keywords(*); end

Instance Method Details

#callObject

invokes the original ‘call` implementation and wraps its return value into a result object.



57
58
59
# File 'lib/shopify_cli/method_object.rb', line 57

ruby2_keywords def call(*args, &block)
  Result.wrap { super(*args, &block) }.call
end