Class: PaginationAdapter
- Inherits:
-
Struct
- Object
- Struct
- PaginationAdapter
- Defined in:
- lib/jsonapi/materializer/collection_spec.rb
Instance Attribute Summary collapse
-
#in ⇒ Object
Returns the value of attribute in.
-
#next ⇒ Object
Returns the value of attribute next.
-
#page ⇒ Object
Returns the value of attribute page.
-
#pages ⇒ Object
Returns the value of attribute pages.
-
#prev ⇒ Object
Returns the value of attribute prev.
Instance Attribute Details
#in ⇒ Object
Returns the value of attribute in
5 6 7 |
# File 'lib/jsonapi/materializer/collection_spec.rb', line 5 def in @in end |
#next ⇒ Object
Returns the value of attribute next
5 6 7 |
# File 'lib/jsonapi/materializer/collection_spec.rb', line 5 def next @next end |
#page ⇒ Object
Returns the value of attribute page
5 6 7 |
# File 'lib/jsonapi/materializer/collection_spec.rb', line 5 def page @page end |
#pages ⇒ Object
Returns the value of attribute pages
5 6 7 |
# File 'lib/jsonapi/materializer/collection_spec.rb', line 5 def pages @pages end |
#prev ⇒ Object
Returns the value of attribute prev
5 6 7 |
# File 'lib/jsonapi/materializer/collection_spec.rb', line 5 def prev @prev end |