Class: Coneco::Purchase
- Inherits:
-
Object
- Object
- Coneco::Purchase
- Includes:
- InitHelper
- Defined in:
- lib/coneco/client.rb
Instance Attribute Summary collapse
-
#date ⇒ Object
Returns the value of attribute date.
-
#price ⇒ Object
Returns the value of attribute price.
Instance Method Summary collapse
-
#initialize(h) ⇒ Purchase
constructor
A new instance of Purchase.
Methods included from InitHelper
Constructor Details
#initialize(h) ⇒ Purchase
Returns a new instance of Purchase.
153 154 155 |
# File 'lib/coneco/client.rb', line 153 def initialize(h) populate(h) end |
Instance Attribute Details
#date ⇒ Object
Returns the value of attribute date.
152 153 154 |
# File 'lib/coneco/client.rb', line 152 def date @date end |
#price ⇒ Object
Returns the value of attribute price.
152 153 154 |
# File 'lib/coneco/client.rb', line 152 def price @price end |