Parent

Included Modules

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
# 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) click to toggle source
# File lib/httparty/response/headers.rb, line 26
def respond_to?(method)
  super || @header.respond_to?(method)
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.