Class: Nostr::UnknownMessageStrategy

Inherits:
BaseMessageStrategy show all
Defined in:
lib/message_handler.rb

Instance Method Summary collapse

Methods inherited from BaseMessageStrategy

#initialize

Constructor Details

This class inherits a constructor from Nostr::BaseMessageStrategy

Instance Method Details

#processObject



78
79
80
81
82
83
# File 'lib/message_handler.rb', line 78

def process
  {
    type: 'UNKNOWN',
    raw_message: @message
  }
end