class NanodeClient

A variant of NanoRpcClient which connects public to Nanode servers using an API key.

Public Class Methods

new(key) click to toggle source

Create a new Nanode client. Params:

key

A valid Nanode API key.

# File lib/clients.rb, line 58
def initialize(key)
    @dispatcher = HTTP.auth(key)
    @endpoint = "https://api.nanode.co/"
end