Class: Gitabu::Api::V3::Metrics
- Inherits:
-
Object
- Object
- Gitabu::Api::V3::Metrics
- Defined in:
- lib/gitabu/api/v3/metrics.rb
Overview
Metrics endpoints.
Class Method Summary collapse
- .get_all_contributor_commit_activity(owner: nil, repo: nil, options: nil) ⇒ Object
- .get_community_profile_metrics(owner: nil, repo: nil, options: nil) ⇒ Object
- .get_page_views(owner: nil, repo: nil, options: nil) ⇒ Object
- .get_repository_clones(owner: nil, repo: nil, options: nil) ⇒ Object
- .get_the_hourly_commit_count_for_each_day(owner: nil, repo: nil, options: nil) ⇒ Object
- .get_the_last_year_of_commit_activity(owner: nil, repo: nil, options: nil) ⇒ Object
- .get_the_weekly_commit_activity(owner: nil, repo: nil, options: nil) ⇒ Object
- .get_the_weekly_commit_count(owner: nil, repo: nil, options: nil) ⇒ Object
- .get_top_referral_paths(owner: nil, repo: nil, options: nil) ⇒ Object
- .get_top_referral_sources(owner: nil, repo: nil, options: nil) ⇒ Object
Class Method Details
.get_all_contributor_commit_activity(owner: nil, repo: nil, options: nil) ⇒ Object
50 51 52 |
# File 'lib/gitabu/api/v3/metrics.rb', line 50 def self.get_all_contributor_commit_activity(owner: nil, repo: nil, options: nil) new.get_all_contributor_commit_activity(owner, repo, ) end |
.get_community_profile_metrics(owner: nil, repo: nil, options: nil) ⇒ Object
38 39 40 |
# File 'lib/gitabu/api/v3/metrics.rb', line 38 def self.get_community_profile_metrics(owner: nil, repo: nil, options: nil) new.get_community_profile_metrics(owner, repo, ) end |
.get_page_views(owner: nil, repo: nil, options: nil) ⇒ Object
74 75 76 |
# File 'lib/gitabu/api/v3/metrics.rb', line 74 def self.get_page_views(owner: nil, repo: nil, options: nil) new.get_page_views(owner, repo, ) end |
.get_repository_clones(owner: nil, repo: nil, options: nil) ⇒ Object
62 63 64 |
# File 'lib/gitabu/api/v3/metrics.rb', line 62 def self.get_repository_clones(owner: nil, repo: nil, options: nil) new.get_repository_clones(owner, repo, ) end |
.get_the_hourly_commit_count_for_each_day(owner: nil, repo: nil, options: nil) ⇒ Object
58 59 60 |
# File 'lib/gitabu/api/v3/metrics.rb', line 58 def self.get_the_hourly_commit_count_for_each_day(owner: nil, repo: nil, options: nil) new.get_the_hourly_commit_count_for_each_day(owner, repo, ) end |
.get_the_last_year_of_commit_activity(owner: nil, repo: nil, options: nil) ⇒ Object
46 47 48 |
# File 'lib/gitabu/api/v3/metrics.rb', line 46 def self.get_the_last_year_of_commit_activity(owner: nil, repo: nil, options: nil) new.get_the_last_year_of_commit_activity(owner, repo, ) end |
.get_the_weekly_commit_activity(owner: nil, repo: nil, options: nil) ⇒ Object
42 43 44 |
# File 'lib/gitabu/api/v3/metrics.rb', line 42 def self.get_the_weekly_commit_activity(owner: nil, repo: nil, options: nil) new.get_the_weekly_commit_activity(owner, repo, ) end |
.get_the_weekly_commit_count(owner: nil, repo: nil, options: nil) ⇒ Object
54 55 56 |
# File 'lib/gitabu/api/v3/metrics.rb', line 54 def self.get_the_weekly_commit_count(owner: nil, repo: nil, options: nil) new.get_the_weekly_commit_count(owner, repo, ) end |
.get_top_referral_paths(owner: nil, repo: nil, options: nil) ⇒ Object
66 67 68 |
# File 'lib/gitabu/api/v3/metrics.rb', line 66 def self.get_top_referral_paths(owner: nil, repo: nil, options: nil) new.get_top_referral_paths(owner, repo, ) end |
.get_top_referral_sources(owner: nil, repo: nil, options: nil) ⇒ Object
70 71 72 |
# File 'lib/gitabu/api/v3/metrics.rb', line 70 def self.get_top_referral_sources(owner: nil, repo: nil, options: nil) new.get_top_referral_sources(owner, repo, ) end |