Class: Phone::BroadcastCallStatus::Result

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

Overview

Service object: result.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of Result.



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

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



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

def broadcast
  @broadcast
end

#current_callsObject (readonly)

Returns the value of attribute current_calls

Returns:

  • (Object)

    the current value of current_calls



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

def current_calls
  @current_calls
end