Class: Ecommerce::Resources::Base
- Inherits:
-
Object
- Object
- Ecommerce::Resources::Base
- Defined in:
- lib/ecommerce/resources/base.rb
Direct Known Subclasses
AccountOrder, AdjustmentOrder, Collection, InvoiceOrder, InvoicePlan, Order
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(attribute = {}) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(attribute = {}) ⇒ Base
Returns a new instance of Base.
4 5 6 7 8 |
# File 'lib/ecommerce/resources/base.rb', line 4 def initialize(attribute={}) attribute.each do |k, v| set_attribute(k, v) end end |