class Fog::Vsphere::Compute::SCSIController
Constants
- DEFAULT_KEY
- DEFAULT_TYPE
Public Class Methods
new(attributes = {})
click to toggle source
Calls superclass method
# File lib/fog/vsphere/models/compute/scsicontroller.rb, line 14 def initialize(attributes = {}) super self.key ||= DEFAULT_KEY self.type ||= DEFAULT_TYPE end
Public Instance Methods
to_s()
click to toggle source
# File lib/fog/vsphere/models/compute/scsicontroller.rb, line 20 def to_s "#{type} ##{key}: shared: #{shared_bus}, unit_number: #{unit_number}" end