Octokit::Configurable
Provides configuration options for Client.
Instance methods
configure
Yield a block allowing configuration of options.
Example:
@client.configure do
auto_paginate = true
end
proxy
Get the proxy to use when connecting.
Note: Crystal's HTTP::Client and by extension Halite do not yet
support proxy's. Therefore this option does nothing for now.
proxy=(val)
Set the proxy to use when connecting.
Note: Crystal's HTTP::Client and by extension Halite do not yet
support proxy's. Therefore this option does nothing for now.
reset!
Sourcessl_verify_mode
Get the OpenSSL verify mode to use for SSL connections.
0 is OpenSSL::SSL::NONE
1 is OpenSSL::SSL::PEER
ssl_verify_mode=(mode)
Set the OpenSSL verify mode to use for SSL connections.
0 is OpenSSL::SSL::NONE
1 is OpenSSL::SSL::PEER