Class: Aws::Resources::Operations::ResourceOperation

Inherits:
Operation
  • Object
show all
Defined in:
aws-sdk-resources/lib/aws-sdk-resources/operations.rb

Direct Known Subclasses

HasManyOperation

Instance Attribute Summary collapse

Attributes inherited from Operation

#request

Attributes inherited from Base

#source

Instance Method Summary collapse

Constructor Details

#initialize(options = {}) ⇒ ResourceOperation

Returns a new instance of ResourceOperation

Options Hash (options):


76
77
78
79
# File 'aws-sdk-resources/lib/aws-sdk-resources/operations.rb', line 76

def initialize(options = {})
  @builder = option(:builder, options)
  super
end

Instance Attribute Details

#builderBuilder (readonly)


82
83
84
# File 'aws-sdk-resources/lib/aws-sdk-resources/operations.rb', line 82

def builder
  @builder
end

Instance Method Details

#call(options) ⇒ Resource+


86
87
88
# File 'aws-sdk-resources/lib/aws-sdk-resources/operations.rb', line 86

def call(options)
  @builder.build(options.merge(response:super))
end