Sha256: 039d689c5782af8f4cf083bda2ae231a2c4a89a522a9b195de28a78f96a09549
Contents?: true
Size: 557 Bytes
Versions: 2
Compression:
Stored size: 557 Bytes
Contents
# encoding: utf-8 module GithubCLI # The API class is the main entry point for creating GithubCLI APIs. class API class ApiError < StandardError; end @@api = nil def self.github_api if @@api @@api else @@api = Github.new @@api.oauth_token = GithubCLI.config['oauth_token'] @@api.basic_auth = GithubCLI.config['basic_auth'] @@api end end def self.configure_api end class All def initialize github_api end end end # API end # GithubCLI
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
github_cli-0.2.1 | lib/github_cli/api.rb |
github_cli-0.2.0 | lib/github_cli/api.rb |