Class: Mapi::Msg::Recipient
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
Instance Attribute Summary collapse
-
#obj ⇒ Object
readonly
Returns the value of attribute obj.
-
#properties ⇒ Object
(also: #props)
readonly
Returns the value of attribute properties.
Instance Method Summary collapse
-
#initialize(obj) ⇒ Recipient
constructor
A new instance of Recipient.
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
#obj ⇒ Object (readonly)
Returns the value of attribute obj.
435 436 437 |
# File 'lib/mapi/msg.rb', line 435 def obj @obj end |
#properties ⇒ Object (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 |