Class: TypesFromSerializers::SerializerMetadata
- Inherits:
-
Struct
- Object
- Struct
- TypesFromSerializers::SerializerMetadata
- Defined in:
- lib/types_from_serializers/generator.rb
Overview
Internal: The type metadata for a serializer.
Instance Attribute Summary collapse
-
#associations ⇒ Object
Returns the value of attribute associations.
-
#attributes ⇒ Object
Returns the value of attribute attributes.
-
#model_name ⇒ Object
Returns the value of attribute model_name.
-
#types_from ⇒ Object
Returns the value of attribute types_from.
Instance Attribute Details
#associations ⇒ Object
Returns the value of attribute associations
25 26 27 |
# File 'lib/types_from_serializers/generator.rb', line 25 def associations @associations end |
#attributes ⇒ Object
Returns the value of attribute attributes
25 26 27 |
# File 'lib/types_from_serializers/generator.rb', line 25 def attributes @attributes end |
#model_name ⇒ Object
Returns the value of attribute model_name
25 26 27 |
# File 'lib/types_from_serializers/generator.rb', line 25 def model_name @model_name end |
#types_from ⇒ Object
Returns the value of attribute types_from
25 26 27 |
# File 'lib/types_from_serializers/generator.rb', line 25 def types_from @types_from end |