Class: MobileDataResponse
- Inherits:
-
Object
- Object
- MobileDataResponse
- Defined in:
- lib/AfricasTalking/Payments.rb
Instance Attribute Summary collapse
-
#errorMessage ⇒ Object
readonly
Returns the value of attribute errorMessage.
-
#phoneNumber ⇒ Object
readonly
Returns the value of attribute phoneNumber.
-
#provider ⇒ Object
readonly
Returns the value of attribute provider.
-
#status ⇒ Object
readonly
Returns the value of attribute status.
-
#transactionId ⇒ Object
readonly
Returns the value of attribute transactionId.
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(phoneNumber_, provider_, status_, transactionId_, value_, errorMessage_) ⇒ MobileDataResponse
constructor
A new instance of MobileDataResponse.
Constructor Details
#initialize(phoneNumber_, provider_, status_, transactionId_, value_, errorMessage_) ⇒ MobileDataResponse
Returns a new instance of MobileDataResponse.
492 493 494 495 496 497 498 499 |
# File 'lib/AfricasTalking/Payments.rb', line 492 def initialize phoneNumber_, provider_, status_, transactionId_, value_, errorMessage_ @phoneNumber = phoneNumber_ @provider = provider_ @status = status_ @transactionId = transactionId_ @value = value_ @errorMessage = errorMessage_ end |
Instance Attribute Details
#errorMessage ⇒ Object (readonly)
Returns the value of attribute errorMessage.
490 491 492 |
# File 'lib/AfricasTalking/Payments.rb', line 490 def errorMessage @errorMessage end |
#phoneNumber ⇒ Object (readonly)
Returns the value of attribute phoneNumber.
490 491 492 |
# File 'lib/AfricasTalking/Payments.rb', line 490 def phoneNumber @phoneNumber end |
#provider ⇒ Object (readonly)
Returns the value of attribute provider.
490 491 492 |
# File 'lib/AfricasTalking/Payments.rb', line 490 def provider @provider end |
#status ⇒ Object (readonly)
Returns the value of attribute status.
490 491 492 |
# File 'lib/AfricasTalking/Payments.rb', line 490 def status @status end |
#transactionId ⇒ Object (readonly)
Returns the value of attribute transactionId.
490 491 492 |
# File 'lib/AfricasTalking/Payments.rb', line 490 def transactionId @transactionId end |
#value ⇒ Object (readonly)
Returns the value of attribute value.
490 491 492 |
# File 'lib/AfricasTalking/Payments.rb', line 490 def value @value end |