class TempoIQ::Search
Attributes
select[R]
selection[R]
Public Class Methods
new(select, selection)
click to toggle source
# File lib/tempoiq/models/search.rb, line 5 def initialize(select, selection) @select = select @selection = selection end
Public Instance Methods
to_hash()
click to toggle source
# File lib/tempoiq/models/search.rb, line 10 def to_hash { "select" => select, "filters" => selection.to_hash } end