Sha256: 03c1aea8b20f09aa6f28523a466e57603e71a06522b586b813e7073d398cbc59
Contents?: true
Size: 510 Bytes
Versions: 35
Compression:
Stored size: 510 Bytes
Contents
module Fog module Parsers module Compute module AWS 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
35 entries across 35 versions & 9 rubygems