Class: Pike13::CLI::Commands::Report::Clients
- Includes:
- Concerns::ReportingQuery
- Defined in:
- lib/pike13/cli/commands/report/clients.rb
Instance Method Summary collapse
Methods included from Concerns::ReportingQuery
Methods inherited from Base
base_usage, format_options, handle_argument_error, printable_commands
Methods included from ThorNestedSubcommand
Instance Method Details
#query ⇒ Object
13 14 15 16 17 18 19 20 21 22 |
# File 'lib/pike13/cli/commands/report/clients.rb', line 13 def query handle_error do params = build_query_params params[:fields] ||= %w[person_id full_name email client_since_date] result = with_progress("Fetching clients report") do Pike13::Reporting::Clients.query(**params) end output(result) end end |