Class: Jets::CLI::Maintenance::Base
- Includes:
- Lambda::Checks, Util::Truthy
- Defined in:
- lib/jets/cli/maintenance/base.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Base
constructor
A new instance of Base.
- #status ⇒ Object
Methods included from Util::Truthy
Methods included from Lambda::Checks
#check_deployed!, #check_workers!, #workers_deployed?
Methods inherited from Base
#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
#initialize(options = {}) ⇒ Base
Returns a new instance of Base.
6 7 8 9 |
# File 'lib/jets/cli/maintenance/base.rb', line 6 def initialize( = {}) super check_deployed! end |
Instance Method Details
#status ⇒ Object
11 12 13 |
# File 'lib/jets/cli/maintenance/base.rb', line 11 def status on? ? "on" : "off" end |