Class: Aws::Resources::Operations::HasManyOperation

Inherits:
ResourceOperation show all
Defined in:
aws-sdk-resources/lib/aws-sdk-resources/operations.rb

Instance Attribute Summary collapse

Attributes inherited from Operation

#request

Attributes inherited from Base

#source

Instance Method Summary collapse

Constructor Details

#initialize(options) ⇒ HasManyOperation

Returns a new instance of HasManyOperation

Options Hash (options):

  • :request (required, Request)
  • :builder (required, Builder)
  • :limit_key (Symbol)

97
98
99
100
# File 'aws-sdk-resources/lib/aws-sdk-resources/operations.rb', line 97

def initialize(options)
  @limit_key = options[:limit_key]
  super
end

Instance Attribute Details

#builderBuilder (readonly)


103
104
105
# File 'aws-sdk-resources/lib/aws-sdk-resources/operations.rb', line 103

def builder
  @builder
end

#limit_keySymbol? (readonly)


106
107
108
# File 'aws-sdk-resources/lib/aws-sdk-resources/operations.rb', line 106

def limit_key
  @limit_key
end

Instance Method Details

#call(options) ⇒ Collection


110
111
112
# File 'aws-sdk-resources/lib/aws-sdk-resources/operations.rb', line 110

def call(options)
  Collection.new(self, options)
end