Class: Hyrb::Tasks::Hipchat::Inject

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



11
12
13
# File 'lib/hyrb/tasks/hipchat.rb', line 11

def run(env)
  env.hipchat_client = HipChat::API.new(env.creds.hipchat_api_key)
end