Class: Zm::Client::Server
Overview
objectClass: zimbraServer
Instance Attribute Summary
Attributes inherited from Base::Object
#id, #name, #parent, #token
Instance Method Summary
collapse
#soap_admin_connector
#clone, #initialize, #inspect, #instance_variables_map, #logger, #recorded?, #save!, #to_h, #to_s, #update_attribute
Instance Method Details
#backups ⇒ Object
16
17
18
|
# File 'lib/zm/client/server/server.rb', line 16
def backups
@backups ||= BackupsCollection.new(self)
end
|
#mta_queues ⇒ Object
12
13
14
|
# File 'lib/zm/client/server/server.rb', line 12
def mta_queues
@mta_queues ||= MtaQueuesCollection.new(self)
end
|
#update!(hash) ⇒ Object
24
25
26
27
28
29
30
31
32
33
34
|
# File 'lib/zm/client/server/server.rb', line 24
def update!(hash)
return false if hash.delete_if { |k, v| v.nil? || !respond_to?(k) }.empty?
do_update!(hash)
hash.each do |key, value|
update_attribute(key, value)
end
true
end
|