Module: Pingpp::APIOperations::List
- Included in:
- BatchRefund, BatchTransfer, Charge, Customs, ListObject, RedEnvelope, Refund, Transfer
- Defined in:
- lib/pingpp/api_operations/list.rb
Instance Method Summary collapse
- #list(filters = {}, opts = {}) ⇒ Object (also: #all)
Instance Method Details
#list(filters = {}, opts = {}) ⇒ Object Also known as: all
4 5 6 7 8 9 |
# File 'lib/pingpp/api_operations/list.rb', line 4 def list(filters={}, opts={}) opts = Util.normalize_opts(opts) response, opts = request(:get, resource_url(opts), filters, opts) ListObject.construct_from(response, opts) end |