module HTTParty::AllowedFormatsDeprecation

Public Instance Methods

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