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

Class: Aws::Resources::RequestParams::Literal

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) ⇒ Literal

Returns a new instance of Literal.



128
129
130
131
# File 'aws-sdk-resources/lib/aws-sdk-resources/request_params.rb', line 128

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

Instance Method Details

#value(*args) ⇒ Object



133
134
135
# File 'aws-sdk-resources/lib/aws-sdk-resources/request_params.rb', line 133

def value(*args)
  @value
end