Class: Fog::Vsphere::Compute::SCSIController
- Inherits:
-
Model
- Object
- Model
- Fog::Vsphere::Compute::SCSIController
- Defined in:
- lib/fog/vsphere/models/compute/scsicontroller.rb
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ SCSIController
constructor
A new instance of SCSIController.
- #to_s ⇒ Object
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_s ⇒ Object
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 |