Class: RequestHandler::SortOption

Inherits:
Struct
  • Object
show all
Defined in:
lib/request_handler/sort_option.rb

Instance Attribute Summary collapse

Instance Attribute Details

#directionObject

Returns the value of attribute direction

Returns:

  • (Object)

    the current value of direction



4
5
6
# File 'lib/request_handler/sort_option.rb', line 4

def direction
  @direction
end

#fieldObject

Returns the value of attribute field

Returns:

  • (Object)

    the current value of field



4
5
6
# File 'lib/request_handler/sort_option.rb', line 4

def field
  @field
end