Class: NeetoDeploy::CLI::Addon::ScheduledExportsSettings
- Defined in:
- lib/neeto_deploy/cli/addon/scheduled_exports_settings.rb
Constant Summary
Constants included from Constants
Constants::NEETO_DEPLOY_CLI_API_ADDON_URL
Instance Attribute Summary collapse
-
#app_name ⇒ Object
readonly
Returns the value of attribute app_name.
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(options) ⇒ ScheduledExportsSettings
constructor
A new instance of ScheduledExportsSettings.
- #run ⇒ Object
Methods included from Session
#common_body, require_app_option, #send_delete_request, #send_get_request, #send_patch_request, #send_post_request
Methods included from Constants
Methods inherited from Base
Constructor Details
#initialize(options) ⇒ ScheduledExportsSettings
Returns a new instance of ScheduledExportsSettings.
17 18 19 20 |
# File 'lib/neeto_deploy/cli/addon/scheduled_exports_settings.rb', line 17 def initialize() super() @app_name = [:app] end |
Instance Attribute Details
#app_name ⇒ Object (readonly)
Returns the value of attribute app_name.
15 16 17 |
# File 'lib/neeto_deploy/cli/addon/scheduled_exports_settings.rb', line 15 def app_name @app_name end |
Instance Method Details
#run ⇒ Object
22 23 24 25 26 27 |
# File 'lib/neeto_deploy/cli/addon/scheduled_exports_settings.rb', line 22 def run ui.execute_with_loading("Fetching info...") do send_request end print_output end |