Class: Pike13::CLI::Commands::Account::Password

Inherits:
Base
  • Object
show all
Defined in:
lib/pike13/cli/commands/account/password.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

#resetObject



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

def reset
  handle_error do
    result = Pike13::Account::Password.create(email: options[:email])
    output(result)
  end
end