Class: Zm::Client::Base::ObjectsBuilder
- Inherits:
-
Object
- Object
- Zm::Client::Base::ObjectsBuilder
- Defined in:
- lib/zm/client/base/objects_builder.rb
Overview
Abstract Class Builder [object]
Direct Known Subclasses
AccountsBuilder, AcesBuilder, AppointmentsBuilder, Zm::Client::BackupsBuilder, ContactBuilder, CosesBuilder, DataSourceBuilder, DistributionListsBuilder, DocumentsBuilder, DomainsBuilder, FilterRulesBuilder, FoldersBuilder, IdentitiesBuilder, MessagesBuilder, MountPointsBuilder, MtaQueueItemsBuilder, MtaQueuesBuilder, ResourcesBuilder, SearchFoldersBuilder, ServersBuilder, ShareBuilder, SignaturesBuilder, TagBuilder, TasksBuilder
Instance Method Summary collapse
- #ids ⇒ Object
-
#initialize(parent, json) ⇒ ObjectsBuilder
constructor
A new instance of ObjectsBuilder.
Constructor Details
#initialize(parent, json) ⇒ ObjectsBuilder
Returns a new instance of ObjectsBuilder.
8 9 10 11 |
# File 'lib/zm/client/base/objects_builder.rb', line 8 def initialize(parent, json) @parent = parent @json = json end |
Instance Method Details
#ids ⇒ Object
13 14 15 |
# File 'lib/zm/client/base/objects_builder.rb', line 13 def ids @json[:Body][json_key][:hit]&.map { |s| s[:id] } || [] end |