Class: QueuedCalls

Inherits:
Object
  • Object
show all
Defined in:
lib/AfricasTalking/Voice.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(number_, numCalls_, queueName_) ⇒ QueuedCalls

Returns a new instance of QueuedCalls.



119
120
121
122
123
# File 'lib/AfricasTalking/Voice.rb', line 119

def initialize(number_, numCalls_, queueName_)
	@phoneNumber = number_
	@numCalls    = numCalls_
	@queueName   = queueName_
end

Instance Attribute Details

#numCallsObject (readonly)

Returns the value of attribute numCalls.



117
118
119
# File 'lib/AfricasTalking/Voice.rb', line 117

def numCalls
  @numCalls
end

#phoneNumberObject (readonly)

Returns the value of attribute phoneNumber.



117
118
119
# File 'lib/AfricasTalking/Voice.rb', line 117

def phoneNumber
  @phoneNumber
end

#queueNameObject (readonly)

Returns the value of attribute queueName.



117
118
119
# File 'lib/AfricasTalking/Voice.rb', line 117

def queueName
  @queueName
end