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 8 9  | 
    
      # 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  |