libraries/resource_provider.rb
def delete(method = :delete)
      return false unless @item.retrieve!
      @context.converge_by "#{method.to_s.capitalize} #{@resource_name} '#{@name}'" do
        @item.send(method)
      end
      true
    end
# Delete the OneView resource if it exists
# @param [Symbol] method Delete or remove method
# @return [TrueClass, FalseClass] Returns true if the resource was deleted/removed
Delete the OneView resource if it exists
Delete the OneView resource if it exists
def delete(method = :delete)
      return false unless @item.retrieve!
      @context.converge_by "#{method.to_s.capitalize} #{@resource_name} '#{@name}'" do
        @item.send(method)
      end
      true
    end
def delete ( method = :delete ) return false unless @item . retrieve! @context . converge_by "#{method.to_s.capitalize} #{@resource_name} '#{@name}'" do @item . send ( method ) end true end
Delete the OneView resource if it exists
Delete the OneView resource if it exists
Returns true if the resource was deleted/removed
Returns true if the resource was deleted / removed
TrueClass, FalseClass
method
method Delete or remove method
method Delete or remove method