Class: StraddlePay::Resources::Reports
- Defined in:
- lib/straddle_pay/resources/reports.rb
Overview
Generate reports from the Straddle API.
Constant Summary
Constants inherited from Base
Instance Method Summary collapse
-
#total_customers_by_status(**options) ⇒ Hash
Get total customers grouped by status.
Methods inherited from Base
Constructor Details
This class inherits a constructor from StraddlePay::Resources::Base
Instance Method Details
#total_customers_by_status(**options) ⇒ Hash
Get total customers grouped by status.
11 12 13 14 |
# File 'lib/straddle_pay/resources/reports.rb', line 11 def total_customers_by_status(**) headers = extract_headers() @client.post("v1/reports/total_customers_by_status", .empty? ? nil : , headers: headers) end |