Class: Pike13::CLI::Commands::Account::Password
- 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
Instance Method Details
#reset ⇒ Object
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: [:email]) output(result) end end |