Class: Handiv::Connection
- Inherits:
-
Object
- Object
- Handiv::Connection
- Defined in:
- lib/handiv/connection.rb
Constant Summary collapse
Instance Attribute Summary collapse
-
#connection ⇒ Object
readonly
Returns the value of attribute connection.
Instance Method Summary collapse
-
#initialize ⇒ Connection
constructor
A new instance of Connection.
- #send_data(path, data) ⇒ Object
Constructor Details
#initialize ⇒ Connection
Returns a new instance of Connection.
10 11 12 |
# File 'lib/handiv/connection.rb', line 10 def initialize @connection = set_connection end |
Instance Attribute Details
#connection ⇒ Object (readonly)
Returns the value of attribute connection.
8 9 10 |
# File 'lib/handiv/connection.rb', line 8 def connection @connection end |