Class: EasyPost::Services::BetaRate
- Defined in:
- lib/easypost/services/beta_rate.rb
Instance Method Summary collapse
-
#retrieve_stateless_rates(params = {}) ⇒ Object
Retrieve a list of stateless rates.
Methods inherited from Service
Constructor Details
This class inherits a constructor from EasyPost::Services::Service
Instance Method Details
#retrieve_stateless_rates(params = {}) ⇒ Object
Retrieve a list of stateless rates.
5 6 7 8 9 10 11 12 |
# File 'lib/easypost/services/beta_rate.rb', line 5 def retrieve_stateless_rates(params = {}) wrapped_params = { shipment: params, } response = @client.make_request(:post, 'rates', wrapped_params, 'beta') EasyPost::InternalUtilities::Json.convert_json_to_object(response, EasyPost::Models::Rate).rates end |