Class: EasyPost::Services::CarrierType
- Defined in:
- lib/easypost/services/carrier_type.rb
Constant Summary collapse
- MODEL_CLASS =
EasyPost::Models::CarrierType
Instance Method Summary collapse
-
#all ⇒ Object
Retrieve all carrier types.
Methods inherited from Service
Constructor Details
This class inherits a constructor from EasyPost::Services::Service
Instance Method Details
#all ⇒ Object
Retrieve all carrier types
7 8 9 10 11 |
# File 'lib/easypost/services/carrier_type.rb', line 7 def all response = @client.make_request(:get, 'carrier_types') EasyPost::InternalUtilities::Json.convert_json_to_object(response, MODEL_CLASS) end |