Class: PPE_API::Region

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

Instance Method Summary collapse

Instance Method Details

#to_xml(options = {}) ⇒ Object



12
13
14
# File 'lib/ppe_api/region.rb', line 12

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