Class: JIRA::Avatar
- Inherits:
-
DynamicEntity
- Object
- Entity
- DynamicEntity
- JIRA::Avatar
- Defined in:
- lib/jiraSOAP/entities/avatar.rb
Overview
TODO:
find out what the id value of @owner relates to
Contains a base64 encoded avatar image and metadata about the avatar.
Instance Attribute Summary collapse
- #base64_data ⇒ String
- #mime_type ⇒ String
-
#owner ⇒ String
This seems to be an id ref to some other object.
-
#system ⇒ boolean
(also: #system?)
Indicates if the image is the system default.
-
#type ⇒ String
The place where the avatar is used (e.g. ‘project’).
Attributes inherited from DynamicEntity
Method Summary
Methods inherited from Entity
add_attributes, #initialize_with_xml, new_with_xml
Instance Attribute Details
#base64_data ⇒ String
22 23 24 |
# File 'lib/jiraSOAP/entities/avatar.rb', line 22 def base64_data @base64_data end |
#mime_type ⇒ String
19 20 21 |
# File 'lib/jiraSOAP/entities/avatar.rb', line 19 def mime_type @mime_type end |
#owner ⇒ String
Returns this seems to be an id ref to some other object.
13 14 15 |
# File 'lib/jiraSOAP/entities/avatar.rb', line 13 def owner @owner end |
#system ⇒ boolean Also known as: system?
Returns indicates if the image is the system default.
25 26 27 |
# File 'lib/jiraSOAP/entities/avatar.rb', line 25 def system @system end |
#type ⇒ String
Returns the place where the avatar is used (e.g. ‘project’).
16 17 18 |
# File 'lib/jiraSOAP/entities/avatar.rb', line 16 def type @type end |