Module: Representable::Cached

Included in:
Decorator
Defined in:
lib/representable/cached.rb

Overview

Using this module only makes sense with Decorator representers.

Defined Under Namespace

Modules: BuildDefinition

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.included(includer) ⇒ Object



14
15
16
# File 'lib/representable/cached.rb', line 14

def self.included(includer)
  includer.extend(BuildDefinition)
end

Instance Method Details

#representable_mapObject



18
19
20
# File 'lib/representable/cached.rb', line 18

def representable_map(*)
  self.class.map
end