class EasyPost::Services::Rate

Public Instance Methods

retrieve(id) click to toggle source

Retrieve a Rate

# File lib/easypost/services/rate.rb, line 5
def retrieve(id)
  response = @client.make_request(:get, "rates/#{id}")

  EasyPost::InternalUtilities::Json.convert_json_to_object(response, EasyPost::Models::Rate)
end