Module: Messaging::Handle::Call

Defined in:
lib/messaging/handle.rb

Instance Method Summary collapse

Instance Method Details

#call(message_or_message_data, strict: nil, session: nil, settings: nil) ⇒ Object



79
80
81
82
# File 'lib/messaging/handle.rb', line 79

def call(message_or_message_data, strict: nil, session: nil, settings: nil)
  instance = build(strict: strict, session: session, settings: settings)
  instance.(message_or_message_data)
end