Method: Unit::Transaction::ListTransactionParams#initialize
- Defined in:
- lib/unit/models/transaction/list_transaction_params.rb
#initialize(limit = TRANSACTION_LIST_LIMIT, offset = TRANSACTION_LIST_OFFSET, account_id = nil, customer_id = nil, query = nil, tags = nil, since = nil, _until = nil, card_id = nil, type = nil, from_amount = nil, to_amount = nil, direction = nil, exclude_fees = nil, sort = nil, include = nil) ⇒ ListTransactionParams
Returns a new instance of ListTransactionParams.
26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 |
# File 'lib/unit/models/transaction/list_transaction_params.rb', line 26 def initialize(limit = TRANSACTION_LIST_LIMIT, offset = TRANSACTION_LIST_OFFSET, account_id = nil, customer_id = nil, query = nil, = nil, since = nil, _until = nil, card_id = nil, type = nil, from_amount = nil, to_amount = nil, direction = nil, exclude_fees = nil, sort = nil, include = nil) @limit = limit @offset = offset @account_id = account_id @customer_id = customer_id @query = query @tags = @since = since @_until = _until @card_id = card_id @type = type @from_amount = from_amount @to_amount = to_amount @direction = direction @exclude_fees = exclude_fees @sort = sort @include = include end |