Sha256: c911442801e9d9bd12921b72aa353cdd362052e95aeb3ee8f90e5dc32030826a
Contents?: true
Size: 503 Bytes
Versions: 44
Compression:
Stored size: 503 Bytes
Contents
require 'fog/core/collection' module Fog module Compute class OpenStack class VolumeAttachments < Fog::Collection model Fog::Compute::OpenStack::VolumeAttachment def get(server_id) if server_id puts service.list_volume_attachments(server_id).body load(service.list_volume_attachments(server_id).body['volumeAttachments']) end rescue Fog::Compute::OpenStack::NotFound nil end end end end end
Version data entries
44 entries across 42 versions & 3 rubygems