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

- (Object) assignee (readonly)

Returns the value of attribute assignee



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

def assignee
  @assignee
end

- (Object) body (readonly)

Returns the value of attribute body



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

def body
  @body
end

- (Object) closed_at (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

- (Object) comments (readonly)

Returns the value of attribute comments



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

def comments
  @comments
end

- (Object) created_at (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

- (Object) html_url (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

- (Object) labels (readonly)

Returns the value of attribute labels



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

def labels
  @labels
end

- (Object) milestone (readonly)

Returns the value of attribute milestone



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

def milestone
  @milestone
end

- (Object) number (readonly)

Returns the value of attribute number



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

def number
  @number
end

- (Object) pull_request (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

- (Object) state (readonly)

Returns the value of attribute state



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

def state
  @state
end

- (Object) title (readonly)

Returns the value of attribute title



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

def title
  @title
end

- (Object) updated_at (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

- (Object) url (readonly)

Returns the value of attribute url



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

def url
  @url
end

- (Object) user (readonly)

Returns the value of attribute user



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

def user
  @user
end