Module: Aptible::CLI::Helpers::Maintenance
- Includes:
- Token
- Defined in:
- lib/aptible/cli/helpers/maintenance.rb
Constant Summary
Constants included
from Token
Token::TOKEN_ENV_VAR
Instance Method Summary
collapse
Methods included from Token
#current_token_hash, #fetch_token, #save_token, #token_file
Methods included from ConfigPath
#aptible_config_path
Instance Method Details
#maintenance_apps ⇒ Object
9
10
11
|
# File 'lib/aptible/cli/helpers/maintenance.rb', line 9
def maintenance_apps
Aptible::Api::MaintenanceApp.all(token: fetch_token)
end
|
#maintenance_databases ⇒ Object
13
14
15
|
# File 'lib/aptible/cli/helpers/maintenance.rb', line 13
def maintenance_databases
Aptible::Api::MaintenanceDatabase.all(token: fetch_token)
end
|