Methods

Class/Module Index [+]

Quicksearch

Fog::Parsers::Compute::AWS::CreateVolume

Public Instance Methods

end_element(name) click to toggle source
# File lib/fog/aws/parsers/compute/create_volume.rb, line 8
def end_element(name)
  case name
  when 'availabilityZone', 'requestId', 'snapshotId', 'status', 'volumeId', 'volumeType'
    @response[name] = value
  when 'createTime'
    @response[name] = Time.parse(value)
  when 'size', 'iops'
    @response[name] = value.to_i
  end
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.