class AWS::DynamoDB::BatchGet

def items attributes, *items

Parameters:
  • items (Item) -- One or more {Item} objects to fetch attributes
  • attributes (Symbol, String, Array) -- The list of attributes
def items attributes, *items
  [items].flatten.each do |item|
    self.table(item.table, attributes, [item])
  end
end