Class: Aws::DynamoDB::AttributeValue Private

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



12
13
14
15
# File 'lib/aws-sdk-dynamodb/attribute_value.rb', line 12

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.



17
18
19
# File 'lib/aws-sdk-dynamodb/attribute_value.rb', line 17

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.



21
22
23
# File 'lib/aws-sdk-dynamodb/attribute_value.rb', line 21

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