Class: ObjectToGraphQL::Nodes::Field
- Inherits:
-
GraphQL::Language::Nodes::Field
- Object
- GraphQL::Language::Nodes::Field
- ObjectToGraphQL::Nodes::Field
- Defined in:
- lib/object_to_graphql/nodes.rb
Instance Attribute Summary collapse
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Instance Method Summary collapse
Instance Attribute Details
#value ⇒ Object (readonly)
Returns the value of attribute value.
8 9 10 |
# File 'lib/object_to_graphql/nodes.rb', line 8 def value @value end |
Instance Method Details
#initialize_node(attributes) ⇒ Object
10 11 12 13 |
# File 'lib/object_to_graphql/nodes.rb', line 10 def initialize_node(attributes) super @value = attributes[:value] end |