Class: GraphWeaver::InputStruct::Field
- Inherits:
-
Struct
- Object
- Struct
- GraphWeaver::InputStruct::Field
- Defined in:
- lib/graph_weaver/input_struct.rb
Overview
serializer/coercer are code-as-data from the generated file; nil means identity (the wire value passes through untouched)
Instance Attribute Summary collapse
-
#coercer ⇒ Object
Returns the value of attribute coercer.
-
#prop ⇒ Object
Returns the value of attribute prop.
-
#required ⇒ Object
Returns the value of attribute required.
-
#serializer ⇒ Object
Returns the value of attribute serializer.
-
#wire ⇒ Object
Returns the value of attribute wire.
Instance Attribute Details
#coercer ⇒ Object
Returns the value of attribute coercer
21 22 23 |
# File 'lib/graph_weaver/input_struct.rb', line 21 def coercer @coercer end |
#prop ⇒ Object
Returns the value of attribute prop
21 22 23 |
# File 'lib/graph_weaver/input_struct.rb', line 21 def prop @prop end |
#required ⇒ Object
Returns the value of attribute required
21 22 23 |
# File 'lib/graph_weaver/input_struct.rb', line 21 def required @required end |
#serializer ⇒ Object
Returns the value of attribute serializer
21 22 23 |
# File 'lib/graph_weaver/input_struct.rb', line 21 def serializer @serializer end |
#wire ⇒ Object
Returns the value of attribute wire
21 22 23 |
# File 'lib/graph_weaver/input_struct.rb', line 21 def wire @wire end |