Class: HerokuHeadless::Configuration
- Inherits:
-
Object
- Object
- HerokuHeadless::Configuration
- Defined in:
- lib/heroku-headless.rb
Instance Attribute Summary collapse
-
#force_push ⇒ Object
Returns the value of attribute force_push.
-
#mock_mode ⇒ Object
Returns the value of attribute mock_mode.
-
#post_deploy_commands ⇒ Object
Returns the value of attribute post_deploy_commands.
-
#pre_deploy_git_commands ⇒ Object
Returns the value of attribute pre_deploy_git_commands.
-
#restart_processes ⇒ Object
Returns the value of attribute restart_processes.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
30 31 32 33 34 35 36 |
# File 'lib/heroku-headless.rb', line 30 def initialize @pre_deploy_git_commands = [] @post_deploy_commands = [] @force_push ||= false @mock_mode ||= false @restart_processes ||= false end |
Instance Attribute Details
#force_push ⇒ Object
Returns the value of attribute force_push.
27 28 29 |
# File 'lib/heroku-headless.rb', line 27 def force_push @force_push end |
#mock_mode ⇒ Object
Returns the value of attribute mock_mode.
27 28 29 |
# File 'lib/heroku-headless.rb', line 27 def mock_mode @mock_mode end |
#post_deploy_commands ⇒ Object
Returns the value of attribute post_deploy_commands.
27 28 29 |
# File 'lib/heroku-headless.rb', line 27 def post_deploy_commands @post_deploy_commands end |
#pre_deploy_git_commands ⇒ Object
Returns the value of attribute pre_deploy_git_commands.
27 28 29 |
# File 'lib/heroku-headless.rb', line 27 def pre_deploy_git_commands @pre_deploy_git_commands end |
#restart_processes ⇒ Object
Returns the value of attribute restart_processes.
27 28 29 |
# File 'lib/heroku-headless.rb', line 27 def restart_processes @restart_processes end |