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, helper) ⇒ Recipient

Returns a new instance of Recipient.

Parameters:

  • obj (Ole::Storage::Dirent)
  • helper (Helper)


508
509
510
511
512
# File 'lib/mapi/msg.rb', line 508

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

Instance Attribute Details

#objOle::Storage::Dirent (readonly)

Returns:

  • (Ole::Storage::Dirent)


500
501
502
# File 'lib/mapi/msg.rb', line 500

def obj
  @obj
end

#propertiesObject (readonly) Also known as: props

Returns the value of attribute properties.



502
503
504
# File 'lib/mapi/msg.rb', line 502

def properties
  @properties
end