Class: HelloSign::Proxy::Account
- Inherits:
-
Object
- Object
- HelloSign::Proxy::Account
- Defined in:
- lib/hello_sign/proxy/account.rb
Instance Attribute Summary collapse
-
#client ⇒ Object
readonly
Returns the value of attribute client.
Instance Method Summary collapse
- #create(params = {}) ⇒ Object
-
#initialize(client) ⇒ Account
constructor
A new instance of Account.
- #settings ⇒ Object
Constructor Details
#initialize(client) ⇒ Account
Returns a new instance of Account.
8 9 10 |
# File 'lib/hello_sign/proxy/account.rb', line 8 def initialize(client) @client = client end |
Instance Attribute Details
#client ⇒ Object (readonly)
Returns the value of attribute client.
6 7 8 |
# File 'lib/hello_sign/proxy/account.rb', line 6 def client @client end |
Instance Method Details
#create(params = {}) ⇒ Object
12 13 14 |
# File 'lib/hello_sign/proxy/account.rb', line 12 def create(params = {}) client.post('/account/create', body: params, auth_not_required: true) end |