class Fog::Compute::Vsphere::SCSIController

Public Class Methods

new(attributes = {}) click to toggle source
Calls superclass method
# File lib/fog/vsphere/models/compute/scsicontroller.rb, line 11
def initialize(attributes = {})
  super
  self.key ||= 1000
end

Public Instance Methods

to_s() click to toggle source
# File lib/fog/vsphere/models/compute/scsicontroller.rb, line 16
def to_s
  "#{type} ##{key}: shared: #{shared_bus}, unit_number: #{unit_number}"
end