Module: GQLi::DSL
- Included in:
- Introspection
- Defined in:
- lib/gqli/dsl.rb
Overview
GraphQL-like DSL methods
Class Method Summary collapse
-
.fragment(name, on, &block) ⇒ Object
Creates a Fragment object.
-
.query(name = nil, &block) ⇒ Object
Creates a Query object.
Instance Method Summary collapse
-
#fragment(name, on, &block) ⇒ Object
Creates a Fragment object.
-
#query(name = nil, &block) ⇒ Object
Creates a Query object.