Class: EasyPost::Services::CustomerPortal

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

Instance Method Summary collapse

Methods inherited from Service

#initialize

Constructor Details

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

Instance Method Details

Create a Portal Session



5
6
7
8
9
# File 'lib/easypost/services/customer_portal.rb', line 5

def (params = {})
  response = @client.make_request(:post, 'customer_portal/account_link', params)

  EasyPost::InternalUtilities::Json.convert_json_to_object(response)
end