Class: Serverkit::Resources::Unknown

Inherits:
Base
  • Object
show all
Defined in:
lib/serverkit/resources/unknown.rb

Instance Attribute Summary

Attributes inherited from Base

#attributes, #backend, #check_result, #recheck_result, #recipe

Instance Method Summary collapse

Methods inherited from Base

abstract_class?, attribute, #check_command, #check_command_from_identifier, #get_command_from_identifier, #handlers, #id, #initialize, #notifiable?, #run_apply, #run_check, #successful?, #successful_on_check?, #successful_on_recheck?, #to_a

Constructor Details

This class inherits a constructor from Serverkit::Resources::Base

Instance Method Details

#all_errorsArray<Serverkit::Errors::UnknownResourceTypeError>



8
9
10
# File 'lib/serverkit/resources/unknown.rb', line 8

def all_errors
  [Errors::UnknownResourceTypeError.new(type)]
end