Module: ActiveResourceResponse::CustomMethods

Extended by:
ActiveSupport::Concern
Defined in:
lib/active_resource_response/custom_methods.rb

Instance Method Summary collapse

Instance Method Details

#get(custom_method_name, options = {}) ⇒ Object


41
42
43
44
45
46
47
# File 'lib/active_resource_response/custom_methods.rb', line 41

def get(custom_method_name, options = {})
  result = super(custom_method_name, options)
  if self.class.respond_to? :http_response_method
    result = self.class.wrap_result(result)
  end
  result
end