class Bodega::ShippingMethod::UPS

Protected Instance Methods

client() click to toggle source
# File lib/bodega/shipping_method/ups.rb, line 9
def client
  @client ||= ActiveMerchant::Shipping::UPS.new(
    login: Bodega.config.ups.login,
    password: Bodega.config.ups.password,
    key: Bodega.config.ups.api_key
  )
end