Class: Ji2p::Server::Api

Inherits:
Object
  • Object
show all
Defined in:
lib/ji2p/server/api.rb

Instance Method Summary collapse

Constructor Details

#initializeApi

Returns a new instance of Api.



7
8
9
10
11
12
# File 'lib/ji2p/server/api.rb', line 7

def initialize
  configure { set :server, :puma }

  #Faye::WebSocket.load_adapter('puma')
  @puma = Rack::Handler.get('puma')
end