Class: Dynamoid::Dumping::ArrayDumper

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

Overview

array -> array

Constant Summary collapse

ALLOWED_TYPES =
[:string, :integer, :number, :date, :datetime, :serialized]

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

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

Instance Method Details

#process(array) ⇒ Object



123
124
125
126
127
128
129
# File 'lib/dynamoid/dumping.rb', line 123

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