Class: Aws::Resources::RequestParams::ParamHash Private

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

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Instance Method Summary collapse

Constructor Details

#initialize(params) ⇒ ParamHash

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns a new instance of ParamHash.

Parameters:



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

def initialize(params)
  @params = params
end

Instance Method Details

#build(options = {}) ⇒ Hash

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Parameters:

  • options (Hash) (defaults to: {})

    a customizable set of options

Options Hash (options):

  • :resource (required, Resource)
  • :args (required, Array<Mixed>)

Returns:

  • (Hash)


16
17
18
# File 'lib/aws-sdk-resources/request_params.rb', line 16

def build(options = {})
  deep_merge(user_params(options), computed_params(options))
end