Class: EasyPost::Services::CarrierType

Inherits:
Service
  • Object
show all
Defined in:
lib/easypost/services/carrier_type.rb

Constant Summary collapse

MODEL_CLASS =
EasyPost::Models::CarrierType

Instance Method Summary collapse

Methods inherited from Service

#initialize

Constructor Details

This class inherits a constructor from EasyPost::Services::Service

Instance Method Details

#allObject

Retrieve all carrier types



7
8
9
# File 'lib/easypost/services/carrier_type.rb', line 7

def all
  @client.make_request(:get, 'carrier_types', MODEL_CLASS)
end