Class: ApiSchema::SerializerDefinition::PriorReference

Inherits:
Struct
  • Object
show all
Defined in:
lib/api_schema/serializer_definition.rb

Instance Attribute Summary collapse

Instance Attribute Details

#desc ⇒ Object

Returns the value of attribute desc

Returns:

  • (Object) —

    the current value of desc



5
6
7
# File 'lib/api_schema/serializer_definition.rb', line 5

def desc
  @desc
end

#id ⇒ Object

Returns the value of attribute id

Returns:

  • (Object) —

    the current value of id



5
6
7
# File 'lib/api_schema/serializer_definition.rb', line 5

def id
  @id
end

#type ⇒ Object

Returns the value of attribute type

Returns:

  • (Object) —

    the current value of type



5
6
7
# File 'lib/api_schema/serializer_definition.rb', line 5

def type
  @type
end