Class: Gitabu::Api::V3::CodesOfConduct

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

Overview

Codes of conduct endpoints.

Class Method Summary collapse

Class Method Details

.get_a_code_of_conduct(key: nil, options: nil) ⇒ Object



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

def self.get_a_code_of_conduct(key: nil, options: nil)
  new.get_a_code_of_conduct(key, options)
end

.get_all_codes_of_conduct(options: nil) ⇒ Object



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

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