Class: GitHubV3API::Issue

Inherits:
Entity
  • Object
show all
Defined in:
lib/github_v3_api/issue.rb

Overview

Represents a single GitHub Issue and provides access to its data attributes.

Instance Attribute Summary collapse

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

#assigneeObject (readonly)

Returns the value of attribute assignee.



5
6
7
# File 'lib/github_v3_api/issue.rb', line 5

def assignee
  @assignee
end

#bodyObject (readonly)

Returns the value of attribute body.



5
6
7
# File 'lib/github_v3_api/issue.rb', line 5

def body
  @body
end

#closed_atObject (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

#commentsObject (readonly)

Returns the value of attribute comments.



5
6
7
# File 'lib/github_v3_api/issue.rb', line 5

def comments
  @comments
end

#created_atObject (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_urlObject (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

#labelsObject (readonly)

Returns the value of attribute labels.



5
6
7
# File 'lib/github_v3_api/issue.rb', line 5

def labels
  @labels
end

#milestoneObject (readonly)

Returns the value of attribute milestone.



5
6
7
# File 'lib/github_v3_api/issue.rb', line 5

def milestone
  @milestone
end

#numberObject (readonly)

Returns the value of attribute number.



5
6
7
# File 'lib/github_v3_api/issue.rb', line 5

def number
  @number
end

#pull_requestObject (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

#stateObject (readonly)

Returns the value of attribute state.



5
6
7
# File 'lib/github_v3_api/issue.rb', line 5

def state
  @state
end

#titleObject (readonly)

Returns the value of attribute title.



5
6
7
# File 'lib/github_v3_api/issue.rb', line 5

def title
  @title
end

#updated_atObject (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

#urlObject (readonly)

Returns the value of attribute url.



5
6
7
# File 'lib/github_v3_api/issue.rb', line 5

def url
  @url
end

#userObject (readonly)

Returns the value of attribute user.



5
6
7
# File 'lib/github_v3_api/issue.rb', line 5

def user
  @user
end