Class: PopulateEnv::Heroku::Options
- Inherits:
-
Object
- Object
- PopulateEnv::Heroku::Options
- Defined in:
- lib/populate_env/heroku/options.rb
Constant Summary collapse
- DEFAULTS =
{ manifest_environment: 'production', manifest: 'app.json', destination: '.env', generate_secrets: true, secret_generator: SecureRandom.method(:hex), use_heroku_config: true, heroku_app: nil, heroku_remote: nil, skip_local_env: false, prompt_missing: true, output: $stdout, input: $stdin, local_env: ENV }.freeze
Instance Method Summary collapse
- #destination=(value) ⇒ Object
-
#initialize(**attrs) ⇒ Options
constructor
A new instance of Options.
- #manifest=(value) ⇒ Object
- #manifest_environment=(value) ⇒ Object
Constructor Details
Instance Method Details
#destination=(value) ⇒ Object
33 34 35 |
# File 'lib/populate_env/heroku/options.rb', line 33 def destination=(value) @destination = Pathname(value) end |
#manifest=(value) ⇒ Object
29 30 31 |
# File 'lib/populate_env/heroku/options.rb', line 29 def manifest=(value) @manifest = Pathname(value) end |
#manifest_environment=(value) ⇒ Object
37 38 39 |
# File 'lib/populate_env/heroku/options.rb', line 37 def manifest_environment=(value) @manifest_environment = value.to_sym end |