Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
struct
Shoo::GitHub::Client::Request
Inherits
Struct
<
Value
<
Object
Constants
BASE_URL = "#{
HTTPS
}://#{
GITHUB_HOST
}"
GITHUB_HOST = "api.github.com"
HTTPS = "https"
Constructors
new
(token :
Token
)
Source
Instance methods
delete
(path :
String
) :
Error
|
Nil
Source
get
(type :
T
.class, path :
String
, query :
TBody
=
TBody
.new) :
Result
(
T
) forall
T
Source
get_from_url
(type :
T
.class, url :
String
) :
Result
(
T
) forall
T
Source
identity
(path :
String
= "/user") :
Identity
|
Error
Source
Nested types
Shoo::GitHub::Client::Request::TBody