Returns the current format, default is ActiveResource::Formats::XmlFormat
Source Code
# File active_resource/base.rb, line 199 def format # :nodoc: read_inheritable_attribute("format") || ActiveResource::Formats[:xml] end
Returns the current format, default is ActiveResource::Formats::XmlFormat
# File active_resource/base.rb, line 199 def format # :nodoc: read_inheritable_attribute("format") || ActiveResource::Formats[:xml] end
<code/>and<pre/>for code samples.