lib/elevate/http/response.rb
# Forwards unknown methods to +body+, enabling this object to behave like +body+.
#
# This only occurs if +body+ is a Ruby collection.
#
# @api public
Forwards unknown methods to +body+, enabling this object to behave like +body+.
This only occurs if +body+ is a Ruby collection.
Forwards unknown methods to + body + enabling this object to behave like + body + . This only occurs if + body + is a Ruby collection .
def method_missing(m, *args, &block)
      return super unless json?
      body.send(m, *args, &block)
    end
def method_missing ( m , * args , & block ) return super unless json? body . send ( m , * args , & block ) end
Forwards unknown methods to +body+, enabling this object to behave like +body+.
Forwards unknown methods to + body + enabling this object to behave like + body + .
m
<not_specific>
args
<not_specific>
block
<not_specific>
api
None