Class: Punchblock::Connection::GenericConnection
- Defined in:
- lib/punchblock/connection/generic_connection.rb
Instance Method Summary collapse
-
#initialize ⇒ GenericConnection
constructor
A new instance of GenericConnection.
- #not_ready! ⇒ Object
- #ready! ⇒ Object
Constructor Details
#initialize ⇒ GenericConnection
Returns a new instance of GenericConnection.
4 5 6 |
# File 'lib/punchblock/connection/generic_connection.rb', line 4 def initialize @event_handler = lambda { |event| raise 'No event handler set' } end |