Sha256: 0857ca8dc815c70912d4cf8e816a0bf010a1ffa3dd7ef68827046f320c20da63

Contents?: true

Size: 211 Bytes

Versions: 6

Compression:

Stored size: 211 Bytes

Contents

# frozen_string_literal: true

class EasyPost::Services::Rate < EasyPost::Services::Service
  # Retrieve a Rate
  def retrieve(id)
    @client.make_request(:get, "rates/#{id}", EasyPost::Models::Rate)
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

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