Module: Representable::Uncached

Overview

Break caching used by representable to allow multiple representers

Instance Method Summary collapse

Instance Method Details

#representable_map(options, format) ⇒ Object

Create a simple binding which does not use caching



14
15
16
17
18
# File 'lib/nose/serialize.rb', line 14

def representable_map(options, format)
  Representable::Binding::Map.new(
    representable_bindings_for(format, options)
  )
end