Class: Rails::Surrender::QueryParamParser::Sort

Inherits:
Struct
  • Object
show all
Defined in:
lib/rails/surrender/helpers/query_param_parser.rb

Instance Attribute Summary collapse

Instance Attribute Details

#associationObject

Returns the value of attribute association

Returns:

  • (Object)

    the current value of association



21
22
23
# File 'lib/rails/surrender/helpers/query_param_parser.rb', line 21

def association
  @association
end

#attributeObject

Returns the value of attribute attribute

Returns:

  • (Object)

    the current value of attribute



21
22
23
# File 'lib/rails/surrender/helpers/query_param_parser.rb', line 21

def attribute
  @attribute
end

#directionObject

Returns the value of attribute direction

Returns:

  • (Object)

    the current value of direction



21
22
23
# File 'lib/rails/surrender/helpers/query_param_parser.rb', line 21

def direction
  @direction
end

#requestObject

Returns the value of attribute request

Returns:

  • (Object)

    the current value of request



21
22
23
# File 'lib/rails/surrender/helpers/query_param_parser.rb', line 21

def request
  @request
end

#scope_methodObject

Returns the value of attribute scope_method

Returns:

  • (Object)

    the current value of scope_method



21
22
23
# File 'lib/rails/surrender/helpers/query_param_parser.rb', line 21

def scope_method
  @scope_method
end