Class: EntityCache::Controls::Entity::Example

Inherits:
Struct
  • Object
show all
Defined in:
lib/entity_cache/controls/entity.rb,
lib/entity_cache/controls/entity.rb

Defined Under Namespace

Modules: Transformer

Instance Attribute Summary collapse

Instance Attribute Details

#idObject

Returns the value of attribute id

Returns:

  • (Object)

    the current value of id



20
21
22
# File 'lib/entity_cache/controls/entity.rb', line 20

def id
  @id
end

#other_attrObject

Returns the value of attribute other_attr

Returns:

  • (Object)

    the current value of other_attr



20
21
22
# File 'lib/entity_cache/controls/entity.rb', line 20

def other_attr
  @other_attr
end

#some_attrObject

Returns the value of attribute some_attr

Returns:

  • (Object)

    the current value of some_attr



20
21
22
# File 'lib/entity_cache/controls/entity.rb', line 20

def some_attr
  @some_attr
end