Class: Wurk::API::Page::Window

Inherits:
Data
  • Object
show all
Defined in:
lib/wurk/api/page.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#countObject (readonly)

Returns the value of attribute count

Returns:

  • (Object)

    the current value of count



28
29
30
# File 'lib/wurk/api/page.rb', line 28

def count
  @count
end

#pageObject (readonly)

Returns the value of attribute page

Returns:

  • (Object)

    the current value of page



28
29
30
# File 'lib/wurk/api/page.rb', line 28

def page
  @page
end

Instance Method Details

#offsetObject



29
# File 'lib/wurk/api/page.rb', line 29

def offset = page * count