Module: Representable::CreateObject
- Defined in:
- lib/representable/deserializer.rb
Constant Summary collapse
- Instance =
->(input, ) { [:binding].evaluate_option(:instance, input, )|| raise( DeserializeError.new(":instance did not return class constant for `#{[:binding].name}`.")) }
- Class =
->(input, ) do object_class = [:binding].evaluate_option(:class, input, ) || raise( DeserializeError.new(":class did not return class constant for `#{[:binding].name}`.")) object_class.new end
- Populator =
FIXME: no additional args passed here, yet.
->(*) { raise "Populator: implement me!" }