Sha256: 28d682087ec4210d048a2c000d83cdbd7e2a5af813e5d63e3748f43184d0a2a6
Contents?: true
Size: 589 Bytes
Versions: 16
Compression:
Stored size: 589 Bytes
Contents
module Fog module Parsers module AWS module EC2 class GetConsoleOutput < Fog::Parsers::Base def reset @response = {} end def end_element(name) case name when 'instanceId', 'requestId' @response[name] = @value when 'output' if @value @response[name] = Base64.decode64(@value) end when 'timestamp' @response[name] = Time.parse(@value) end end end end end end end
Version data entries
16 entries across 16 versions & 1 rubygems