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
22 23 24 |
# File 'lib/graph_weaver/input_struct.rb', line 22 def coercer @coercer end |
#prop ⇒ Object
Returns the value of attribute prop
22 23 24 |
# File 'lib/graph_weaver/input_struct.rb', line 22 def prop @prop end |
#required ⇒ Object
Returns the value of attribute required
22 23 24 |
# File 'lib/graph_weaver/input_struct.rb', line 22 def required @required end |
#serializer ⇒ Object
Returns the value of attribute serializer
22 23 24 |
# File 'lib/graph_weaver/input_struct.rb', line 22 def serializer @serializer end |
#wire ⇒ Object
Returns the value of attribute wire
22 23 24 |
# File 'lib/graph_weaver/input_struct.rb', line 22 def wire @wire end |