Class: EasyPost::Services::Rate
- Defined in:
- lib/easypost/services/rate.rb
Instance Method Summary collapse
-
#retrieve(id) ⇒ Object
Retrieve a Rate.
Methods inherited from Service
Constructor Details
This class inherits a constructor from EasyPost::Services::Service
Instance Method Details
#retrieve(id) ⇒ Object
Retrieve a Rate
5 6 7 |
# File 'lib/easypost/services/rate.rb', line 5 def retrieve(id) @client.make_request(:get, "rates/#{id}", EasyPost::Models::Rate) end |