Class: Hyrb::Tasks::Hipchat::Rooms

Inherits:
Hyrb::Task show all
Defined in:
lib/hyrb/tasks/hipchat.rb

Instance Attribute Summary

Attributes inherited from Hyrb::Task

#env, #pipeline

Instance Method Summary collapse

Methods inherited from Hyrb::Task

depends, #initialize, prompt, prompts, #run_before

Constructor Details

This class inherits a constructor from Hyrb::Task

Instance Method Details

#run(env) ⇒ Object



23
24
25
# File 'lib/hyrb/tasks/hipchat.rb', line 23

def run(env)
  env.hipchat_rooms = env.hipchat_client.rooms_list['rooms']
end