Class: DhanHQ::WS::Packets::IndexPacket

Inherits:
Object
  • Object
show all
Defined in:
lib/DhanHQ/ws/packets/index_packet.rb

Overview

Layout not in public docs; keep raw bytes for now

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(raw) ⇒ IndexPacket

Returns a new instance of IndexPacket.



10
# File 'lib/DhanHQ/ws/packets/index_packet.rb', line 10

def initialize(raw) = (@raw = raw)

Instance Attribute Details

#rawObject (readonly)

Returns the value of attribute raw.



8
9
10
# File 'lib/DhanHQ/ws/packets/index_packet.rb', line 8

def raw
  @raw
end