class HTTParty::Response::Headers

Public Class Methods

new(header = {}) click to toggle source
# File lib/httparty/response/headers.rb, line 6
def initialize(header = {})
  @header = header
end

Public Instance Methods

==(other) click to toggle source
# File lib/httparty/response/headers.rb, line 10
def ==(other)
  @header == other
end
inspect() click to toggle source
# File lib/httparty/response/headers.rb, line 14
def inspect
  @header.inspect
end
method_missing(name, *args, &block) click to toggle source
Calls superclass method
# File lib/httparty/response/headers.rb, line 18
def method_missing(name, *args, &block)
  if @header.respond_to?(name)
    @header.send(name, *args, &block)
  else
    super
  end
end
respond_to?(method, include_all = false) click to toggle source
Calls superclass method
# File lib/httparty/response/headers.rb, line 26
def respond_to?(method, include_all = false)
  super || @header.respond_to?(method, include_all)
end