Class: JiraClient::Comment

Inherits:
Base
  • Object
show all
Defined in:
lib/jira_client/comment.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Base

attr_reader, conversions, convert, from_response, #initialize

Constructor Details

This class inherits a constructor from JiraClient::Base

Instance Attribute Details

#authorObject (readonly)

Returns the value of attribute author.



5
6
7
# File 'lib/jira_client/comment.rb', line 5

def author
  @author
end

#bodyObject (readonly)

Returns the value of attribute body.



5
6
7
# File 'lib/jira_client/comment.rb', line 5

def body
  @body
end

#createdObject (readonly)

Returns the value of attribute created.



5
6
7
# File 'lib/jira_client/comment.rb', line 5

def created
  @created
end

#idObject (readonly)

Returns the value of attribute id.



5
6
7
# File 'lib/jira_client/comment.rb', line 5

def id
  @id
end

#update_authorObject (readonly)

Returns the value of attribute update_author.



5
6
7
# File 'lib/jira_client/comment.rb', line 5

def update_author
  @update_author
end

#updatedObject (readonly)

Returns the value of attribute updated.



5
6
7
# File 'lib/jira_client/comment.rb', line 5

def updated
  @updated
end

Instance Method Details

#to_sObject



12
13
14
# File 'lib/jira_client/comment.rb', line 12

def to_s
  body
end