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



7
8
9
# File 'lib/droplet_kit/models/pagination_information.rb', line 7

def first
  @first
end

#lastObject

Returns the value of attribute last

Returns:

  • (Object)

    the current value of last



7
8
9
# File 'lib/droplet_kit/models/pagination_information.rb', line 7

def last
  @last
end

#nextObject

Returns the value of attribute next

Returns:

  • (Object)

    the current value of next



7
8
9
# File 'lib/droplet_kit/models/pagination_information.rb', line 7

def next
  @next
end

#prefObject

Returns the value of attribute pref

Returns:

  • (Object)

    the current value of pref



7
8
9
# File 'lib/droplet_kit/models/pagination_information.rb', line 7

def pref
  @pref
end