Class: ActiveMerchant::Shipping::BogusCarrier
- Defined in:
- lib/active_shipping/shipping/carriers/bogus_carrier.rb
Constant Summary collapse
- @@name =
"Bogus Carrier"
Instance Attribute Summary
Attributes inherited from Carrier
Instance Method Summary collapse
Methods inherited from Carrier
#initialize, #maximum_weight, #requirements, #valid_credentials?
Constructor Details
This class inherits a constructor from ActiveMerchant::Shipping::Carrier
Instance Method Details
#find_rates(origin, destination, packages, options = {}) ⇒ Object
8 9 10 11 12 |
# File 'lib/active_shipping/shipping/carriers/bogus_carrier.rb', line 8 def find_rates(origin, destination, packages, = {}) origin = Location.from(origin) destination = Location.from(destination) packages = Array(packages) end |