Class: MaropostApi::Parser::MessageBodyParser
- Inherits:
-
Object
- Object
- MaropostApi::Parser::MessageBodyParser
- Defined in:
- lib/maropost_api/parser/message_body_parser.rb
Instance Method Summary collapse
Instance Method Details
#call(response) ⇒ Object
4 5 6 |
# File 'lib/maropost_api/parser/message_body_parser.rb', line 4 def call(response) Hashie::Mash.new(message: response.body) end |