Module: HTTPotato::AllowedFormatsDeprecation
- Included in:
- HTTPotato, ClassMethods
- Defined in:
- lib/httpotato.rb
Instance Method Summary collapse
Instance Method Details
#const_missing(const) ⇒ Object
21 22 23 24 25 26 27 28 |
# File 'lib/httpotato.rb', line 21 def const_missing(const) if const.to_s =~ /AllowedFormats$/ Kernel.warn("Deprecated: Use HTTPotato::Parser::SupportedFormats") HTTPotato::Parser::SupportedFormats else super end end |