Module: EntityCache::Controls::Entity
- Defined in:
- lib/entity_cache/controls/entity.rb
Defined Under Namespace
Classes: Example
Class Method Summary collapse
Class Method Details
.example ⇒ Object
4 5 6 |
# File 'lib/entity_cache/controls/entity.rb', line 4 def self.example Example.new(id, some_attr, other_attr) end |
.id ⇒ Object
8 9 10 |
# File 'lib/entity_cache/controls/entity.rb', line 8 def self.id ID.example end |
.other_attr ⇒ Object
16 17 18 |
# File 'lib/entity_cache/controls/entity.rb', line 16 def self.other_attr 'other-value' end |
.some_attr ⇒ Object
12 13 14 |
# File 'lib/entity_cache/controls/entity.rb', line 12 def self.some_attr 'some-value' end |