Class: Signalwire::Relay::Calling::Result

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(component:) ⇒ Result

Returns a new instance of Result.



12
13
14
# File 'lib/signalwire/relay/calling/result.rb', line 12

def initialize(component:)
  @component = component
end

Instance Attribute Details

#componentObject (readonly)

Returns the value of attribute component.



8
9
10
# File 'lib/signalwire/relay/calling/result.rb', line 8

def component
  @component
end