Class: Zoho::Subscriptions::Client

Inherits:
Object
  • Object
show all
Includes:
HTTParty
Defined in:
lib/zoho/subscriptions/client.rb

Class Method Summary collapse

Class Method Details

.configure(auth_token:, organization_id:) ⇒ Object



9
10
11
12
13
14
# File 'lib/zoho/subscriptions/client.rb', line 9

def configure(auth_token:, organization_id:)
  # auth_token: eb4cb816a2ec612f208f13d77086aa25
  # organization_id: 59183978
  headers "Authorization" => "Zoho-authtoken #{auth_token}"
  headers "X-com-zoho-subscriptions-organizationid" => organization_id
end