mailjet/mailjet-gem — pull request #33 by GermanDZ (2014-12-26 17:04:16+00:00)
Title: use alternative syntax to avoid errors with Ruby 2.2

Ruby 2.2 seems to have a problem with blocks and the ternary operator.

This ~~stupid~~simple trick should be sufficient.

See https://www.ruby-forum.com/topic/6664839