diff --git a/lib/fog/ibm/models/compute/server.rb b/lib/fog/ibm/models/compute/server.rb index 49b2b3876..cca048920 100644 --- a/lib/fog/ibm/models/compute/server.rb +++ b/lib/fog/ibm/models/compute/server.rb @@ -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