Class: Fog::Vsphere::Compute::SCSIController

Inherits:
Model
  • Object
show all
Defined in:
lib/fog/vsphere/models/compute/scsicontroller.rb

Instance Method Summary collapse

Constructor Details

#initialize(attributes = {}) ⇒ SCSIController

Returns a new instance of SCSIController.



11
12
13
14
# File 'lib/fog/vsphere/models/compute/scsicontroller.rb', line 11

def initialize(attributes = {})
  super
  self.key ||= 1000
end

Instance Method Details

#to_sObject



16
17
18
# File 'lib/fog/vsphere/models/compute/scsicontroller.rb', line 16

def to_s
  "#{type} ##{key}: shared: #{shared_bus}, unit_number: #{unit_number}"
end