Class: Funicular::Cable::Consumer
- Inherits:
-
Object
- Object
- Funicular::Cable::Consumer
- Defined in:
- sig/cable.rbs
Instance Attribute Summary collapse
-
#subscriptions ⇒ Subscriptions
readonly
Returns the value of attribute subscriptions.
-
#url ⇒ String
readonly
Returns the value of attribute url.
Instance Method Summary collapse
- #cleanup ⇒ void
- #cleanup_event_listeners ⇒ void
- #connect ⇒ void
- #disconnect ⇒ void
-
#initialize ⇒ Consumer
constructor
A new instance of Consumer.
- #send_command ⇒ void
Constructor Details
#initialize ⇒ Consumer
Returns a new instance of Consumer.
12 |
# File 'sig/cable.rbs', line 12
def initialize: (String url) -> void
|
Instance Attribute Details
#subscriptions ⇒ Subscriptions (readonly)
Returns the value of attribute subscriptions.
9 10 11 |
# File 'sig/cable.rbs', line 9 def subscriptions @subscriptions end |
#url ⇒ String (readonly)
Returns the value of attribute url.
8 9 10 |
# File 'sig/cable.rbs', line 8 def url @url end |
Instance Method Details
#cleanup ⇒ void
This method returns an undefined value.
16 |
# File 'sig/cable.rbs', line 16
def cleanup: () -> void
|
#cleanup_event_listeners ⇒ void
This method returns an undefined value.
17 |
# File 'sig/cable.rbs', line 17
def cleanup_event_listeners: () -> void
|
#connect ⇒ void
This method returns an undefined value.
13 |
# File 'sig/cable.rbs', line 13
def connect: () -> void
|
#disconnect ⇒ void
This method returns an undefined value.
15 |
# File 'sig/cable.rbs', line 15
def disconnect: () -> void
|
#send_command ⇒ void
This method returns an undefined value.
14 |
# File 'sig/cable.rbs', line 14
def send_command: (Hash[Symbol, untyped] command) -> void
|