Method: EasyPost::Services::User#all_api_keys

Defined in:
lib/easypost/services/user.rb

#all_api_keysObject

Retrieve a list of all ApiKey objects.



43
44
45
46
47
48
# File 'lib/easypost/services/user.rb', line 43

def all_api_keys
  warn '[DEPRECATION] `all_api_keys` is deprecated. Please use `all` in the `api_key` service instead.'
  response = @client.make_request(:get, 'api_keys')

  EasyPost::InternalUtilities::Json.convert_json_to_object(response, EasyPost::Models::ApiKey)
end