Class: Nostr::OkMessageStrategy
- Inherits:
-
BaseMessageStrategy
- Object
- BaseMessageStrategy
- Nostr::OkMessageStrategy
- 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
39 40 41 42 43 44 45 46 |
# File 'lib/message_handler.rb', line 39 def process { type: 'OK', event_id: @message[1], success: @message[2], message: @message[3] } end |