class Nimiq::Client

Document the responsibility of the class

Heading

Use headings to break up descriptions

Formatting

Embody parameters or options in Teletype Text tags. You can also use bold or italics but must use HTML tags for multiple words, like this and like this.

Included modules

  1. Api

Public Class methods

new (opts)

def initialize(opts)
  # self.Connect(opts)
  return @rpc = ClientRPC::Connect.new(opts)
  puts "Connecting to #{@opts}"
end

Public Instance methods

ping ()

def ping
  #   @response = "pavsan"
  @rpc.ping_node
  @pingres = @rpc.instance_variable_get(:@pingres)
end

request (name, params = nil)

def request(name, params = nil)
  return @rpc.request(name, params)
end