Class: Aws::DynamoDB::AttributeValue Private

Inherits:
Object
  • Object
show all
Defined in:
lib/aws-sdk-core/dynamodb/attribute_value.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.

Defined Under Namespace

Classes: Marshaler, Unmarshaler

Instance Method Summary collapse

Constructor Details

#initializeAttributeValue

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 AttributeValue.



10
11
12
13
# File 'lib/aws-sdk-core/dynamodb/attribute_value.rb', line 10

def initialize
  @marshaler = Marshaler.new
  @unmarshaler = Unmarshaler.new
end

Instance Method Details

#marshal(value) ⇒ 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.



15
16
17
# File 'lib/aws-sdk-core/dynamodb/attribute_value.rb', line 15

def marshal(value)
  @marshaler.format(value)
end

#unmarshal(value) ⇒ 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.



19
20
21
# File 'lib/aws-sdk-core/dynamodb/attribute_value.rb', line 19

def unmarshal(value)
  @unmarshaler.format(value)
end