Sha256: 69e816e3eae288f1dac3f620483cc5c26a915eb1820cf89c6a94211a52873579
Contents?: true
Size: 538 Bytes
Versions: 1
Compression:
Stored size: 538 Bytes
Contents
require "httparty" module Zoho module Subscriptions class Client include HTTParty class << self 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 end base_uri "https://subscriptions.zoho.com/api/v1" format :json end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
zoho-subscriptions-0.1.0 | lib/zoho/subscriptions/client.rb |