Class: EnvironmentSerializer::Item

Inherits:
Struct
  • Object
show all
Defined in:
app/serializers/environment_serializer.rb

Instance Attribute Summary collapse

Instance Attribute Details

#latestObject

Returns the value of attribute latest

Returns:

  • (Object)

    the current value of latest


6
7
8
# File 'app/serializers/environment_serializer.rb', line 6

def latest
  @latest
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name


6
7
8
# File 'app/serializers/environment_serializer.rb', line 6

def name
  @name
end

#sizeObject

Returns the value of attribute size

Returns:

  • (Object)

    the current value of size


6
7
8
# File 'app/serializers/environment_serializer.rb', line 6

def size
  @size
end