Method: Runcible::Response#method_missing
- Defined in:
- lib/runcible/response.rb
#method_missing(name, *args, &block) ⇒ Object
30 31 32 33 34 35 36 37 38 |
# File 'lib/runcible/response.rb', line 30 def method_missing(name, *args, &block) if @parsed_body.respond_to?(name) @parsed_body.send(name, *args, &block) elsif @rest_client_response.respond_to?(name) @rest_client_response.send(name, *args, &block) else super end end |