Class: Chatopsify::CoService

Inherits:
Object
  • Object
show all
Defined in:
lib/chatopsify/co_service.rb

Constant Summary collapse

CO_URI =
'https://chat.runsystem.vn/api/v4/posts'.freeze

Instance Method Summary collapse

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