Class: PA::DOM::Buyer

Inherits:
Object
  • Object
show all
Defined in:
lib/dom/buyer.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#deviceObject

Returns the value of attribute device.



2
3
4
# File 'lib/dom/buyer.rb', line 2

def device
  @device
end

#idObject

Returns the value of attribute id.



2
3
4
# File 'lib/dom/buyer.rb', line 2

def id
  @id
end