Sha256: 297da46d01e1f90f85ff2cd12b6b582ec3feacc0b9827c4964bdd49b9d0002e5
Contents?: true
Size: 259 Bytes
Versions: 5
Compression:
Stored size: 259 Bytes
Contents
module ActiveMerchant module Shipping module Base mattr_accessor :mode self.mode = :production def self.carrier(name) ActiveMerchant::Shipping::Carriers.all.find {|c| c.name.downcase == name} end end end end
Version data entries
5 entries across 5 versions & 1 rubygems