format()
Returns the current format, default is ActiveResource::Formats::XmlFormat.
# File activeresource/lib/active_resource/base.rb, line 338 def format read_inheritable_attribute(:format) || ActiveResource::Formats[:xml] end