Module: HTTParty
- Defined in:
- lib/httparty.rb,
lib/httparty/version.rb,
lib/httparty/core_ext/hash.rb
Defined Under Namespace
Modules: ClassMethods, CoreExt, VERSION Classes: UnsupportedFormat
Constant Summary collapse
- AllowedFormats =
this is the format known by the module
[:xml, :json]
- MimeTypes =
for each mime types give the format found in AllowedFormat (that can be parsed)
{ 'application/xml' => :xml, 'application/atom+xml' => :xml, 'application/rdf+xml' => :xml, 'text/xml' => :xml, 'application/json' => :json, 'text/json' => :json, }
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
17 18 19 |
# File 'lib/httparty.rb', line 17 def self.included(base) base.extend ClassMethods end |