Module: Representable::Uncached
- Included in:
- NoSE::Serialize::EntityFieldRepresenter, NoSE::Serialize::EntityRepresenter, NoSE::Serialize::FieldRepresenter, NoSE::Serialize::GraphRepresenter, NoSE::Serialize::IndexRepresenter, NoSE::Serialize::ModelRepresenter, NoSE::Serialize::PlanStepRepresenter, NoSE::Serialize::QueryPlanRepresenter, NoSE::Serialize::SearchResultRepresenter, NoSE::Serialize::StatementRepresenter, NoSE::Serialize::UpdatePlanRepresenter, NoSE::Serialize::WorkloadRepresenter
- Defined in:
- lib/nose/serialize.rb
Overview
Break caching used by representable to allow multiple representers
Instance Method Summary collapse
-
#representable_map(options, format) ⇒ Object
Create a simple binding which does not use caching.
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(, format) Representable::Binding::Map.new( representable_bindings_for(format, ) ) end |