Method: HipChat::NotifyRoom#initialize
- Defined in:
- lib/hipchat-chef/chef.rb
#initialize(api_token, room_name, notify_users = false, report_success = false, excluded_envs = [], override_colors = {}) ⇒ NotifyRoom
Returns a new instance of NotifyRoom.
18 19 20 21 22 23 24 25 |
# File 'lib/hipchat-chef/chef.rb', line 18 def initialize(api_token, room_name, notify_users=false, report_success=false, excluded_envs=[], override_colors={}) @api_token = api_token @room_name = room_name @notify_users = notify_users @report_success = report_success @excluded_envs = excluded_envs @override_colors = override_colors end |