Class: Spree::Core::NullPromotionConfiguration
- Inherits:
-
Preferences::Configuration
- Object
- Preferences::Configuration
- Spree::Core::NullPromotionConfiguration
- Includes:
- EnvironmentExtension
- Defined in:
- lib/spree/core/null_promotion_configuration.rb
Instance Attribute Summary collapse
-
#actions ⇒ Array
Allows getting and setting actions.
-
#advertiser_class ⇒ Class
Allows providing a different promotion advertiser.
-
#calculators ⇒ Spree::Core::NestedClassSet
Allows getting an setting calculators for actions.
-
#coupon_code_handler_class ⇒ Class
Allows providing a different coupon code handler.
-
#promotion_finder_class ⇒ Class
Allows providing a different promotion finder.
-
#rules ⇒ Array
Allows getting and setting rules.
-
#shipping_actions ⇒ Array
Allows getting and setting shipping actions.
-
#shipping_promotion_handler_class ⇒ Class
Allows providing a different promotion shipping promotion handler.
Attributes inherited from Preferences::Configuration
#load_defaults_called, #loaded_defaults, #preference_store
Method Summary
Methods inherited from Preferences::Configuration
#check_load_defaults_called, class_name_attribute, #configure, inherited, #initialize, #load_defaults, preference, #reset, #set, #use_legacy_db_preferences!, #use_static_preferences!, versioned_preference
Methods included from Preferences::Preferable
#admin_form_preference_names, #default_preferences, #defined_preferences, #get_preference, #has_preference!, #has_preference?, #preference_default, #preference_type, #set_preference
Constructor Details
This class inherits a constructor from Spree::Preferences::Configuration
Instance Attribute Details
#actions ⇒ Array
Allows getting and setting actions. Deprecated.
46 |
# File 'lib/spree/core/null_promotion_configuration.rb', line 46 add_class_set :actions |
#advertiser_class ⇒ Class
Allows providing a different promotion advertiser.
77 |
# File 'lib/spree/core/null_promotion_configuration.rb', line 77 class_name_attribute :advertiser_class, default: 'Spree::NullPromotionAdvertiser' |
#calculators ⇒ Spree::Core::NestedClassSet
Allows getting an setting calculators for actions. Deprecated.
58 |
# File 'lib/spree/core/null_promotion_configuration.rb', line 58 add_nested_class_set :calculators |
#coupon_code_handler_class ⇒ Class
Allows providing a different coupon code handler.
17 |
# File 'lib/spree/core/null_promotion_configuration.rb', line 17 class_name_attribute :coupon_code_handler_class, default: 'Spree::NullPromotionHandler' |
#promotion_finder_class ⇒ Class
Allows providing a different promotion finder.
25 |
# File 'lib/spree/core/null_promotion_configuration.rb', line 25 class_name_attribute :promotion_finder_class, default: 'Spree::NullPromotionFinder' |
#rules ⇒ Array
Allows getting and setting rules. Deprecated.
40 |
# File 'lib/spree/core/null_promotion_configuration.rb', line 40 add_class_set :rules |
#shipping_actions ⇒ Array
Allows getting and setting shipping actions. Deprecated.
52 |
# File 'lib/spree/core/null_promotion_configuration.rb', line 52 add_class_set :shipping_actions |
#shipping_promotion_handler_class ⇒ Class
Allows providing a different promotion shipping promotion handler.
67 |
# File 'lib/spree/core/null_promotion_configuration.rb', line 67 class_name_attribute :shipping_promotion_handler_class, default: 'Spree::NullPromotionHandler' |