Class: GoodGuide::Gibbon::RuntimeClient
- Inherits:
-
AbstractClient
- Object
- AbstractClient
- GoodGuide::Gibbon::RuntimeClient
- Defined in:
- lib/goodguide/gibbon.rb
Instance Method Summary collapse
Methods inherited from AbstractClient
Instance Method Details
#perform_query(id, annotations, v) ⇒ Object
160 161 162 163 |
# File 'lib/goodguide/gibbon.rb', line 160 def perform_query(id, annotations, v) query = get_query(annotations[:_query_type]) instance_exec(id, annotations, v, &query) end |
#to_js ⇒ Object
165 166 167 |
# File 'lib/goodguide/gibbon.rb', line 165 def to_js { :performQuery => proc_for(:perform_query) } end |