Class: Roistat::Resources::Billing
- Defined in:
- lib/roistat/resources/billing.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#transactions_export_excel(period:) ⇒ Object
POST /user/billing/transactions/list/export/excel.
-
#transactions_list(period:) ⇒ Object
POST /user/billing/transactions/list.
Methods inherited from Base
Constructor Details
This class inherits a constructor from Roistat::Resources::Base
Instance Method Details
#transactions_export_excel(period:) ⇒ Object
POST /user/billing/transactions/list/export/excel
10 11 12 13 14 15 16 |
# File 'lib/roistat/resources/billing.rb', line 10 def transactions_export_excel(period:) client.post( "user/billing/transactions/list/export/excel", body: {period: period}, parse: :binary ) end |
#transactions_list(period:) ⇒ Object
POST /user/billing/transactions/list
5 6 7 |
# File 'lib/roistat/resources/billing.rb', line 5 def transactions_list(period:) client.post("user/billing/transactions/list", body: {period: period}) end |