Module: HTTParty::AllowedFormatsDeprecation

### Home Classes Methods

### In Files

- lib/httparty.rb

### Methods

- #const_missing

### 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::AllowedFormatsDeprecation

### Public Instance Methods

const_missing(const) click to toggle source

    # File lib/httparty.rb, line 19
    def const_missing(const)
      if const.to_s =~ /AllowedFormats$/
        Kernel.warn("Deprecated: Use HTTParty::Parser::SupportedFormats")
        HTTParty::Parser::SupportedFormats
      else
        super
      end
    end

[Validate]

Generated with the Darkfish Rdoc Generator 2.