Class: Jets::CLI::Env::Set
- Includes:
- Parse
- Defined in:
- lib/jets/cli/env/set.rb
Direct Known Subclasses
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods included from Parse
Methods inherited from Base
#initialize, #paginate, #paging_params, rescue_api_error
Methods included from Util::Logging
Methods included from AwsServices
#apigateway, #aws_options, #cfn, #codebuild, #dynamodb, #lambda_client, #logs, #s3, #s3_resource, #sns, #sqs, #ssm, #sts, #wafv2
Methods included from AwsServices::StackStatus
Methods included from AwsServices::GlobalMemoist
Methods included from Api
Constructor Details
This class inherits a constructor from Jets::CLI::Base
Instance Method Details
#are_you_sure? ⇒ Boolean
17 18 19 20 21 22 23 |
# File 'lib/jets/cli/env/set.rb', line 17 def are_you_sure? name = self.class.to_s.demodulize.underscore.humanize.downcase sure? <<~EOL Will #{name} env vars for #{@lambda_function.name} The Lambda Function will immediately use the new env vars. EOL end |
#environment_variables ⇒ Object
13 14 15 |
# File 'lib/jets/cli/env/set.rb', line 13 def environment_variables parse_cli_env_values(@options[:values]) end |