Module: RightnowOms::ActsAsCartable
- Defined in:
- lib/rightnow_oms/acts_as_cartable.rb
Defined Under Namespace
Modules: ClassMethods, InstanceMethods
Instance Method Summary
collapse
Instance Method Details
#acts_as_cartable(opts = { name: :name, price: :price }) ⇒ Object
#acts_as_cartable? ⇒ Boolean
3
4
5
|
# File 'lib/rightnow_oms/acts_as_cartable.rb', line 3
def acts_as_cartable?
false
end
|
#cartable_config ⇒ Object
16
17
18
|
# File 'lib/rightnow_oms/acts_as_cartable.rb', line 16
def cartable_config
@cartable_config ||= { name: :name, price: :price }
end
|