module Representable::Cached

Using this module only makes sense with Decorator representers.

Public Class Methods

included(includer) click to toggle source
# File lib/representable/cached.rb, line 14
def self.included(includer)
  includer.extend(BuildDefinition)
end

Public Instance Methods

representable_map(*) click to toggle source
# File lib/representable/cached.rb, line 18
def representable_map(*)
  self.class.map
end