Class: Gitabu::Api::V3::Licenses
- Inherits:
-
Object
- Object
- Gitabu::Api::V3::Licenses
- Defined in:
- lib/gitabu/api/v3/licenses.rb
Overview
Licenses endpoints.
Class Method Summary collapse
- .get_a_license(license: nil, options: nil) ⇒ Object
- .get_all_commonly_used_licenses(options: nil) ⇒ Object
- .get_the_license_for_a_repository(owner: nil, repo: nil, options: nil) ⇒ Object
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, ) 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() 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, ) end |