Class: Zm::Client::MtaQueueItemsBuilder

Inherits:
Base::ObjectsBuilder show all
Defined in:
lib/zm/client/mta_queue_item/mta_queue_items_builder.rb

Overview

class factory [MtaQueueItem]

Instance Method Summary collapse

Methods inherited from Base::ObjectsBuilder

#ids, #initialize

Constructor Details

This class inherits a constructor from Zm::Client::Base::ObjectsBuilder

Instance Method Details

#makeObject



7
8
9
10
11
12
13
# File 'lib/zm/client/mta_queue_item/mta_queue_items_builder.rb', line 7

def make
  return [] if json_items.nil?

  json_items.map do |entry|
    MtaQueueItemJsnsInitializer.create(@parent, entry)
  end
end