Class: Solace::Instruction
- Inherits:
-
SerializableRecord
- Object
- SerializableRecord
- Solace::Instruction
- Defined in:
- lib/solace/instruction.rb
Constant Summary collapse
- SERIALIZER =
Solace::Serializers::InstructionSerializer
- DESERIALIZER =
Solace::Serializers::InstructionDeserializer
Instance Attribute Summary collapse
-
#accounts ⇒ Array<Integer>
The accounts of the instruction.
-
#data ⇒ Array<Integer>
The instruction data.
-
#program_index ⇒ Integer
The program index of the instruction.
Method Summary
Methods inherited from SerializableRecord
Methods included from Concerns::BinarySerializable
Instance Attribute Details
#accounts ⇒ Array<Integer>
Returns The accounts of the instruction.
32 33 34 |
# File 'lib/solace/instruction.rb', line 32 def accounts @accounts end |
#data ⇒ Array<Integer>
Returns The instruction data.
36 37 38 |
# File 'lib/solace/instruction.rb', line 36 def data @data end |
#program_index ⇒ Integer
Returns The program index of the instruction.
28 29 30 |
# File 'lib/solace/instruction.rb', line 28 def program_index @program_index end |