Class: Mapi::Message::Post

Inherits:
Object
  • Object
show all
Defined in:
lib/mapi/convert.rb

Overview

should probably be moved to mapi/convert/post

Instance Method Summary collapse

Constructor Details

#initialize(message) ⇒ Post

not really sure what the pertinent properties are. we just do nothing for now…



45
46
47
# File 'lib/mapi/convert.rb', line 45

def initialize message
	@message = message
end

Instance Method Details

#to_sObject



49
50
51
52
53
# File 'lib/mapi/convert.rb', line 49

def to_s
	# should maybe handle other types, like html body. need a better format for post
	# probably anyway, cause a lot of meta data is getting chucked.
	@message.props.body
end