Class: PaginationAdapter

Inherits:
Struct
  • Object
show all
Defined in:
lib/jsonapi/materializer/collection_spec.rb

Instance Attribute Summary collapse

Instance Attribute Details

#inObject

Returns the value of attribute in

Returns:

  • (Object)

    the current value of in



5
6
7
# File 'lib/jsonapi/materializer/collection_spec.rb', line 5

def in
  @in
end

#nextObject

Returns the value of attribute next

Returns:

  • (Object)

    the current value of next



5
6
7
# File 'lib/jsonapi/materializer/collection_spec.rb', line 5

def next
  @next
end

#pageObject

Returns the value of attribute page

Returns:

  • (Object)

    the current value of page



5
6
7
# File 'lib/jsonapi/materializer/collection_spec.rb', line 5

def page
  @page
end

#pagesObject

Returns the value of attribute pages

Returns:

  • (Object)

    the current value of pages



5
6
7
# File 'lib/jsonapi/materializer/collection_spec.rb', line 5

def pages
  @pages
end

#prevObject

Returns the value of attribute prev

Returns:

  • (Object)

    the current value of prev



5
6
7
# File 'lib/jsonapi/materializer/collection_spec.rb', line 5

def prev
  @prev
end