Sha256: 728822c20e173a6d9fbc88a0909f5c61708dcc608a90bbd2689cc2956077a704

Contents?: true

Size: 347 Bytes

Versions: 2

Compression:

Stored size: 347 Bytes

Contents

module ActiveMerchant
  module Shipping
    class BogusCarrier < Carrier
      cattr_reader :name
      @@name = "Bogus Carrier"

      def find_rates(origin, destination, packages, options = {})
        origin = Location.from(origin)
        destination = Location.from(destination)
        packages = Array(packages)
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
active_shipping-0.12.6 lib/active_shipping/shipping/carriers/bogus_carrier.rb
active_shipping-0.12.5 lib/active_shipping/shipping/carriers/bogus_carrier.rb