module Excon::HyperMedia::Ext::Response

Ext::Response

Overloads the default `Excon::Response` to add a thin HyperMedia layer on top.

Private Instance Methods

hypermedia_response() click to toggle source
# File lib/excon/hypermedia/ext/response.rb, line 22
def hypermedia_response
  @hypermedia_response ||= HyperMedia::Response.new(self)
end
method_missing(method_name, *params) click to toggle source
Calls superclass method
# File lib/excon/hypermedia/ext/response.rb, line 14
def method_missing(method_name, *params)
  hypermedia_response.handle(method_name, *params) || super
end
respond_to_missing?(method_name, include_private = false) click to toggle source
Calls superclass method
# File lib/excon/hypermedia/ext/response.rb, line 18
def respond_to_missing?(method_name, include_private = false)
  hypermedia_response.handle(method_name, *params) != false || super
end