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



220
221
222
# File 'lib/dynamoid/dumping.rb', line 220

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