Class: Java::ComPff::PSTRecipient
- Inherits:
-
Object
- Object
- Java::ComPff::PSTRecipient
- Defined in:
- lib/pst/base.rb
Instance Method Summary collapse
Instance Method Details
#hash_string ⇒ Object
242 243 244 |
# File 'lib/pst/base.rb', line 242 def hash_string Digest::SHA1.hexdigest(human_id) end |
#how ⇒ Object
246 247 248 249 250 251 252 253 254 |
# File 'lib/pst/base.rb', line 246 def how case getRecipientType when Java::ComPff::PSTRecipient::MAPI_BCC then :bcc when Java::ComPff::PSTRecipient::MAPI_CC then :cc when Java::ComPff::PSTRecipient::MAPI_TO then :to else :to end end |
#human_id ⇒ Object
238 239 240 |
# File 'lib/pst/base.rb', line 238 def human_id pretty_string end |
#order ⇒ Object
256 257 258 |
# File 'lib/pst/base.rb', line 256 def order getRecipientOrder end |
#pretty_string ⇒ Object
234 235 236 |
# File 'lib/pst/base.rb', line 234 def pretty_string "%s <%s>" % [name, email] end |