Class: DhanHQ::WS::Packets::IndexPacket
- Inherits:
-
Object
- Object
- DhanHQ::WS::Packets::IndexPacket
- Defined in:
- lib/DhanHQ/ws/packets/index_packet.rb
Overview
Layout not in public docs; keep raw bytes for now
Instance Attribute Summary collapse
-
#raw ⇒ Object
readonly
Returns the value of attribute raw.
Instance Method Summary collapse
-
#initialize(raw) ⇒ IndexPacket
constructor
A new instance of IndexPacket.
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
#raw ⇒ Object (readonly)
Returns the value of attribute raw.
8 9 10 |
# File 'lib/DhanHQ/ws/packets/index_packet.rb', line 8 def raw @raw end |