Module: RightnowOms::ActsAsCartable::InstanceMethods

Defined in:
lib/rightnow_oms/acts_as_cartable.rb

Instance Method Summary collapse

Instance Method Details

#cartable_nameObject



27
28
29
# File 'lib/rightnow_oms/acts_as_cartable.rb', line 27

def cartable_name
  self.send(self.class.cartable_config[:name])
end

#cartable_priceObject



31
32
33
# File 'lib/rightnow_oms/acts_as_cartable.rb', line 31

def cartable_price
  self.send(self.class.cartable_config[:price])
end