Class: TypesFromSerializers::SerializerMetadata

Inherits:
Struct
  • Object
show all
Defined in:
lib/types_from_serializers/generator.rb

Overview

Internal: The type metadata for a serializer.

Instance Attribute Summary collapse

Instance Attribute Details

#associationsObject

Returns the value of attribute associations

Returns:

  • (Object)

    the current value of associations



25
26
27
# File 'lib/types_from_serializers/generator.rb', line 25

def associations
  @associations
end

#attributesObject

Returns the value of attribute attributes

Returns:

  • (Object)

    the current value of attributes



25
26
27
# File 'lib/types_from_serializers/generator.rb', line 25

def attributes
  @attributes
end

#model_nameObject

Returns the value of attribute model_name

Returns:

  • (Object)

    the current value of model_name



25
26
27
# File 'lib/types_from_serializers/generator.rb', line 25

def model_name
  @model_name
end

#types_fromObject

Returns the value of attribute types_from

Returns:

  • (Object)

    the current value of types_from



25
26
27
# File 'lib/types_from_serializers/generator.rb', line 25

def types_from
  @types_from
end