Method: ActiveResource::Base#to_xml

Defined in:
lib/active_resource/base.rb

#to_xml(options = {}) ⇒ Object



1475
1476
1477
# File 'lib/active_resource/base.rb', line 1475

def to_xml(options={})
  super({ :root => self.class.element_name }.merge(options))
end