Class: Inq::Sources::Github::Pulls
- Defined in:
- lib/inq/sources/github/pulls.rb
Overview
Fetches various information about GitHub Pull Requests
Instance Attribute Summary
Attributes inherited from Issues
#cache, #config, #end_date, #start_date
Instance Method Summary collapse
Methods inherited from Issues
#average_age, #initialize, #newest, #oldest, #summary, #to_a, #to_html, #url
Methods included from Inq::Sources::GithubHelpers
#average_age_for, #newest_for, #obj_to_array_of_hashes, #oldest_for, #sort_iops_by_created_at
Methods included from DateTimeHelpers
Constructor Details
This class inherits a constructor from Inq::Sources::Github::Issues
Instance Method Details
#pretty_type ⇒ Object
23 24 25 |
# File 'lib/inq/sources/github/pulls.rb', line 23 def pretty_type "pull request" end |
#singular_type ⇒ Object
15 16 17 |
# File 'lib/inq/sources/github/pulls.rb', line 15 def singular_type "pull" end |
#type ⇒ Object
19 20 21 |
# File 'lib/inq/sources/github/pulls.rb', line 19 def type "pullRequests" end |
#url_suffix ⇒ Object
11 12 13 |
# File 'lib/inq/sources/github/pulls.rb', line 11 def url_suffix "pulls" end |