Class: Spree::ExactorOption
- Inherits:
-
Object
- Object
- Spree::ExactorOption
- Defined in:
- app/models/spree/exactor_setting.rb
Instance Attribute Summary collapse
-
#id ⇒ Object
Returns the value of attribute id.
-
#name ⇒ Object
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(id, name) ⇒ ExactorOption
constructor
A new instance of ExactorOption.
Constructor Details
#initialize(id, name) ⇒ ExactorOption
Returns a new instance of ExactorOption.
30 31 32 33 |
# File 'app/models/spree/exactor_setting.rb', line 30 def initialize (id, name) self.id = id self.name = name end |
Instance Attribute Details
#id ⇒ Object
Returns the value of attribute id.
27 28 29 |
# File 'app/models/spree/exactor_setting.rb', line 27 def id @id end |
#name ⇒ Object
Returns the value of attribute name.
28 29 30 |
# File 'app/models/spree/exactor_setting.rb', line 28 def name @name end |