Class: Dynamoid::Dumping::DateTimeDumper

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

Overview

datetime -> integer/string

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

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

Instance Method Details

#process(value) ⇒ Object



212
213
214
# File 'lib/dynamoid/dumping.rb', line 212

def process(value)
  value.nil? ? nil : format_datetime(value, @options)
end