Class: JIRA::AttachmentMetadata
Overview
Only contains the metadata for an attachment. The URI for an attachment appears to be of the form “JIRAService.endpoint_url/secure/attachment/DynamicEntity#id/#file_name”
Instance Attribute Summary collapse
Attributes inherited from NamedEntity
#name
#id
Method Summary
Methods inherited from Entity
add_attributes, #initialize_with_xml, new_with_xml
Instance Attribute Details
#author ⇒ String
14
15
16
|
# File 'lib/jiraSOAP/entities/attachment_metadata.rb', line 14
def author
@author
end
|
#create_time ⇒ Time
17
18
19
|
# File 'lib/jiraSOAP/entities/attachment_metadata.rb', line 17
def create_time
@create_time
end
|
#file_name ⇒ String
20
21
22
|
# File 'lib/jiraSOAP/entities/attachment_metadata.rb', line 20
def file_name
@file_name
end
|
#file_size ⇒ Fixnum
Returns measured in bytes.
23
24
25
|
# File 'lib/jiraSOAP/entities/attachment_metadata.rb', line 23
def file_size
@file_size
end
|
#mime_type ⇒ String
26
27
28
|
# File 'lib/jiraSOAP/entities/attachment_metadata.rb', line 26
def mime_type
@mime_type
end
|