Class: Aws::Plugins::DynamoDBSimpleAttributes::ValueTranslator Private
- Inherits:
-
Object
- Object
- Aws::Plugins::DynamoDBSimpleAttributes::ValueTranslator
- Defined in:
- lib/aws-sdk-core/plugins/dynamodb_simple_attributes.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
- #apply(values) ⇒ Object private
-
#initialize(shape, mode) ⇒ ValueTranslator
constructor
private
A new instance of ValueTranslator.
Constructor Details
#initialize(shape, mode) ⇒ ValueTranslator
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 ValueTranslator.
142 143 144 145 |
# File 'lib/aws-sdk-core/plugins/dynamodb_simple_attributes.rb', line 142 def initialize(shape, mode) @shape = shape @mode = mode end |
Instance Method Details
#apply(values) ⇒ Object
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.
147 148 149 |
# File 'lib/aws-sdk-core/plugins/dynamodb_simple_attributes.rb', line 147 def apply(values) structure(@shape, values) if @shape end |