Class: Phone::BroadcastCallStatus::Result

Inherits:
Data
  • Object
show all
Defined in:
app/services/phone/broadcast_call_status.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(broadcast: nil, current_calls: nil) ⇒ Result

Returns a new instance of Result.



5
# File 'app/services/phone/broadcast_call_status.rb', line 5

def initialize(broadcast: nil, current_calls: nil) = super

Instance Attribute Details

#broadcastObject (readonly)

Returns the value of attribute broadcast

Returns:

  • (Object)

    the current value of broadcast



4
5
6
# File 'app/services/phone/broadcast_call_status.rb', line 4

def broadcast
  @broadcast
end

#current_callsObject (readonly)

Returns the value of attribute current_calls

Returns:

  • (Object)

    the current value of current_calls



4
5
6
# File 'app/services/phone/broadcast_call_status.rb', line 4

def current_calls
  @current_calls
end