Class: Dynamoid::Undumping::SerializedUndumper

Inherits:
Base
  • Object
show all
Defined in:
lib/dynamoid/undumping.rb

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from Dynamoid::Undumping::Base

Instance Method Details

#process(value) ⇒ Object



239
240
241
242
243
244
245
# File 'lib/dynamoid/undumping.rb', line 239

def process(value)
  if @options[:serializer]
    @options[:serializer].load(value)
  else
    YAML.load(value)
  end
end