Class: AWS::Flow::Templates::TemplateBase
- Inherits:
-
Object
- Object
- AWS::Flow::Templates::TemplateBase
- Defined in:
- lib/aws/templates/base.rb
Overview
A Template is a precanned workflow definition that can be combined with other templates to construct a workflow body. TemplateBase is a class that must be inherited by all templates. It provides the ‘abstract’ method #run that needs to be implemented by subclasses.
Direct Known Subclasses
Instance Method Summary collapse
-
#run(input, context) ⇒ Object
This method needs to be implemented by the sub classes.
Instance Method Details
#run(input, context) ⇒ Object
This method needs to be implemented by the sub classes.
18 19 20 |
# File 'lib/aws/templates/base.rb', line 18 def run(input, context) raise NotImplementedError, "Please implement the #run method of your template." end |