Class: Crowbar::Client::App::Ses
- Defined in:
- lib/crowbar/client/app/ses.rb
Overview
A Thor based CLI wrapper for SES commands
Instance Method Summary collapse
-
#upload(file) ⇒ Object
SES config upload command.
Methods inherited from Base
banner, handle_argument_error, #initialize
Constructor Details
This class inherits a constructor from Crowbar::Client::App::Base
Instance Method Details
#upload(file) ⇒ Object
SES config upload command
It will upload yaml file with SES configuration to the server. Data inside this file could be used later for integrating SES cluster with other services.
42 43 44 45 46 47 48 49 50 |
# File 'lib/crowbar/client/app/ses.rb', line 42 def upload(file) Command::Ses::Upload.new( *command_params( file: file ) ).execute rescue => e catch_errors(e) end |