Class: PPE_API::User

Inherits:
Object
  • Object
show all
Includes:
HappyMapper
Defined in:
lib/ppe_api/user.rb

Instance Method Summary collapse

Instance Method Details

#to_xml(options = {}) ⇒ Object



17
18
19
# File 'lib/ppe_api/user.rb', line 17

def to_xml(options={})
  self.as_json.to_xml({:root => "user"}.merge(options))
end