module HTTParty::AllowedFormatsDeprecation

Public Instance Methods

const_missing(const) click to toggle source
# File lib/httparty.rb, line 17
def const_missing(const)
  if const.to_s =~ %rAllowedFormats$/
    Kernel.warn("Deprecated: Use HTTParty::Parser::SupportedFormats")
    HTTParty::Parser::SupportedFormats
  else
    super
  end
end