Class: Inspec::Resources::HostProvider

Inherits:
Object
  • Object
show all
Defined in:
lib/resources/host.rb

Direct Known Subclasses

UnixHostProvider, WindowsHostProvider

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(inspec) ⇒ HostProvider

Returns a new instance of HostProvider.



136
137
138
# File 'lib/resources/host.rb', line 136

def initialize(inspec)
  @inspec = inspec
end

Instance Attribute Details

#inspecObject (readonly)

Returns the value of attribute inspec.



135
136
137
# File 'lib/resources/host.rb', line 135

def inspec
  @inspec
end

Instance Method Details

#missing_requirements(_protocol) ⇒ Object



140
141
142
143
144
# File 'lib/resources/host.rb', line 140

def missing_requirements(_protocol)
  # each provider can return an array of missing requirements that can
  # be enumerated in a skip_resource message
  []
end