Class: Mapi::Message::Post
- Inherits:
-
Object
- Object
- Mapi::Message::Post
- Defined in:
- lib/mapi/convert.rb
Overview
should probably be moved to mapi/convert/post
Instance Method Summary collapse
-
#initialize(message) ⇒ Post
constructor
not really sure what the pertinent properties are.
- #to_s ⇒ Object
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 = end |
Instance Method Details
#to_s ⇒ Object
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 |