Class: ClarkKent::ReportSort
- Inherits:
-
Object
- Object
- ClarkKent::ReportSort
- Defined in:
- app/models/clark_kent/report.rb
Instance Attribute Summary collapse
-
#order_column ⇒ Object
Returns the value of attribute order_column.
-
#order_direction ⇒ Object
Returns the value of attribute order_direction.
Instance Method Summary collapse
-
#initialize(params = {}) ⇒ ReportSort
constructor
A new instance of ReportSort.
Constructor Details
#initialize(params = {}) ⇒ ReportSort
Returns a new instance of ReportSort.
340 341 342 |
# File 'app/models/clark_kent/report.rb', line 340 def initialize params = {} params.each { |key, value| send "#{key}=", value } end |
Instance Attribute Details
#order_column ⇒ Object
Returns the value of attribute order_column.
338 339 340 |
# File 'app/models/clark_kent/report.rb', line 338 def order_column @order_column end |
#order_direction ⇒ Object
Returns the value of attribute order_direction.
338 339 340 |
# File 'app/models/clark_kent/report.rb', line 338 def order_direction @order_direction end |