Method: ApiResource::Response#method_missing

Defined in:
lib/api_resource/response.rb

#method_missing(meth, *args, &block) ⇒ Mixed (protected)

Proxy method missing to the body

Parameters:

  • meth (Symbol)

    Method called

  • *args (Array<Mixed>)

    Args passed

  • &block (Proc)

    Block passed

Returns:

  • (Mixed)


88
89
90
# File 'lib/api_resource/response.rb', line 88

def method_missing(meth, *args, &block)
  @body.__send__(meth, *args, &block)
end