Class: Seri::Serializer::Attribute

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

Instance Attribute Summary collapse

Instance Attribute Details

#conditionObject

Returns the value of attribute condition

Returns:

  • (Object)

    the current value of condition



8
9
10
# File 'lib/serializer.rb', line 8

def condition
  @condition
end

#fromObject

Returns the value of attribute from

Returns:

  • (Object)

    the current value of from



8
9
10
# File 'lib/serializer.rb', line 8

def from
  @from
end

#keyObject

Returns the value of attribute key

Returns:

  • (Object)

    the current value of key



8
9
10
# File 'lib/serializer.rb', line 8

def key
  @key
end

#optionsObject

Returns the value of attribute options

Returns:

  • (Object)

    the current value of options



8
9
10
# File 'lib/serializer.rb', line 8

def options
  @options
end

#serializerObject

Returns the value of attribute serializer

Returns:

  • (Object)

    the current value of serializer



8
9
10
# File 'lib/serializer.rb', line 8

def serializer
  @serializer
end