class Representable::Populator::Collection

A separated collection deserializer/populator allows us better dealing with populating/modifying collections of models. (e.g. replace, update, push, etc.). That also gives us a place to apply options like :parse_filter, etc. per item.

Private Instance Methods

deserialize(fragment) click to toggle source
# File lib/representable/populator.rb, line 48
def deserialize(fragment)
  return deserializer.call(fragment)
end