class EasyPost::Services::CarrierType

Constants

MODEL_CLASS

A CarrierType details the valid fields for a CarrierAccount.

Public Instance Methods

all() click to toggle source

Retrieve all carrier types

# 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