Class: CallResponse

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(status_, number_) ⇒ CallResponse

Returns a new instance of CallResponse.



58
59
60
61
# File 'lib/AfricasTalkingGateway.rb', line 58

def initialize(status_, number_)
	@status      = status_
	@phoneNumber = number_
end

Instance Attribute Details

#phoneNumberObject

Returns the value of attribute phoneNumber.



56
57
58
# File 'lib/AfricasTalkingGateway.rb', line 56

def phoneNumber
  @phoneNumber
end

#statusObject

Returns the value of attribute status.



56
57
58
# File 'lib/AfricasTalkingGateway.rb', line 56

def status
  @status
end