Class: Aws::Resources::RequestParams::Identifier

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

Instance Attribute Summary

Attributes included from Param

#target

Instance Method Summary collapse

Methods included from Param

#apply

Constructor Details

#initialize(options) ⇒ Identifier


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

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

Instance Method Details

#value(options) ⇒ Object


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

def value(options)
  options[:resource].send(@identifier_name)
end