Class: Zm::Client::MtaQueuesBuilder

Inherits:
Base::ObjectsBuilder show all
Defined in:
lib/zm/client/mta_queue/mta_queues_builder.rb

Overview

class factory [MtaQueue]

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/mta_queues_builder.rb', line 7

def make
  return [] if json_items.nil?

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