app/models/spree/shipment_provider/ups.rb
def config options
    {
      login:          options['user_id'],
      password:       options['password'],
      key:            options['license_number'],
      origin_account: options['account_number'],
      pickup_type:    (options['pickup_type'] || 'suggested_retail_rates').to_sym
    }
  end
# Mixin functionality shared with other providers
Mixin functionality shared with other providers
Mixin functionality shared with other providers
def config options
    {
      login:          options['user_id'],
      password:       options['password'],
      key:            options['license_number'],
      origin_account: options['account_number'],
      pickup_type:    (options['pickup_type'] || 'suggested_retail_rates').to_sym
    }
  end
def config options { login : options [ 'user_id' ] , password : options [ 'password' ] , key : options [ 'license_number' ] , origin_account : options [ 'account_number' ] , pickup_type : ( options [ 'pickup_type' ] || 'suggested_retail_rates' ) . to_sym } end
Mixin functionality shared with other providers
Mixin functionality shared with other providers
options