Sha256: 48b37d60875b5503a703ef3b041ab3f60bf629892a8ac8a511ab7cbe78dbceef

Contents?: true

Size: 440 Bytes

Versions: 2

Compression:

Stored size: 440 Bytes

Contents

#TODO -> Rspecs for this model.
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

2 entries across 2 versions & 1 rubygems

Version Path
spree_loyalty_points-1.0.1 app/models/spree/app_configuration_decorator.rb
spree_loyalty_points-1.0.0 app/models/spree/app_configuration_decorator.rb