Class: CallResponse
- Inherits:
-
Object
- Object
- CallResponse
- Defined in:
- lib/AfricasTalkingGateway.rb
Instance Attribute Summary collapse
-
#phoneNumber ⇒ Object
Returns the value of attribute phoneNumber.
-
#status ⇒ Object
Returns the value of attribute status.
Instance Method Summary collapse
-
#initialize(status_, number_) ⇒ CallResponse
constructor
A new instance of CallResponse.
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
#phoneNumber ⇒ Object
Returns the value of attribute phoneNumber.
56 57 58 |
# File 'lib/AfricasTalkingGateway.rb', line 56 def phoneNumber @phoneNumber end |
#status ⇒ Object
Returns the value of attribute status.
56 57 58 |
# File 'lib/AfricasTalkingGateway.rb', line 56 def status @status end |