Module: Zm::Client::MailboxItemConcern
- Included in:
- Appointment, Contact, Folder, Message, MountPoint, SearchFolder, Tag
- Defined in:
- lib/zm/client/mailbox/mailbox_item_concern.rb
Instance Attribute Summary collapse
-
#l ⇒ Object
Returns the value of attribute l.
Instance Method Summary collapse
Instance Attribute Details
#l ⇒ Object
Returns the value of attribute l.
30 31 32 |
# File 'lib/zm/client/mailbox/mailbox_item_concern.rb', line 30 def l @l end |
Instance Method Details
#id ⇒ Object
14 15 16 17 18 |
# File 'lib/zm/client/mailbox/mailbox_item_concern.rb', line 14 def id return nil unless defined? @id @id.item_id end |
#id=(remote_id) ⇒ Object
8 9 10 11 12 |
# File 'lib/zm/client/mailbox/mailbox_item_concern.rb', line 8 def id=(remote_id) parts = remote_id.to_s.split(':').reverse parts << nil if parts.length == 1 @id = MailboxItemID.new(*parts) end |
#mailbox_id ⇒ Object
20 21 22 23 24 |
# File 'lib/zm/client/mailbox/mailbox_item_concern.rb', line 20 def mailbox_id return nil unless defined? @id @id.mailbox_id end |