Class: Neows::Models::Page

Inherits:
BaseModel show all
Defined in:
lib/neows/models/page.rb

Instance Attribute Summary collapse

Attributes inherited from BaseModel

#client

Method Summary

Methods inherited from BaseModel

#initialize

Constructor Details

This class inherits a constructor from Neows::Models::BaseModel

Instance Attribute Details

#numberInteger

Returns:

  • (Integer)

20
# File 'lib/neows/models/page.rb', line 20

attribute :number, Integer

#sizeInteger

Returns:

  • (Integer)

8
# File 'lib/neows/models/page.rb', line 8

attribute :size, Integer

#total_elementsInteger

Returns:

  • (Integer)

12
# File 'lib/neows/models/page.rb', line 12

attribute :total_elements, Integer

#total_pagesInteger

Returns:

  • (Integer)

16
# File 'lib/neows/models/page.rb', line 16

attribute :total_pages, Integer