Class: Castle::Utils::GetTimestamp

Inherits:
Object
  • Object
show all
Defined in:
lib/castle/utils/get_timestamp.rb

Overview

Generates a timestamp

Class Method Summary collapse

Class Method Details

.callObject

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