jeremytregunna/ruby-trello — pull request #78 by bandito (2014-01-08 16:03:39+00:00)
Title: Fetches cover image for card

Trello introduced the cover image feature a while ago and while the cover image is always one of the attachment there is no way to know which one if there are multiple attachments.

The Trello API provided `idCoverAttachment` which points to the attachment that serves as the cover id. This commit also provided a `#cover_image` method for `Trello::Card` that returns the cover image attachment.