Class: Zm::Client::DomainResourcesCollection

Inherits:
ResourcesCollection show all
Defined in:
lib/zm/client/domain/domain_resources_collection.rb

Overview

Collection Resources from domain

Constant Summary

Constants inherited from Base::ObjectsCollection

Base::ObjectsCollection::METHODS_MISSING_LIST

Instance Attribute Summary

Attributes inherited from Base::ObjectsCollection

#parent

Instance Method Summary collapse

Methods inherited from ResourcesCollection

#find_by!

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) ⇒ DomainResourcesCollection

Returns a new instance of DomainResourcesCollection.



7
8
9
10
# File 'lib/zm/client/domain/domain_resources_collection.rb', line 7

def initialize(parent)
  super(parent)
  @domain_name = parent.name
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Zm::Client::Base::ObjectsCollection