Class: Pluggy::Services::BillService
- Inherits:
-
BaseService
- Object
- BaseService
- Pluggy::Services::BillService
- Defined in:
- lib/pluggy/services/other_services.rb
Instance Method Summary collapse
-
#list(account_id:) ⇒ Object
GET /bills.
- #retrieve(id) ⇒ Object
-
#transactions(bill, **options) ⇒ Object
Convenience mirroring Bill#transactions.
Methods inherited from BaseService
Constructor Details
This class inherits a constructor from Pluggy::Services::BaseService
Instance Method Details
#list(account_id:) ⇒ Object
GET /bills. Scoped to one credit-card account.
37 38 39 40 41 42 |
# File 'lib/pluggy/services/other_services.rb', line 37 def list(account_id:) require_args!(account_id: account_id) result = list_request("/bills", klass: Resources::Bill, accountId: account_id) annotate_cycles!(result) result end |