Module: Cocupu

Defined in:
lib/cocupu.rb,
lib/cocupu/file.rb,
lib/cocupu/node.rb,
lib/cocupu/pool.rb,
lib/cocupu/model.rb,
lib/cocupu/identity.rb

Defined Under Namespace

Classes: Connection, File, Identity, Model, Node, Pool

Class Method Summary collapse

Class Method Details

.start(email, password, port = 80, host = 'localhost') ⇒ Object



52
53
54
# File 'lib/cocupu.rb', line 52

def self.start(email, password, port=80, host='localhost')
  Thread.current[:cocupu_connection] = Connection.new(email, password, port, host)
end