Class: HipChat::NotifyRoom
- Inherits:
-
Chef::Handler
- Object
- Chef::Handler
- HipChat::NotifyRoom
- Defined in:
- lib/hipchat/chef.rb
Instance Method Summary collapse
-
#initialize(api_token, room_name, notify_users = false) ⇒ NotifyRoom
constructor
A new instance of NotifyRoom.
- #report ⇒ Object
Constructor Details
#initialize(api_token, room_name, notify_users = false) ⇒ NotifyRoom
Returns a new instance of NotifyRoom.
18 19 20 21 22 |
# File 'lib/hipchat/chef.rb', line 18 def initialize(api_token, room_name, notify_users=false) @api_token = api_token @room_name = room_name @notify_users = notify_users end |