Sha256: 09aea494d9dd8ef588171560857bb8975c29e6e5d1a0485055820f20ad18686f

Contents?: true

Size: 339 Bytes

Versions: 6

Compression:

Stored size: 339 Bytes

Contents

# frozen_string_literal: true

class EasyPost::Services::BetaRate < EasyPost::Services::Service
  # Retrieve a list of stateless rates.
  def retrieve_stateless_rates(params = {})
    wrapped_params = {
      shipment: params,
    }

    @client.make_request(:post, 'rates', EasyPost::Models::Rate, wrapped_params, 'beta').rates
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
easypost-5.3.0 lib/easypost/services/beta_rate.rb
easypost-5.2.0 lib/easypost/services/beta_rate.rb
easypost-5.1.1 lib/easypost/services/beta_rate.rb
easypost-5.1.0 lib/easypost/services/beta_rate.rb
easypost-5.0.1 lib/easypost/services/beta_rate.rb
easypost-5.0.0 lib/easypost/services/beta_rate.rb