Sha256: be87470bc00995cf7281fb06b625369d5569a567a2209ad77106825cd721389f

Contents?: true

Size: 481 Bytes

Versions: 28

Compression:

Stored size: 481 Bytes

Contents

shipping_method = Spree::ShippingMethod.find_by_name("UPS Ground")
shipping_method.calculator.preferred_amount = 5

shipping_method = Spree::ShippingMethod.find_by_name("UPS One Day")
shipping_method.calculator.preferred_amount = 15

shipping_method = Spree::ShippingMethod.find_by_name("UPS Two Day")
shipping_method.calculator.preferred_amount = 10

# flat_rate_five_dollars:
#   name: amount
#   owner: flat_rate_coupon_calculator
#   owner_type: Spree::Calculator
#   value: 5

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
spree_sample-1.0.3 db/sample/spree/preferences.rb
spree_sample-1.0.2 db/sample/spree/preferences.rb
spree_sample-1.0.1 db/sample/spree/preferences.rb
spree_sample-1.0.0 db/sample/spree/preferences.rb
spree_sample-1.0.0.rc4 db/sample/spree/preferences.rb
spree_sample-1.0.0.rc3 db/sample/spree/preferences.rb
spree_sample-1.0.0.rc2 db/sample/spree/preferences.rb
spree_sample-1.0.0.rc1 db/sample/spree/preferences.rb