Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
prcomment
v0.1.3
Github
Client
Comments
ClientError
Connection
Error
ServerError
PRComment
Command
Tool
Generated using Crystal 1.10.1
2024-03-11 02:04:57 UTC
class
Github::
Client
Github::Client
Reference
Object
Included Modules
Github::Client::Comments
Github::Connection
Defined in:
github/client.cr
github/client/comments.cr
Constructors
.new
(token : String, repo : String, issue : UInt64)
Instance Method Summary
#close
Instance methods inherited from module
Github::Client::Comments
comments
comments
,
create_comment(msg : String)
create_comment
,
update_comment(id, msg : String)
update_comment
Instance methods inherited from module
Github::Connection
get(endpoint, headers : HTTP::Headers | Nil =
nil
, body : String | Nil =
nil
)
get
,
http : HTTP::Client
http
,
patch(endpoint, headers : HTTP::Headers | Nil =
nil
, body : String | Nil =
nil
)
patch
,
post(endpoint, headers : HTTP::Headers | Nil =
nil
, body : String | Nil =
nil
)
post
,
request(method, endpoint, headers : HTTP::Headers | Nil =
nil
, body : String | Nil =
nil
)
request
Constructor Detail
def self.
new
(token : String, repo : String, issue : UInt64)
#
[
View source
]
Instance Method Detail
def
close
#
[
View source
]