Sha256: 835d474b17a1165969657b5944d3c7f87c2869a9e211458232edb6387380fd8e

Contents?: true

Size: 408 Bytes

Versions: 4

Compression:

Stored size: 408 Bytes

Contents

Spree::AppConfiguration.class_eval do
  preference :min_amount_required_to_get_loyalty_points, :decimal, :default => 20.0
  preference :loyalty_points_awarding_unit, :decimal, :default => 0.0
  preference :loyalty_points_redeeming_balance, :integer, :default => 50
  preference :loyalty_points_conversion_rate, :decimal, :default => 5.0
  preference :loyalty_points_award_period, :integer, :default => 1
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
spree_loyalty_points-1.1.1 app/models/spree/app_configuration_decorator.rb
spree_loyalty_points-1.0.3 app/models/spree/app_configuration_decorator.rb
spree_loyalty_points-1.1.0 app/models/spree/app_configuration_decorator.rb
spree_loyalty_points-1.0.2 app/models/spree/app_configuration_decorator.rb