Class: Paddle::Classic::TransactionsResource
- Defined in:
- lib/paddle/classic/resources/transactions.rb
Instance Attribute Summary
Attributes inherited from Resource
Instance Method Summary collapse
Methods inherited from Resource
Constructor Details
This class inherits a constructor from Paddle::Classic::Resource
Instance Method Details
#list(entity:, id:) ⇒ Object
4 5 6 7 |
# File 'lib/paddle/classic/resources/transactions.rb', line 4 def list(entity:, id:) response = post_request("2.0/#{entity}/#{id}/transactions") Collection.from_response(response, type: Transaction) end |