Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
struct
Crig::Providers::Copilot::CopilotBuilder
Inherits
Struct
<
Value
<
Object
Constructors
new
(access_token :
String
|
Nil
= nil, base_url :
String
=
GITHUB_COPILOT_API_BASE_URL
, device_code_handler :
Proc
(
OAuth::DeviceCodePrompt
,
Nil
) |
Nil
= nil, api_key_file :
String
|
Nil
= nil)
Source
Instance methods
access_token
(token :
String
) : self
Source
access_token
Source
api_key_file
Source
api_key_file=
(api_key_file :
String
|
Nil
)
Source
base_url
(url :
String
) : self
Source
base_url
Source
build
Source
device_code_handler
Source
device_code_handler=
(device_code_handler :
Proc
(
OAuth::DeviceCodePrompt
,
Nil
) |
Nil
)
Source
oauth
Source
on_device_code
Source
token_dir
(path :
String
) : self
Source