module Expedition

Constants

VERSION

Attributes

client[RW]

@return [Client]

A client for accessing the API of a cgminer-compatible service.

Public Class Methods

new(host = 'localhost', port = 4028) click to toggle source

Initializes a new {Expedition::Client}.

@param [String] host

The host to connect to.

@param [Integer] port

The port to connect to.

@return [Client]

A client for accessing the API of a cgminer-compatible service.
# File lib/expedition.rb, line 28
def self.new(host = 'localhost', port = 4028)
  Client.new(host, port)
end