Class: Aws::Resources::Operations::Base
- Inherits:
-
Object
- Object
- Aws::Resources::Operations::Base
- Includes:
- Aws::Resources::Options
- Defined in:
- lib/aws-sdk-resources/operations.rb
Overview
Base class for operations. An operation is any object that responds to ‘#call` receiving a hash of options including:
-
‘:resource` - The resource object the operation is invoked against.
-
‘:args` - An array of arguments given by the caller
-
‘:block` - An optional block argument
Direct Known Subclasses
Instance Attribute Summary collapse
- #source ⇒ Source? readonly
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(options = {}) ⇒ Base
Returns a new instance of Base.
16 17 18 |
# File 'lib/aws-sdk-resources/operations.rb', line 16 def initialize( = {}) @source = [:source] end |
Instance Attribute Details
#source ⇒ Source? (readonly)
21 22 23 |
# File 'lib/aws-sdk-resources/operations.rb', line 21 def source @source end |