Class: Serverkit::Resources::Nothing

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

Overview

A class to do nothing for debugging.

Instance Attribute Summary

Attributes inherited from Base

#attributes, #backend, #recipe

Instance Method Summary collapse

Methods inherited from Base

#all_errors, attribute, #handlers, #id, #initialize, #inspect_apply_result, #inspect_check_result, #notifiable?, #run_apply, #run_check, #to_a

Constructor Details

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

Instance Method Details

#applyObject

Note:

Override



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

def apply
end

#checkObject

Note:

Override for #apply to be always called



12
13
14
# File 'lib/serverkit/resources/nothing.rb', line 12

def check
  false
end