Class: Spree::ExactorOption

Inherits:
Object
  • Object
show all
Defined in:
app/models/spree/exactor_setting.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#idObject

Returns the value of attribute id.



27
28
29
# File 'app/models/spree/exactor_setting.rb', line 27

def id
  @id
end

#nameObject

Returns the value of attribute name.



28
29
30
# File 'app/models/spree/exactor_setting.rb', line 28

def name
  @name
end