Class: Pokepay::Response::PaginatedTransfers

Inherits:
Object
  • Object
show all
Defined in:
lib/pokepay_partner_ruby_sdk/response/paginated_transfers.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(row) ⇒ PaginatedTransfers

Returns a new instance of PaginatedTransfers.



7
8
9
10
11
# File 'lib/pokepay_partner_ruby_sdk/response/paginated_transfers.rb', line 7

def initialize(row)
  @rows = row["rows"]
  @count = row["count"]
  @pagination = Pagination.new(row["pagination"])
end

Instance Attribute Details

#countObject (readonly)

Returns the value of attribute count.



13
14
15
# File 'lib/pokepay_partner_ruby_sdk/response/paginated_transfers.rb', line 13

def count
  @count
end

#paginationObject (readonly)

Returns the value of attribute pagination.



14
15
16
# File 'lib/pokepay_partner_ruby_sdk/response/paginated_transfers.rb', line 14

def pagination
  @pagination
end

#rowsObject (readonly)

Returns the value of attribute rows.



12
13
14
# File 'lib/pokepay_partner_ruby_sdk/response/paginated_transfers.rb', line 12

def rows
  @rows
end