Class: Carter::Settings
- Inherits:
-
Object
- Object
- Carter::Settings
- Defined in:
- lib/carter/initializer.rb
Instance Attribute Summary collapse
-
#cartables ⇒ Object
Returns the value of attribute cartables.
-
#default_currency ⇒ Object
Returns the value of attribute default_currency.
-
#on_checkout ⇒ Object
Returns the value of attribute on_checkout.
-
#on_failed ⇒ Object
Returns the value of attribute on_failed.
-
#payment_method ⇒ Object
Returns the value of attribute payment_method.
-
#persist_by_shopper ⇒ Object
Returns the value of attribute persist_by_shopper.
Instance Method Summary collapse
-
#initialize ⇒ Settings
constructor
A new instance of Settings.
- #persist_by_shopper? ⇒ Boolean
Constructor Details
#initialize ⇒ Settings
Returns a new instance of Settings.
55 56 57 |
# File 'lib/carter/initializer.rb', line 55 def initialize self.cartables = [] end |
Instance Attribute Details
#cartables ⇒ Object
Returns the value of attribute cartables.
46 47 48 |
# File 'lib/carter/initializer.rb', line 46 def cartables @cartables end |
#default_currency ⇒ Object
Returns the value of attribute default_currency.
47 48 49 |
# File 'lib/carter/initializer.rb', line 47 def default_currency @default_currency end |
#on_checkout ⇒ Object
Returns the value of attribute on_checkout.
44 45 46 |
# File 'lib/carter/initializer.rb', line 44 def on_checkout @on_checkout end |
#on_failed ⇒ Object
Returns the value of attribute on_failed.
45 46 47 |
# File 'lib/carter/initializer.rb', line 45 def on_failed @on_failed end |
#payment_method ⇒ Object
Returns the value of attribute payment_method.
48 49 50 |
# File 'lib/carter/initializer.rb', line 48 def payment_method @payment_method end |
#persist_by_shopper ⇒ Object
Returns the value of attribute persist_by_shopper.
43 44 45 |
# File 'lib/carter/initializer.rb', line 43 def persist_by_shopper @persist_by_shopper end |
Instance Method Details
#persist_by_shopper? ⇒ Boolean
50 51 52 |
# File 'lib/carter/initializer.rb', line 50 def persist_by_shopper? @persist_by_shopper end |