Sha256: 4f1c8ea16681d0c2f507e5dcf8497c42bd5514644b89c6b66bfcf014368fcbb7
Contents?: true
Size: 598 Bytes
Versions: 2
Compression:
Stored size: 598 Bytes
Contents
## ChatopsRPC Client This is a client implementation of the [Chatops RPC Protocol V3](https://github.com/github/chatops-controller/blob/master/docs/protocol-description.md). ### Usage ```ruby ENV["CHATOPS_AUTH_PRIVATE_KEY"] = "..." require_relative "lib/chatops-rpc/client.rb" config = { endpoints: [ { endpoint: "http://localhost:8889/_example" }, { endpoint: "http://localhost:8889/_hello_world" } ] } c = ChatopsRPC::Client.new config # chat(chatop, user, (optional) room-id) resp = c.chat "example echo hi", "anglinb", "#room-id" resp.message # hi resp.success? # true ```
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
chatops-rpc-0.0.2 | README.md |
chatops-rpc-0.0.1 | README.md |