Skip to content

Commit

Permalink
more expansions for API message: activity_entries (#344)
Browse files Browse the repository at this point in the history
  • Loading branch information
asterion authored and catphish committed Sep 11, 2017
1 parent 41d9014 commit 67d0f65
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions api/structures/message_api_structure.rb
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,11 @@
expansion(:headers) { o.headers }

expansion(:raw_message) { Base64.encode64(o.raw_message) }

expansion(:activity_entries) {
{
:loads => o.loads,
:clicks => o.clicks
}
}
end

0 comments on commit 67d0f65

Please sign in to comment.