Class: Dynamoid::Dumping::SetDumper

Inherits:
Base
  • Object
show all
Defined in:
lib/dynamoid/dumping.rb

Overview

set -> set

Constant Summary collapse

ALLOWED_TYPES =
%i[string integer number date datetime serialized].freeze

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from Dynamoid::Dumping::Base

Instance Method Details

#process(set) ⇒ Object



103
104
105
106
107
108
109
# File 'lib/dynamoid/dumping.rb', line 103

def process(set)
  if @options.key?(:of)
    process_typed_collection(set)
  else
    set
  end
end