Class: DropletKit::PaginationInformation::Pages

Inherits:
Struct
  • Object
show all
Defined in:
lib/droplet_kit/models/pagination_information.rb

Instance Attribute Summary collapse

Instance Attribute Details

#firstObject

Returns the value of attribute first

Returns:

  • (Object)

    the current value of first



5
6
7
# File 'lib/droplet_kit/models/pagination_information.rb', line 5

def first
  @first
end

#lastObject

Returns the value of attribute last

Returns:

  • (Object)

    the current value of last



5
6
7
# File 'lib/droplet_kit/models/pagination_information.rb', line 5

def last
  @last
end

#nextObject

Returns the value of attribute next

Returns:

  • (Object)

    the current value of next



5
6
7
# File 'lib/droplet_kit/models/pagination_information.rb', line 5

def next
  @next
end

#prefObject

Returns the value of attribute pref

Returns:

  • (Object)

    the current value of pref



5
6
7
# File 'lib/droplet_kit/models/pagination_information.rb', line 5

def pref
  @pref
end