Module: Rails::GraphQL::Helpers::Instantiable
- Included in:
- Alternative::FieldSet, Alternative::Query, Schema, Source, Type::Interface, Type::Object, Type::Union
- Defined in:
- lib/rails/graphql/helpers/instantiable.rb
Overview
This marks an object as instantiable during a requesting, which means it will be associated with an event and most of it’s information comes from the running event.
Instance Attribute Summary collapse
-
#event ⇒ Object
readonly
Returns the value of attribute event.
Instance Attribute Details
#event ⇒ Object (readonly)
Returns the value of attribute event.
11 12 13 |
# File 'lib/rails/graphql/helpers/instantiable.rb', line 11 def event @event end |