Class: Signalwire::Relay::Calling::BaseActionResult
- Inherits:
-
Object
- Object
- Signalwire::Relay::Calling::BaseActionResult
- Defined in:
- lib/signalwire/relay/calling/result/base_action_result.rb
Direct Known Subclasses
PlayPauseResult, PlayResumeResult, PlayVolumeResult, PromptVolumeResult, StopResult
Instance Attribute Summary collapse
-
#successful ⇒ Object
readonly
Returns the value of attribute successful.
Instance Method Summary collapse
-
#initialize(result) ⇒ BaseActionResult
constructor
A new instance of BaseActionResult.
Constructor Details
#initialize(result) ⇒ BaseActionResult
Returns a new instance of BaseActionResult.
6 7 8 |
# File 'lib/signalwire/relay/calling/result/base_action_result.rb', line 6 def initialize(result) @successful = result end |
Instance Attribute Details
#successful ⇒ Object (readonly)
Returns the value of attribute successful.
5 6 7 |
# File 'lib/signalwire/relay/calling/result/base_action_result.rb', line 5 def successful @successful end |