Class: Mapi::Msg::Recipient

Inherits:
Recipient show all
Defined in:
lib/mapi/msg.rb

Overview

Recipient serves as a container for the recip directories in the .msg. It has things like office_location, business_telephone_number, but I don’t think enough to make a vCard out of?

Constant Summary

Constants inherited from Recipient

Recipient::RECIPIENT_TYPES

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Recipient

#email, #inspect, #name, #to_s, #type

Constructor Details

#initialize(obj) ⇒ Recipient

Returns a new instance of Recipient.



438
439
440
441
442
# File 'lib/mapi/msg.rb', line 438

def initialize obj
	@obj = obj
	super PropertySet.new(PropertyStore.load(@obj))
	Msg.warn_unknown @obj
end

Instance Attribute Details

#objObject (readonly)

Returns the value of attribute obj.



435
436
437
# File 'lib/mapi/msg.rb', line 435

def obj
  @obj
end

#propertiesObject (readonly) Also known as: props

Returns the value of attribute properties.



435
436
437
# File 'lib/mapi/msg.rb', line 435

def properties
  @properties
end