Class: PA::DOM::Buyer
- Inherits:
-
Object
- Object
- PA::DOM::Buyer
- Defined in:
- lib/dom/buyer.rb
Instance Attribute Summary collapse
-
#device ⇒ Object
Returns the value of attribute device.
-
#id ⇒ Object
Returns the value of attribute id.
Instance Method Summary collapse
-
#initialize(id = nil, device = nil) ⇒ Buyer
constructor
A new instance of Buyer.
Constructor Details
#initialize(id = nil, device = nil) ⇒ Buyer
Returns a new instance of Buyer.
4 5 6 7 |
# File 'lib/dom/buyer.rb', line 4 def initialize(id = nil, device = nil) @id = id @device = device end |
Instance Attribute Details
#device ⇒ Object
Returns the value of attribute device.
2 3 4 |
# File 'lib/dom/buyer.rb', line 2 def device @device end |
#id ⇒ Object
Returns the value of attribute id.
2 3 4 |
# File 'lib/dom/buyer.rb', line 2 def id @id end |