Module: Queryalize
- Defined in:
- lib/queryalize.rb,
lib/queryalize/version.rb,
lib/queryalize/serializable_query.rb
Defined Under Namespace
Classes: SerializableQuery
Constant Summary collapse
- VERSION =
"0.0.1"
Class Method Summary collapse
Class Method Details
.from_hash(hash) ⇒ Object
8 9 10 |
# File 'lib/queryalize.rb', line 8 def self.from_hash(hash) SerializableQuery.from_hash(hash) end |
.from_json(json) ⇒ Object
12 13 14 |
# File 'lib/queryalize.rb', line 12 def self.from_json(json) SerializableQuery.from_json(json) end |
.from_yaml(yaml) ⇒ Object
16 17 18 |
# File 'lib/queryalize.rb', line 16 def self.from_yaml(yaml) SerializableQuery.from_yaml(yaml) end |
.new(klass) ⇒ Object
4 5 6 |
# File 'lib/queryalize.rb', line 4 def self.new(klass) SerializableQuery.new(klass) end |