Class: ESignLive::Client
- Inherits:
-
Object
- Object
- ESignLive::Client
- Includes:
- API::Calls
- Defined in:
- lib/esignlive/client.rb
Constant Summary
Constants included from API::Calls
API::Calls::AUTH_URL, API::Calls::PACKAGE_DEFAULTS, API::Calls::SENDER_AUTH_URL, API::Calls::SIGNER_AUTH_URL, API::Calls::URL
Instance Attribute Summary collapse
-
#headers ⇒ Object
readonly
Returns the value of attribute headers.
Instance Method Summary collapse
-
#initialize(api_key:) ⇒ Client
constructor
A new instance of Client.
Methods included from API::Calls
#authentication_token, #create_package, #create_package_from_template, #get_document, #get_package, #get_packages, #get_role, #get_roles, #get_signing_status, #package_hash, #remove_document_from_package, #send_package, #sender_authentication_token, #signer_authentication_token, #signing_url, #update_role_signer
Constructor Details
#initialize(api_key:) ⇒ Client
Returns a new instance of Client.
9 10 11 |
# File 'lib/esignlive/client.rb', line 9 def initialize(api_key:) @headers = create_headers(api_key) end |
Instance Attribute Details
#headers ⇒ Object (readonly)
Returns the value of attribute headers.
7 8 9 |
# File 'lib/esignlive/client.rb', line 7 def headers @headers end |