Class: Graphiti::FilterOperators
- Defined in:
- lib/graphiti/filter_operators.rb
Defined Under Namespace
Classes: Catchall
Class Method Summary collapse
Class Method Details
.build(resource, type_name, opts = {}, &blk) ⇒ Object
35 36 37 38 39 |
# File 'lib/graphiti/filter_operators.rb', line 35 def self.build(resource, type_name, opts = {}, &blk) c = Catchall.new(resource, type_name, opts) c.instance_eval(&blk) if blk c.to_hash end |