class ChinoRuby::SortOption
Attributes
field[RW]
order[RW]
Public Class Methods
new(field, order)
click to toggle source
# File lib/chino_ruby/classes.rb, line 1321 def initialize(field, order) check_string(field) check_string(order) self.field = field self.order = order end
Public Instance Methods
to_json()
click to toggle source
# File lib/chino_ruby/classes.rb, line 1328 def to_json {"field": field, "order": order}.to_json end