Class: CodesWholesale::Models::Order
- Inherits:
-
Object
- Object
- CodesWholesale::Models::Order
- Defined in:
- lib/codes_wholesale/models/order.rb
Instance Attribute Summary collapse
-
#code_type ⇒ Object
readonly
Returns the value of attribute code_type.
Instance Method Summary collapse
-
#initialize(opts = {}) ⇒ Order
constructor
A new instance of Order.
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_type ⇒ Object (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 |