class Boto::Server

Public Instance Methods

adapter() click to toggle source
# File lib/boto/server.rb, line 3
def adapter
  Boto.application.adapter
end
start() click to toggle source
# File lib/boto/server.rb, line 7
def start
  require "#{Boto.root}/config/router"
  adapter.updates.select(&:itself).each(&method(:tick!))
end
tick!(update) click to toggle source
# File lib/boto/server.rb, line 12
def tick!(update)
  p update
  Boto.router.proccess_message(update)
end