Class: Plaid::Page
- Inherits:
-
Array
- Object
- Array
- Plaid::Page
- Defined in:
- lib/plaid/institution.rb
Overview
Public: A page of results.
Instance Attribute Summary collapse
-
#total_count ⇒ Object
readonly
Public: The total number of institutions in all pages.
Instance Method Summary collapse
-
#initialize(total_count, records) ⇒ Page
constructor
A new instance of Page.
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_count ⇒ Object (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 |