Class: XRBP::WebSocket::Cmds::ServerInfo

Inherits:
XRBP::WebSocket::Command show all
Defined in:
lib/xrbp/websocket/cmds/server_info.rb

Overview

The server_info command asks the server for a human-readable version of various information about the rippled server being queried.

developers.ripple.com/server_info.html

Instance Attribute Summary

Attributes inherited from XRBP::WebSocket::Command

#id, #json

Attributes inherited from Message

#bl, #connection, #result, #time

Instance Method Summary collapse

Methods inherited from XRBP::WebSocket::Command

#requesting, #requesting?

Methods inherited from Message

#signal, #to_s, #wait

Constructor Details

#initializeServerInfo

Returns a new instance of ServerInfo.


9
10
11
# File 'lib/xrbp/websocket/cmds/server_info.rb', line 9

def initialize
  super({'command' => 'server_info'})
end