Class: Serverkit::Resources::Recipe
- Defined in:
- lib/serverkit/resources/recipe.rb
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
Constructor Details
This class inherits a constructor from Serverkit::Resources::Base
Instance Method Details
#to_a ⇒ Object
Note:
Override
9 10 11 12 13 14 15 |
# File 'lib/serverkit/resources/recipe.rb', line 9 def to_a if valid? loaded_recipe.resources else self end end |