Class: Plaid::Page

Inherits:
Array
  • Object
show all
Defined in:
lib/plaid/institution.rb

Overview

Public: A page of results.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(total_count, records) ⇒ Page

Returns a new instance of Page.



171
172
173
174
# File 'lib/plaid/institution.rb', line 171

def initialize(total_count, records)
  @total_count = total_count
  super records
end

Instance Attribute Details

#total_countObject (readonly)

Public: The total number of institutions in all pages



169
170
171
# File 'lib/plaid/institution.rb', line 169

def total_count
  @total_count
end