Class: Pokepay::Response::PaginatedAccountBalance

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(row) ⇒ PaginatedAccountBalance

Returns a new instance of PaginatedAccountBalance.



7
8
9
10
11
# File 'lib/pokepay_partner_ruby_sdk/response/paginated_account_balance.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_account_balance.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_account_balance.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_account_balance.rb', line 12

def rows
  @rows
end