Class: Castle::Utils::GetTimestamp
- Inherits:
-
Object
- Object
- Castle::Utils::GetTimestamp
- Defined in:
- lib/castle/utils/get_timestamp.rb
Overview
Generates a timestamp
Class Method Summary collapse
-
.call ⇒ Object
Returns current time as ISO8601 formatted string.
Class Method Details
.call ⇒ Object
Returns current time as ISO8601 formatted string
9 10 11 |
# File 'lib/castle/utils/get_timestamp.rb', line 9 def call Time.now.utc.iso8601(3) end |