A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://docs.aws.amazon.com/sdkforruby/api/Aws/Resources/Request.html below:

Request — AWS SDK for Ruby V2

You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::Resources::Request
Inherits:
Object show all
Defined in:
aws-sdk-resources/lib/aws-sdk-resources/request.rb
Instance Attribute Summary collapse Instance Method Summary collapse Constructor Details #initialize(options = {}) ⇒ Request

Returns a new instance of Request.

8
9
10
11
# File 'aws-sdk-resources/lib/aws-sdk-resources/request.rb', line 8

def initialize(options = {})
  @method_name = options[:method_name]
  @params = options[:params] || []
end
Instance Attribute Details #method_name ⇒ String

Returns Name of the method called on the client when this operation is called.

15
16
17
# File 'aws-sdk-resources/lib/aws-sdk-resources/request.rb', line 15

def method_name
  @method_name
end
#params ⇒ Array<RequestParams::Param>
18
19
20
# File 'aws-sdk-resources/lib/aws-sdk-resources/request.rb', line 18

def params
  @params
end
Instance Method Details #call(options) ⇒ Seahorse::Client::Response
23
24
25
# File 'aws-sdk-resources/lib/aws-sdk-resources/request.rb', line 23

def call(options)
  client(options).send(@method_name, req_params(options), &options[:block])
end

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4