Class: Funicular::Cable::Consumer

Inherits:
Object
  • Object
show all
Defined in:
sig/cable.rbs

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConsumer

Returns a new instance of Consumer.

Parameters:

  • url (String)


12
# File 'sig/cable.rbs', line 12

def initialize: (String url) -> void

Instance Attribute Details

#subscriptionsSubscriptions (readonly)

Returns the value of attribute subscriptions.

Returns:



9
10
11
# File 'sig/cable.rbs', line 9

def subscriptions
  @subscriptions
end

#urlString (readonly)

Returns the value of attribute url.

Returns:

  • (String)


8
9
10
# File 'sig/cable.rbs', line 8

def url
  @url
end

Instance Method Details

#cleanupvoid

This method returns an undefined value.



16
# File 'sig/cable.rbs', line 16

def cleanup: () -> void

#cleanup_event_listenersvoid

This method returns an undefined value.



17
# File 'sig/cable.rbs', line 17

def cleanup_event_listeners: () -> void

#connectvoid

This method returns an undefined value.



13
# File 'sig/cable.rbs', line 13

def connect: () -> void

#disconnectvoid

This method returns an undefined value.



15
# File 'sig/cable.rbs', line 15

def disconnect: () -> void

#send_commandvoid

This method returns an undefined value.

Parameters:

  • command (Hash[Symbol, untyped])


14
# File 'sig/cable.rbs', line 14

def send_command: (Hash[Symbol, untyped] command) -> void