Class: Aws::DynamoDB::AttributeValue::Marshaler
- Inherits:
-
Object
- Object
- Aws::DynamoDB::AttributeValue::Marshaler
- 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_format ⇒ Object
42 |
# File 'lib/dymos.rb', line 42 alias :orig_format :format |