class Crm::Core::AttachmentStore::Permission
Permission
holds all the pieces of information required to upload an {AttachmentStore attachment}. Generate a permission by calling {AttachmentStore.generate_upload_permission}. @api public
Attributes
fields[R]
Returns a hash of additional request parameters to be sent to the {#url}. @return [Hash{String => String}] @api public
upload_id[R]
Returns a temporary ID associated with this upload. Use this ID when setting the comment_attachments
attribute of an activity. @return [String] @api public
uri[R]
Returns the {www.ruby-doc.org/stdlib/libdoc/uri/rdoc/URI.html URI} for uploading the new attachment data. @return [URI] @api public
url[R]
Returns the URL for uploading the new attachment data. @return [String] @api public
Public Class Methods
new(uri, url, fields, upload_id)
click to toggle source
# File lib/crm/core/attachment_store.rb, line 64 def initialize(uri, url, fields, upload_id) @uri, @url, @fields, @upload_id = uri, url, fields, upload_id end