Class: Terraframe::AWS::AWSResource
- Inherits:
-
Resource
- Object
- ScriptItem
- Resource
- Terraframe::AWS::AWSResource
- Defined in:
- lib/terraframe/aws/aws_resources.rb
Direct Known Subclasses
Instance Attribute Summary
Attributes inherited from Resource
Attributes inherited from ScriptItem
Instance Method Summary collapse
-
#method_missing(method_name, *args, &block) ⇒ Object
DSL FUNCTIONS BELOW.
Methods inherited from Resource
#cleanup_provisioner_type, #connection, #initialize, #provisioner
Methods inherited from ScriptItem
#id_of, #initialize, #output_of, #to_json
Constructor Details
This class inherits a constructor from Terraframe::Resource
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(method_name, *args, &block) ⇒ Object
DSL FUNCTIONS BELOW
9 10 11 12 13 14 |
# File 'lib/terraframe/aws/aws_resources.rb', line 9 def method_missing(method_name, *args, &block) if method_name == "tags" raise "This resource does not support tags." end super(method_name, *args, &block) end |