Module: EasyshipRatesRubyApi::Api::Couriers

Included in:
Client
Defined in:
lib/easyship/rates/ruby/api/api/couriers.rb

Overview

Rate API

[(contribute here)](github.com/easyship/easyship-rates-ruby-api)

See Also:

Instance Method Summary collapse

Instance Method Details

#update_courier(options = {}) ⇒ Easyship::Rates::Ruby::Mash

Update/Create Couriers only used by internal service

Returns:

  • (Easyship::Rates::Ruby::Mash)


12
13
14
15
16
# File 'lib/easyship/rates/ruby/api/api/couriers.rb', line 12

def update_courier(options = {})
  path = '/update_courier'
  defaults = {}
  Mash.from_json(post(path, defaults.merge(options)).body)
end