Class: DhanHQ::WS::CmdBus::Command

Inherits:
Struct
  • Object
show all
Defined in:
lib/DhanHQ/ws/cmd_bus.rb

Overview

Represents a subscription command queued for execution.

Instance Attribute Summary collapse

Instance Attribute Details

#opObject

Returns the value of attribute op

Returns:

  • (Object)

    the current value of op



9
10
11
# File 'lib/DhanHQ/ws/cmd_bus.rb', line 9

def op
  @op
end

#payloadObject

Returns the value of attribute payload

Returns:

  • (Object)

    the current value of payload



9
10
11
# File 'lib/DhanHQ/ws/cmd_bus.rb', line 9

def payload
  @payload
end