Class: Zm::Client::Tag
- Inherits:
-
Base::Object
- Object
- Base::Object
- Zm::Client::Tag
- Includes:
- MailboxItemConcern, RequestMethodsMailbox
- Defined in:
- lib/zm/client/tag/tag.rb
Overview
class account tag
Instance Attribute Summary collapse
-
#color ⇒ Object
Returns the value of attribute color.
-
#name ⇒ Object
Returns the value of attribute name.
-
#rgb ⇒ Object
Returns the value of attribute rgb.
Attributes included from MailboxItemConcern
Attributes inherited from Base::Object
Instance Method Summary collapse
Methods included from MailboxItemConcern
Methods included from RequestMethodsMailbox
#build_create, #build_delete, #build_modify, #build_rename, #delete!, #modify!, #rename!, #update!
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
#color ⇒ Object
Returns the value of attribute color.
10 11 12 |
# File 'lib/zm/client/tag/tag.rb', line 10 def color @color end |
#name ⇒ Object
Returns the value of attribute name.
10 11 12 |
# File 'lib/zm/client/tag/tag.rb', line 10 def name @name end |
#rgb ⇒ Object
Returns the value of attribute rgb.
10 11 12 |
# File 'lib/zm/client/tag/tag.rb', line 10 def rgb @rgb end |
Instance Method Details
#create! ⇒ Object
12 13 14 15 16 17 |
# File 'lib/zm/client/tag/tag.rb', line 12 def create! rep = @parent.soap_connector.invoke(build_create) json = rep[:CreateTagResponse][:tag].first TagJsnsInitializer.update(self, json) id end |