Class: CodesWholesale::Models::Order

Inherits:
Object
  • Object
show all
Defined in:
lib/codes_wholesale/models/order.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(opts = {}) ⇒ Order

Returns a new instance of Order.



6
7
8
# File 'lib/codes_wholesale/models/order.rb', line 6

def initialize(opts = {})
  @code_type = opts[:codeType]
end

Instance Attribute Details

#code_typeObject (readonly)

Returns the value of attribute code_type.



4
5
6
# File 'lib/codes_wholesale/models/order.rb', line 4

def code_type
  @code_type
end