Sha256: 7db5be24b77e6f717f056739826688b6574e3f11ddc67dcdcde9d631ec397a25

Contents?: true

Size: 271 Bytes

Versions: 11

Compression:

Stored size: 271 Bytes

Contents

# tell Active Shipping to use metric units by default
ActiveMerchant::Shipping::Package.default_options = { :units => :metric }
if Forge.config.ecommerce.active_merchant
  ActiveMerchant::Billing::Base.mode = Forge.config.ecommerce.active_merchant[:base_mode].to_sym
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
forge-cli-0.1.10 lib/forge/config/initializers/zecommerce.rb
forge-cli-0.1.9 lib/forge/config/initializers/zecommerce.rb
forge-cli-0.1.8 lib/forge/config/initializers/zecommerce.rb
forge-cli-0.1.7 lib/forge/config/initializers/zecommerce.rb
forge-cli-0.1.6 lib/forge/config/initializers/zecommerce.rb
forge-cli-0.1.5 lib/forge/config/initializers/zecommerce.rb
forge-cli-0.1.4 lib/forge/config/initializers/zecommerce.rb
forge-cli-0.1.3 lib/forge/config/initializers/ecommerce.rb
forge-cli-0.1.2 lib/forge/config/initializers/ecommerce.rb
forge-cli-0.1.1 lib/forge/config/initializers/ecommerce.rb
forge-cli-0.1.0 lib/forge/config/initializers/ecommerce.rb