Class: LearnProxy::Connection
- Inherits:
-
Object
- Object
- LearnProxy::Connection
- Extended by:
- Forwardable
- Defined in:
- lib/work_together/learn_proxy.rb
Instance Method Summary collapse
-
#initialize(credentials) ⇒ Connection
constructor
A new instance of Connection.
Constructor Details
#initialize(credentials) ⇒ Connection
Returns a new instance of Connection.
27 28 29 30 |
# File 'lib/work_together/learn_proxy.rb', line 27 def initialize(credentials) @credentials = credentials connect! end |