Class: Nostr::ClosedMessageStrategy
- Inherits:
-
BaseMessageStrategy
- Object
- BaseMessageStrategy
- Nostr::ClosedMessageStrategy
- Defined in:
- lib/message_handler.rb
Instance Method Summary collapse
Methods inherited from BaseMessageStrategy
Constructor Details
This class inherits a constructor from Nostr::BaseMessageStrategy
Instance Method Details
#process ⇒ Object
59 60 61 62 63 64 65 |
# File 'lib/message_handler.rb', line 59 def process { type: 'CLOSED', subscription_id: @message[1], reason: @message[2] } end |