Class: Pike13::CLI::Commands::Desk::Visit
- Inherits:
-
Base
- Object
- Thor
- Base
- Pike13::CLI::Commands::Desk::Visit
show all
- Defined in:
- lib/pike13/cli/commands/desk/visit.rb
Instance Method Summary
collapse
Methods inherited from Base
base_usage, format_options, handle_argument_error, printable_commands
included
Instance Method Details
#get(id) ⇒ Object
10
11
12
|
# File 'lib/pike13/cli/commands/desk/visit.rb', line 10
def get(id)
handle_error { output(Pike13::Desk::Visit.find(id)) }
end
|
#summary ⇒ Object
17
18
19
|
# File 'lib/pike13/cli/commands/desk/visit.rb', line 17
def summary
handle_error { output(Pike13::Desk::Visit.summary(person_id: options[:person_id])) }
end
|