Class: Dynamoid::Undumping::CustomTypeUndumper
- Defined in:
- lib/dynamoid/undumping.rb
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from Dynamoid::Undumping::Base
Instance Method Details
#process(value) ⇒ Object
274 275 276 277 278 279 280 281 282 |
# File 'lib/dynamoid/undumping.rb', line 274 def process(value) field_class = @options[:type] unless field_class.respond_to?(:dynamoid_load) raise ArgumentError, "#{field_class} does not support serialization for Dynamoid." end field_class.dynamoid_load(value) end |