Sha256: 9f371a6d76de6c6f19547ee75017a25fb088cf736228b72d8018a8b1fdfbc78c
Contents?: true
Size: 476 Bytes
Versions: 3
Compression:
Stored size: 476 Bytes
Contents
# frozen_string_literal: true # A Rate object contains all the details about the rate of a Shipment. class EasyPost::Beta::Rate < EasyPost::Resource # Retrieve a list of stateless rates. def self.retrieve_stateless_rates(params = {}, api_key = nil) wrapped_params = { shipment: params, } response = EasyPost.make_request(:post, '/beta/rates', api_key, wrapped_params) EasyPost::Util.convert_to_easypost_object(response['rates'], api_key) end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
easypost-4.13.1 | lib/easypost/beta/rate.rb |
easypost-4.13.0 | lib/easypost/beta/rate.rb |
easypost-4.12.0 | lib/easypost/beta/rate.rb |