Class: Custplace::Client
- Inherits:
-
Object
- Object
- Custplace::Client
- Defined in:
- lib/custplace/client.rb
Instance Attribute Summary collapse
-
#access_token ⇒ Object
readonly
Returns the value of attribute access_token.
-
#account_id ⇒ Object
readonly
Returns the value of attribute account_id.
Instance Method Summary collapse
- #answers ⇒ Object
-
#initialize(account_id, access_token, options = {}) ⇒ Custplace::Client
constructor
Public: Initialize a new Custplace::Client.
- #reviews ⇒ Object
- #stores ⇒ Object
Constructor Details
#initialize(account_id, access_token, options = {}) ⇒ Custplace::Client
Public: Initialize a new Custplace::Client
16 17 18 19 |
# File 'lib/custplace/client.rb', line 16 def initialize(account_id, access_token, = {}) @account_id = account_id.to_s @access_token = access_token end |
Instance Attribute Details
#access_token ⇒ Object (readonly)
Returns the value of attribute access_token.
8 9 10 |
# File 'lib/custplace/client.rb', line 8 def access_token @access_token end |
#account_id ⇒ Object (readonly)
Returns the value of attribute account_id.
8 9 10 |
# File 'lib/custplace/client.rb', line 8 def account_id @account_id end |