class Fog::Vsphere::Compute::NVMEController

Constants

DEFAULT_KEY
DEFAULT_TYPE

Public Class Methods

new(attributes = {}) click to toggle source
Calls superclass method
# File lib/fog/vsphere/models/compute/nvmecontroller.rb, line 12
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/nvmecontroller.rb, line 18
def to_s
  "#{type} ##{key}:, unit_number: #{unit_number}"
end