Method: Aitch::Response#method_missing

Defined in:
lib/aitch/response.rb

#method_missing(name, *args, &block) ⇒ Object



86
87
88
89
90
# File 'lib/aitch/response.rb', line 86

def method_missing(name, *args, &block)
  return headers[name.to_s] if headers.key?(name.to_s)

  super
end