Class: Lightning::Onion::ErrorPacket
- Inherits:
-
Object
- Object
- Lightning::Onion::ErrorPacket
- Defined in:
- lib/lightning/onion/error_packet.rb
Instance Attribute Summary collapse
-
#failure_message ⇒ Object
Returns the value of attribute failure_message.
-
#onion_node ⇒ Object
Returns the value of attribute onion_node.
Instance Method Summary collapse
-
#initialize(onion_node, failure_message) ⇒ ErrorPacket
constructor
A new instance of ErrorPacket.
Constructor Details
#initialize(onion_node, failure_message) ⇒ ErrorPacket
Returns a new instance of ErrorPacket.
7 8 9 10 |
# File 'lib/lightning/onion/error_packet.rb', line 7 def initialize(onion_node, ) @onion_node = onion_node @failure_message = end |
Instance Attribute Details
#failure_message ⇒ Object
Returns the value of attribute failure_message.
6 7 8 |
# File 'lib/lightning/onion/error_packet.rb', line 6 def @failure_message end |
#onion_node ⇒ Object
Returns the value of attribute onion_node.
6 7 8 |
# File 'lib/lightning/onion/error_packet.rb', line 6 def onion_node @onion_node end |