Class: Dynamoid::Dumping::ArrayDumper

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

Overview

array -> array

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(array) ⇒ Object


155
156
157
158
159
160
161
# File 'lib/dynamoid/dumping.rb', line 155

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