Module: Homeflow::API::Queryable::ClassMethods
- Defined in:
- lib/homeflow/api/queryable.rb
Instance Method Summary collapse
Instance Method Details
#execute(query) ⇒ Object
20 21 22 |
# File 'lib/homeflow/api/queryable.rb', line 20 def execute(query) Request.run_for(query) end |
#fields(*args) ⇒ Object
16 17 18 |
# File 'lib/homeflow/api/queryable.rb', line 16 def fields(*args) Homeflow::API::Query.new(self, :fields => args) end |
#where(query_hash) ⇒ Object
12 13 14 |
# File 'lib/homeflow/api/queryable.rb', line 12 def where(query_hash) Homeflow::API::Query.new(self, :query => query_hash) end |