Class: Pike13::CLI::Commands::Account::Confirmation

Inherits:
Base
  • Object
show all
Defined in:
lib/pike13/cli/commands/account/confirmation.rb

Instance Method Summary collapse

Methods inherited from Base

base_usage, format_options, handle_argument_error, printable_commands

Methods included from ThorNestedSubcommand

included

Instance Method Details

#createObject



11
12
13
14
15
16
# File 'lib/pike13/cli/commands/account/confirmation.rb', line 11

def create
  handle_error do
    result = Pike13::Account::Confirmation.create(confirmation_token: options[:token])
    output(result)
  end
end