Class: Zm::Client::CosDomainsCollection
- Inherits:
-
DomainsCollection
- Object
- Base::ObjectsCollection
- Base::AdminObjectsCollection
- DomainsCollection
- Zm::Client::CosDomainsCollection
- Defined in:
- lib/zm/client/cos/cos_domains_collection.rb
Overview
Collection Domains for cos
Constant Summary
Constants inherited from Base::ObjectsCollection
Base::ObjectsCollection::METHODS_MISSING_LIST
Instance Attribute Summary
Attributes inherited from Base::ObjectsCollection
Instance Method Summary collapse
- #build_response ⇒ Object
-
#initialize(parent) ⇒ CosDomainsCollection
constructor
A new instance of CosDomainsCollection.
Methods inherited from DomainsCollection
Methods inherited from Base::AdminObjectsCollection
#attrs, #clear, #count, #find_by, #find_by_or_nil, #find_each, #ldap, #where
Methods inherited from Base::ObjectsCollection
#all, #all!, #find, #first, #logger, #method_missing, #new, #order, #page, #per_page, #respond_to_missing?
Methods included from Inspector
#inspect, #instance_variables_map, #to_h, #to_s
Constructor Details
#initialize(parent) ⇒ CosDomainsCollection
Returns a new instance of CosDomainsCollection.
7 8 9 10 11 |
# File 'lib/zm/client/cos/cos_domains_collection.rb', line 7 def initialize(parent) super(parent) @default_ldap_filter = "(zimbraDomainDefaultCOSId=#{@parent.id})" end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Zm::Client::Base::ObjectsCollection
Instance Method Details
#build_response ⇒ Object
13 14 15 16 17 |
# File 'lib/zm/client/cos/cos_domains_collection.rb', line 13 def build_response ldap_filter.add(@default_ldap_filter) super end |