Method: Custplace::Client#initialize

Defined in:
lib/custplace/client.rb

#initialize(account_id, access_token, options = {}) ⇒ Custplace::Client

Public: Initialize a new Custplace::Client

Parameters:

  • account_id (String)

    the account id found in custplace account url

  • access_token (String)

    the access token for the account found in the integration page on Custplace

  • options (Hash) (defaults to: {})

    the options to initialize the client with



16
17
18
19
# File 'lib/custplace/client.rb', line 16

def initialize(, access_token, options = {})
  @account_id = .to_s
  @access_token = access_token
end