Class: WatchDoge::Notification::Mattermost
- Inherits:
-
Object
- Object
- WatchDoge::Notification::Mattermost
- Defined in:
- lib/watchdoge/notification/mattermost.rb
Instance Method Summary collapse
- #flush ⇒ Object
-
#initialize(args) ⇒ Mattermost
constructor
A new instance of Mattermost.
Constructor Details
#initialize(args) ⇒ Mattermost
Returns a new instance of Mattermost.
10 11 12 13 14 15 16 |
# File 'lib/watchdoge/notification/mattermost.rb', line 10 def initialize args super @host = args[:host] @channel_id = args[:channel_id] @auth_token = args[:auth_token] end |