Class: Serverkit::Actions::Validate
- Defined in:
- lib/serverkit/actions/validate.rb
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from Serverkit::Actions::Base
Instance Method Details
#call ⇒ Object
6 7 8 9 10 11 12 |
# File 'lib/serverkit/actions/validate.rb', line 6 def call if recipe.valid? puts "Success" else abort_with_errors end end |