Class: Cp8Cli::Github::Api

Inherits:
Object
  • Object
show all
Defined in:
lib/cp8_cli/github/api.rb

Defined Under Namespace

Modules: Client

Class Method Summary collapse

Class Method Details

.configure(token:) ⇒ Object



10
11
12
# File 'lib/cp8_cli/github/api.rb', line 10

def self.configure(token:)
  self.client = Octokit::Client.new(access_token: token)
end