1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

[ibm] launched_at convenience method

This commit is contained in:
Decklin Foster 2012-03-01 12:54:04 -05:00
parent f822d67dc7
commit fa9c06d714

View file

@ -132,6 +132,10 @@ module Fog
data.body
end
def launched_at
Time.at(attributes[:launched_at].to_f / 1000)
end
def expires_at
Time.at(attributes[:expires_at].to_f / 1000)
end