Class: Signalwire::Relay::Calling::TapAction

Inherits:
Action
  • Object
show all
Defined in:
lib/signalwire/relay/calling/action/tap_action.rb

Instance Attribute Summary

Attributes inherited from Action

#component

Instance Method Summary collapse

Methods inherited from Action

#initialize

Constructor Details

This class inherits a constructor from Signalwire::Relay::Calling::Action

Instance Method Details

#resultObject



9
10
11
# File 'lib/signalwire/relay/calling/action/tap_action.rb', line 9

def result
  TapResult.new(component: @component)
end

#stopObject



13
14
15
# File 'lib/signalwire/relay/calling/action/tap_action.rb', line 13

def stop
  @component.stop
end