Module: Pingpp::APIOperations::List
- Included in:
- Pingpp::Agreement, BalanceBonus, BalanceSettlement, BalanceTransaction, BalanceTransfer, BatchRefund, BatchTransfer, BatchWithdrawal, Charge, Coupon, CouponTemplate, Customs, ListObject, Order, ProfitTransaction, Recharge, RedEnvelope, Refund, Royalty, RoyaltySettlement, RoyaltyTemplate, RoyaltyTransaction, SettleAccount, SplitProfit, SplitReceiver, SubApp, SubBank, Transfer, User, Withdrawal
- 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 |