class GithubSearch::Issue
Attributes
assignee[R]
body[R]
closed_at[R]
comments[R]
comments_url[R]
created_at[R]
events_url[R]
html_url[R]
id[R]
labels[R]
labels_url[R]
locked[R]
milestone[R]
number[R]
score[R]
state[R]
title[R]
updated_at[R]
url[R]
user[R]
Public Class Methods
new(attributes)
click to toggle source
# File lib/github-search/issue.rb, line 27 def initialize(attributes) @id = attributes["id"] @number = attributes["number"] @title = attributes["title"] @body = attributes["body"] @url = attributes["url"] @labels_url = attributes["labels_url"] @comments_url = attributes["comments_url"] @events_url = attributes["events_url"] @html_url = attributes["html_url"] @user = attributes["user"] @labels = attributes["labels"] @state = attributes["state"] @locked = attributes["locked"] @assignee = attributes["assignee"] @milestone = attributes["milestone"] @comments = attributes["comments"] @created_at = attributes["created_at"] @updated_at = attributes["updated_at"] @closed_at = attributes["closed_at"] @score = attributes["score"] end
sort_options()
click to toggle source
# File lib/github-search/issue.rb, line 50 def self.sort_options [:comments, :created, :updated] end