You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::Resources::Operations::Base
- Inherits:
-
Object
- Object
- Aws::Resources::Operations::Base
- Includes:
- Aws::Resources::Options
- Defined in:
- aws-sdk-resources/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 'aws-sdk-resources/lib/aws-sdk-resources/operations.rb', line 16 def initialize( = {}) @source = [:source] end |
Instance Attribute Details
#source ⇒ Source? (readonly)
21 22 23 |
# File 'aws-sdk-resources/lib/aws-sdk-resources/operations.rb', line 21 def source @source end |