Class: HelloSign::Resource::Account

Inherits:
BaseResource show all
Defined in:
lib/hello_sign/resource/account.rb

Overview

Contains information about an Account and its settings. Take a look at our API Documentation on the Account resource (app.hellosign.com/api/reference#Account) for more information about this.

Author:

  • hellosign

Instance Attribute Summary

Attributes inherited from BaseResource

#data, #headers, #raw_data, #warnings

Instance Method Summary collapse

Methods inherited from BaseResource

#method_missing

Constructor Details

#initialize(hash, key = 'account') ⇒ HelloSign::Resource::Account

Creates a new Account from a hash. If key defined then account data with be the value of hash, otherwise the hash itself.

Parameters:

  • hash (Hash)

    Account’s data

  • key (String) (defaults to: 'account')

    (account) key of the hash, point to where Account data is. If nil, then the hash itself.



38
39
40
# File 'lib/hello_sign/resource/account.rb', line 38

def initialize(hash, key='account')
  super
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class HelloSign::Resource::BaseResource