Class: Stardust::GraphQL::Configuration
- Inherits:
-
Object
- Object
- Stardust::GraphQL::Configuration
- Defined in:
- lib/stardust/graphql/configuration.rb
Instance Method Summary collapse
Instance Method Details
#around_execute(&block) ⇒ Object
13 14 15 16 17 18 19 |
# File 'lib/stardust/graphql/configuration.rb', line 13 def around_execute(&block) if block_given? @around_execute = block else @around_execute end end |
#setup_context(&block) ⇒ Object
5 6 7 8 9 10 11 |
# File 'lib/stardust/graphql/configuration.rb', line 5 def setup_context(&block) if block_given? @setup_context = block else @setup_context end end |