Class: EventMachine::UCEngine::Client
- Inherits:
-
UCEngine::Client
- Object
- UCEngine::Client
- EventMachine::UCEngine::Client
- Includes:
- EventMachineRequest, EventMachineResponse
- Defined in:
- lib/em-ucengine/client_em.rb
Defined Under Namespace
Classes: Session, Subscription
Class Method Summary collapse
-
.run(*args) ⇒ Object
Init EventMachine and init a new instance of U.C.Engine client See #initialize for arguments.
Instance Method Summary collapse
Methods included from EventMachineRequest
#delete, #get, #http_request, #json_post, #post, #put
Methods included from EventMachineResponse
#answer, #answer_bool, #answer_connect, #answer_download
Methods inherited from UCEngine::Client
#connect, #create_user, #initialize, #url
Methods included from UCEngine::NetHttpRequest
#delete, #get, #json_post, #post
Methods included from UCEngine::NetHttpResponse
#answer, #answer_bool, #answer_connect
Constructor Details
This class inherits a constructor from UCEngine::Client
Class Method Details
.run(*args) ⇒ Object
Init EventMachine and init a new instance of U.C.Engine client See #initialize for arguments
149 150 151 |
# File 'lib/em-ucengine/client_em.rb', line 149 def self.run(*args) EM.run { yield self.new(*args) } end |