class HelpScout::Conversation::Attachment
Conversation::Attachment
developer.helpscout.net/objects/conversation/attachment/
Name Type Example Notes id Int 12391 Unique identifier mimeType String image/jpeg filename String logo.jpg size Int 22 Size of the attachment in bytes. width Int 160 height Int 160 url String https://.../logo.jpg Public-facing url where attachment can be downloaded
Attributes
filename[R]
height[R]
id[R]
mimeType[R]
size[R]
url[R]
width[R]
Public Class Methods
new(object)
click to toggle source
Creates a new Conversation::Attachment
object from a Hash of attributes
# File lib/helpscout/models.rb, line 364 def initialize(object) @id = object["id"] @mimeType = object["mimeType"] @filename = object["filename"] @size = object["size"] @width = object["width"] @height = object["height"] @url = object["url"] end