Class: Wurk::API::Page::Window
- Inherits:
-
Data
- Object
- Data
- Wurk::API::Page::Window
- Defined in:
- lib/wurk/api/page.rb
Instance Attribute Summary collapse
-
#count ⇒ Object
readonly
Returns the value of attribute count.
-
#page ⇒ Object
readonly
Returns the value of attribute page.
Instance Method Summary collapse
Instance Attribute Details
#count ⇒ Object (readonly)
Returns the value of attribute count
28 29 30 |
# File 'lib/wurk/api/page.rb', line 28 def count @count end |
#page ⇒ Object (readonly)
Returns the value of attribute page
28 29 30 |
# File 'lib/wurk/api/page.rb', line 28 def page @page end |
Instance Method Details
#offset ⇒ Object
29 |
# File 'lib/wurk/api/page.rb', line 29 def offset = page * count |