Class: TalkApi::Client
- Inherits:
-
Object
- Object
- TalkApi::Client
- Defined in:
- lib/talk_api/client.rb
Overview
Entry point class
Instance Method Summary collapse
-
#initialize(api_key: nil) ⇒ Client
constructor
A new instance of Client.
- #smalltalk(message) ⇒ Object
Constructor Details
#initialize(api_key: nil) ⇒ Client
Returns a new instance of Client.
6 7 8 |
# File 'lib/talk_api/client.rb', line 6 def initialize(api_key: nil) @api_key = api_key end |