Class: Chatopsify::CoService
- Inherits:
-
Object
- Object
- Chatopsify::CoService
- Defined in:
- lib/chatopsify/co_service.rb
Constant Summary collapse
- CO_URI =
'https://chat.runsystem.vn/api/v4/posts'.freeze
Instance Method Summary collapse
-
#initialize(api_key, channel_id) ⇒ CoService
constructor
A new instance of CoService.
Constructor Details
#initialize(api_key, channel_id) ⇒ CoService
Returns a new instance of CoService.
5 6 7 8 |
# File 'lib/chatopsify/co_service.rb', line 5 def initialize(api_key, channel_id) @api_key = api_key @channel_id = channel_id end |