Class: Nostr::NoticeMessageStrategy

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



69
70
71
72
73
74
# File 'lib/message_handler.rb', line 69

def process
  {
    type: 'NOTICE',
    message: @message[1]
  }
end