module Shiphawk::Api::Rates

Rates API

@see shiphawk.com/api-docs

The following API actions provide the CRUD interface to managing rates.

Public Instance Methods

rates_create(options) click to toggle source

Obtain rates given a source

# File lib/shiphawk/api/rates.rb, line 18
def rates_create options
  post_request rates_path, options
end
rates_show(rate_id) click to toggle source

Retrieve rates using a Rates ID key

# File lib/shiphawk/api/rates.rb, line 13
def rates_show rate_id
  entity_request_with_id rates_path, rate_id
end