Module: ActiveCart::OrderTotal
- Defined in:
- lib/active_cart/order_total.rb
Instance Method Summary collapse
- #active=(active) ⇒ Object
- #active? ⇒ Boolean
- #description ⇒ Object
- #name ⇒ Object
- #price(cart) ⇒ Object
Instance Method Details
#active=(active) ⇒ Object
7 8 9 |
# File 'lib/active_cart/order_total.rb', line 7 def active=(active) @active = active end |
#active? ⇒ Boolean
3 4 5 |
# File 'lib/active_cart/order_total.rb', line 3 def active? @active || false end |
#description ⇒ Object
19 20 21 |
# File 'lib/active_cart/order_total.rb', line 19 def description raise NotImplementedError end |
#name ⇒ Object
15 16 17 |
# File 'lib/active_cart/order_total.rb', line 15 def name raise NotImplementedError end |
#price(cart) ⇒ Object
11 12 13 |
# File 'lib/active_cart/order_total.rb', line 11 def price(cart) raise NotImplementedError end |