Class: Gitabu::Api::V3::Licenses

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

Overview

Licenses endpoints.

Class Method Summary collapse

Class Method Details

.get_a_license(license: nil, options: nil) ⇒ Object



42
43
44
# File 'lib/gitabu/api/v3/licenses.rb', line 42

def self.get_a_license(license: nil, options: nil)
  new.get_a_license(license, options)
end

.get_all_commonly_used_licenses(options: nil) ⇒ Object



38
39
40
# File 'lib/gitabu/api/v3/licenses.rb', line 38

def self.get_all_commonly_used_licenses(options: nil)
  new.get_all_commonly_used_licenses(options)
end

.get_the_license_for_a_repository(owner: nil, repo: nil, options: nil) ⇒ Object



46
47
48
# File 'lib/gitabu/api/v3/licenses.rb', line 46

def self.get_the_license_for_a_repository(owner: nil, repo: nil, options: nil)
  new.get_the_license_for_a_repository(owner, repo, options)
end