Class: Bothan::Connection
- Inherits:
-
Object
- Object
- Bothan::Connection
- Defined in:
- lib/bothan/connection.rb
Instance Method Summary collapse
-
#initialize(username, password, endpoint) ⇒ Connection
constructor
A new instance of Connection.
- #metrics ⇒ Object
Constructor Details
#initialize(username, password, endpoint) ⇒ Connection
Returns a new instance of Connection.
4 5 6 |
# File 'lib/bothan/connection.rb', line 4 def initialize(username, password, endpoint) @username, @password, @endpoint = username, password, endpoint end |