Class: Zm::Client::Ace
- Inherits:
-
Base::Object
- Object
- Base::Object
- Zm::Client::Ace
- Defined in:
- lib/zm/client/ace/ace.rb
Overview
class account ace
Instance Attribute Summary collapse
-
#d ⇒ Object
Returns the value of attribute d.
-
#gt ⇒ Object
Returns the value of attribute gt.
-
#right ⇒ Object
Returns the value of attribute right.
-
#zid ⇒ Object
Returns the value of attribute zid.
Attributes inherited from Base::Object
Instance Method Summary collapse
Methods inherited from Base::Object
#clone, #initialize, #inspect, #instance_variables_map, #logger, #recorded?, #save!, #to_h, #to_s, #update_attribute
Constructor Details
This class inherits a constructor from Zm::Client::Base::Object
Instance Attribute Details
#d ⇒ Object
Returns the value of attribute d.
7 8 9 |
# File 'lib/zm/client/ace/ace.rb', line 7 def d @d end |
#gt ⇒ Object
Returns the value of attribute gt.
7 8 9 |
# File 'lib/zm/client/ace/ace.rb', line 7 def gt @gt end |
#right ⇒ Object
Returns the value of attribute right.
7 8 9 |
# File 'lib/zm/client/ace/ace.rb', line 7 def right @right end |
#zid ⇒ Object
Returns the value of attribute zid.
7 8 9 |
# File 'lib/zm/client/ace/ace.rb', line 7 def zid @zid end |
Instance Method Details
#create! ⇒ Object
9 10 11 12 13 14 15 |
# File 'lib/zm/client/ace/ace.rb', line 9 def create! rep = @parent.sacc.invoke(jsns_builder.to_jsns) json = rep[:GrantRightsResponse][:ace].first if rep[:GrantRightsResponse][:ace].is_a?(Array) AceJsnsInitializer.update(self, json) unless json.nil? true end |
#delete! ⇒ Object
17 18 19 20 |
# File 'lib/zm/client/ace/ace.rb', line 17 def delete! @parent.sacc.invoke(jsns_builder.to_delete) true end |