Sha256: 30758bc18d6cc6447a6651d1b0a9a3462793e8b899a5b1de215ee69c9eac4b22
Contents?: true
Size: 513 Bytes
Versions: 50
Compression:
Stored size: 513 Bytes
Contents
module Fog module Parsers module AWS module Compute class CreateVolume < Fog::Parsers::Base def end_element(name) case name when 'availabilityZone', 'requestId', 'snapshotId', 'status', 'volumeId' @response[name] = @value when 'createTime' @response[name] = Time.parse(@value) when 'size' @response[name] = @value.to_i end end end end end end end
Version data entries
50 entries across 50 versions & 3 rubygems