Class: NationBuilder::Paginator
- Inherits:
-
Object
- Object
- NationBuilder::Paginator
- Defined in:
- lib/nationbuilder/paginator.rb
Instance Attribute Summary collapse
-
#body ⇒ Object
readonly
Returns the value of attribute body.
Instance Method Summary collapse
-
#initialize(client, body) ⇒ Paginator
constructor
A new instance of Paginator.
Constructor Details
#initialize(client, body) ⇒ Paginator
Returns a new instance of Paginator.
4 5 6 7 |
# File 'lib/nationbuilder/paginator.rb', line 4 def initialize(client, body) @client = client @body = body end |
Instance Attribute Details
#body ⇒ Object (readonly)
Returns the value of attribute body.
2 3 4 |
# File 'lib/nationbuilder/paginator.rb', line 2 def body @body end |