Class: HTTParty::Response::Headers

### Home Classes Methods

### In Files

- lib/httparty/response.rb

### Parent

Object

### Methods

- ::new
- #==
- #inspect
- #method_missing
- #respond_to?

### Included Modules

- Net::HTTPHeader

### Files

- README.rdoc

### Class/Module Index

Quicksearch

- HTTParty
- HTTParty::AllowedFormatsDeprecation
- HTTParty::ClassMethods
- HTTParty::Parser
- HTTParty::RedirectionTooDeep
- HTTParty::Response
- HTTParty::Response::Headers
- HTTParty::ResponseError
- HTTParty::UnsupportedFormat
- HTTParty::UnsupportedURIScheme
- Net
- Net::HTTPHeader

No matching classes.

# HTTParty::Response::Headers

### Public Class Methods

new(header) click to toggle source

    # File lib/httparty/response.rb, line 6
    def initialize(header)
      @header = header
    end

### Public Instance Methods

==(other) click to toggle source

    # File lib/httparty/response.rb, line 10
    def ==(other)
      @header == other
    end

inspect() click to toggle source

    # File lib/httparty/response.rb, line 14
    def inspect
      @header.inspect
    end

method_missing(name, *args, &block) click to toggle source

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

[Validate]

Generated with the Darkfish Rdoc Generator 2.