Class: Faturando::Base
- Inherits:
-
ActiveResource::Base
- Object
- ActiveResource::Base
- Faturando::Base
- Defined in:
- lib/faturando_api.rb
Direct Known Subclasses
Customer, Feature, FeatureValue, Plan, Project, Subscription
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from ActiveResource::Base
Class Method Details
.element_name ⇒ Object
75 76 77 |
# File 'lib/faturando_api.rb', line 75 def self.element_name name.split(/::/).last.underscore end |
Instance Method Details
#to_xml(options = {}) ⇒ Object
79 80 81 82 |
# File 'lib/faturando_api.rb', line 79 def to_xml( = {}) .merge!(:dasherize => false) super end |