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 ⇒ String
Constructor Details
#initialize(message) ⇒ Post
not really sure what the pertinent properties are. we just do nothing for now…
51 52 53 |
# File 'lib/mapi/convert.rb', line 51 def initialize @message = end |
Instance Method Details
#to_s ⇒ String
56 57 58 59 60 |
# File 'lib/mapi/convert.rb', line 56 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 |