Class: Signalwire::Relay::Calling::BaseActionResult

Inherits:
Object
  • Object
show all
Defined in:
lib/signalwire/relay/calling/result/base_action_result.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#successfulObject (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