Class: Gitabu::Api::V3::Metrics

Inherits:
Object
  • Object
show all
Defined in:
lib/gitabu/api/v3/metrics.rb

Overview

Metrics endpoints.

Class Method Summary collapse

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, options)
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, options)
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, options)
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, options)
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, options)
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, options)
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, options)
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, options)
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, options)
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, options)
end