Class: Aws::DynamoDB::AttributeValue::Marshaler

Inherits:
Object
  • Object
show all
Defined in:
lib/dymos.rb

Instance Method Summary collapse

Instance Method Details

#format(obj) ⇒ Object



43
44
45
46
47
48
49
# File 'lib/dymos.rb', line 43

def format(obj)
  case obj
    when Time then { s: obj.iso8601 }
    else
      orig_format obj
  end
end

#orig_formatObject



42
# File 'lib/dymos.rb', line 42

alias :orig_format :format