Class: Pushapp::Tasks::ForemanExport

Inherits:
Base
  • Object
show all
Defined in:
lib/pushapp/tasks/foreman_export.rb

Instance Attribute Summary

Attributes inherited from Base

#logger, #options

Instance Method Summary collapse

Methods inherited from Base

#app_name_from_path, #env, #env_options, #initialize, #inspect, register_as, #sudo, #system

Constructor Details

This class inherits a constructor from Pushapp::Tasks::Base

Instance Method Details

#runObject



7
8
9
# File 'lib/pushapp/tasks/foreman_export.rb', line 7

def run
  system "#{sudo} bundle exec foreman export #{arguments}"
end