Class: GitHubV3API::Issue
Overview
Represents a single GitHub Issue and provides access to its data attributes.
Instance Attribute Summary collapse
-
#assignee ⇒ Object
readonly
Returns the value of attribute assignee.
-
#body ⇒ Object
readonly
Returns the value of attribute body.
-
#closed_at ⇒ Object
readonly
Returns the value of attribute closed_at.
-
#comments ⇒ Object
readonly
Returns the value of attribute comments.
-
#created_at ⇒ Object
readonly
Returns the value of attribute created_at.
-
#html_url ⇒ Object
readonly
Returns the value of attribute html_url.
-
#labels ⇒ Object
readonly
Returns the value of attribute labels.
-
#milestone ⇒ Object
readonly
Returns the value of attribute milestone.
-
#number ⇒ Object
readonly
Returns the value of attribute number.
-
#pull_request ⇒ Object
readonly
Returns the value of attribute pull_request.
-
#state ⇒ Object
readonly
Returns the value of attribute state.
-
#title ⇒ Object
readonly
Returns the value of attribute title.
-
#updated_at ⇒ Object
readonly
Returns the value of attribute updated_at.
-
#url ⇒ Object
readonly
Returns the value of attribute url.
-
#user ⇒ Object
readonly
Returns the value of attribute user.
Method Summary
Methods inherited from Entity
#[], attr_reader, #initialize, #initialize_fetched, new_with_all_data
Constructor Details
This class inherits a constructor from GitHubV3API::Entity
Instance Attribute Details
#assignee ⇒ Object (readonly)
Returns the value of attribute assignee.
5 6 7 |
# File 'lib/github_v3_api/issue.rb', line 5 def assignee @assignee end |
#body ⇒ Object (readonly)
Returns the value of attribute body.
5 6 7 |
# File 'lib/github_v3_api/issue.rb', line 5 def body @body end |
#closed_at ⇒ Object (readonly)
Returns the value of attribute closed_at.
5 6 7 |
# File 'lib/github_v3_api/issue.rb', line 5 def closed_at @closed_at end |
#comments ⇒ Object (readonly)
Returns the value of attribute comments.
5 6 7 |
# File 'lib/github_v3_api/issue.rb', line 5 def comments @comments end |
#created_at ⇒ Object (readonly)
Returns the value of attribute created_at.
5 6 7 |
# File 'lib/github_v3_api/issue.rb', line 5 def created_at @created_at end |
#html_url ⇒ Object (readonly)
Returns the value of attribute html_url.
5 6 7 |
# File 'lib/github_v3_api/issue.rb', line 5 def html_url @html_url end |
#labels ⇒ Object (readonly)
Returns the value of attribute labels.
5 6 7 |
# File 'lib/github_v3_api/issue.rb', line 5 def labels @labels end |
#milestone ⇒ Object (readonly)
Returns the value of attribute milestone.
5 6 7 |
# File 'lib/github_v3_api/issue.rb', line 5 def milestone @milestone end |
#number ⇒ Object (readonly)
Returns the value of attribute number.
5 6 7 |
# File 'lib/github_v3_api/issue.rb', line 5 def number @number end |
#pull_request ⇒ Object (readonly)
Returns the value of attribute pull_request.
5 6 7 |
# File 'lib/github_v3_api/issue.rb', line 5 def pull_request @pull_request end |
#state ⇒ Object (readonly)
Returns the value of attribute state.
5 6 7 |
# File 'lib/github_v3_api/issue.rb', line 5 def state @state end |
#title ⇒ Object (readonly)
Returns the value of attribute title.
5 6 7 |
# File 'lib/github_v3_api/issue.rb', line 5 def title @title end |
#updated_at ⇒ Object (readonly)
Returns the value of attribute updated_at.
5 6 7 |
# File 'lib/github_v3_api/issue.rb', line 5 def updated_at @updated_at end |
#url ⇒ Object (readonly)
Returns the value of attribute url.
5 6 7 |
# File 'lib/github_v3_api/issue.rb', line 5 def url @url end |
#user ⇒ Object (readonly)
Returns the value of attribute user.
5 6 7 |
# File 'lib/github_v3_api/issue.rb', line 5 def user @user end |