Skip to content

Instantly share code, notes, and snippets.

@nathmisaki
Created May 20, 2015 20:09
Show Gist options
  • Select an option

  • Save nathmisaki/43a0b290a0ec1bca0b0b to your computer and use it in GitHub Desktop.

Select an option

Save nathmisaki/43a0b290a0ec1bca0b0b to your computer and use it in GitHub Desktop.
{
kind: "message",
id: 12201,
body: "Boleto.pdf",
created_at: "2015-05-18T19:15:08.000-03:00",
is_read: true,
sender: {
image_url: "https://doghero-assets.s3.amazonaws.com/assets/avatar-placeholder-100-7f7d5fce89be7e57cfa76fa9fc01411c.png",
id: 1,
name: "Nelson"
},
attachments: [
{
id: 156,
url: "https://doghero-uploads.s3.amazonaws.com/uploads/message_attachment/156/Boleto.pdf",
size_in_bytes: 114636,
name: "Boleto.pdf",
human_size: "110 KB",
mime_type: "application/pdf",
is_image: false
}
]
},
{
kind: "message",
id: 12200,
body: "Asdfasdfa",
created_at: "2015-05-18T19:11:23.000-03:00",
is_read: true,
sender: {
image_url: "https://doghero-assets.s3.amazonaws.com/assets/avatar-placeholder-100-7f7d5fce89be7e57cfa76fa9fc01411c.png",
id: 1,
name: "Nelson"
},
attachments: [
{
id: 155,
url: "https://doghero-uploads.s3.amazonaws.com/uploads/message_attachment/155/Scan_2.jpeg",
size_in_bytes: 998455,
name: "Scan_2.jpeg",
human_size: "980 KB",
mime_type: "image/jpeg",
is_image: true,
thumb_url: "https://doghero-uploads.s3.amazonaws.com/uploads/message_attachment/155/thumb_Scan_2.jpeg",
preview_585_url: "https://doghero-uploads.s3.amazonaws.com/uploads/message_attachment/155/preview_585_Scan_2.jpeg",
big_url: "https://doghero-uploads.s3.amazonaws.com/uploads/message_attachment/155/big_Scan_2.jpeg"
}
]
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment