class XRBP::WebSocket::Cmds::Subscribe

The subscribe method requests periodic notifications from the server when certain events happen

developers.ripple.com/subscribe.html

Attributes

args[RW]

Public Class Methods

new(args={}) click to toggle source
Calls superclass method
# File lib/xrbp/websocket/cmds/subscribe.rb, line 11
def initialize(args={})
  @args = args
  super(to_h)
end

Public Instance Methods

to_h() click to toggle source
# File lib/xrbp/websocket/cmds/subscribe.rb, line 16
def to_h
  args.merge(:command => :subscribe)
end