module Representable::Uncached

Break caching used by representable to allow multiple representers

Public Instance Methods

representable_map(options, format) click to toggle source

Create a simple binding which does not use caching

# File lib/nose/serialize.rb, line 14
def representable_map(options, format)
  Representable::Binding::Map.new(
    representable_bindings_for(format, options)
  )
end