Class: Chamber::Commands::Heroku::Push
- Includes:
- Chamber::Commands::Heroku, Securable
- Defined in:
- lib/chamber/commands/heroku/push.rb
Instance Attribute Summary
Attributes inherited from Base
#chamber, #dry_run, #rootpath, #shell
Instance Method Summary collapse
Methods included from Chamber::Commands::Heroku
Methods included from Securable
Methods inherited from Base
Instance Method Details
#call ⇒ Object
14 15 16 17 18 19 20 21 22 23 |
# File 'lib/chamber/commands/heroku/push.rb', line 14 def call securable_environment_variables.each do |key, value| if dry_run shell.say_status 'push', key, :blue else shell.say_status 'push', key, :green heroku("config:set #{key}=#{value.shellescape}") end end end |