Module: Bowline::Desktop::Bridge

Defined in:
lib/bowline/desktop/bridge.rb

Defined Under Namespace

Modules: ClassMethods Classes: Message

Class Method Summary collapse

Class Method Details

.call(window, str) ⇒ Object

:nodoc:



97
98
99
100
101
102
103
# File 'lib/bowline/desktop/bridge.rb', line 97

def call(window, str) #:nodoc:
  result = JSON.parse(str)
  Message.new(window, result).invoke
rescue => e
  Bowline::Logging.trace(str)
  Bowline::Logging.log_error(e)
end