Class: MobileDataResponse
- Inherits:
-
Object
- Object
- MobileDataResponse
- Defined in:
- lib/AfricasTalking/Mobiledata.rb
Instance Attribute Summary collapse
-
#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_) ⇒ MobileDataResponse
constructor
A new instance of MobileDataResponse.
Constructor Details
#initialize(phoneNumber_, provider_, status_, transactionId_, value_) ⇒ MobileDataResponse
Returns a new instance of MobileDataResponse.
113 114 115 116 117 118 119 |
# File 'lib/AfricasTalking/Mobiledata.rb', line 113 def initialize phoneNumber_, provider_, status_, transactionId_, value_ @phoneNumber = phoneNumber_ @provider = provider_ @status = status_ @transactionId = transactionId_ @value = value_ end |
Instance Attribute Details
#phoneNumber ⇒ Object (readonly)
Returns the value of attribute phoneNumber.
111 112 113 |
# File 'lib/AfricasTalking/Mobiledata.rb', line 111 def phoneNumber @phoneNumber end |
#provider ⇒ Object (readonly)
Returns the value of attribute provider.
111 112 113 |
# File 'lib/AfricasTalking/Mobiledata.rb', line 111 def provider @provider end |
#status ⇒ Object (readonly)
Returns the value of attribute status.
111 112 113 |
# File 'lib/AfricasTalking/Mobiledata.rb', line 111 def status @status end |
#transactionId ⇒ Object (readonly)
Returns the value of attribute transactionId.
111 112 113 |
# File 'lib/AfricasTalking/Mobiledata.rb', line 111 def transactionId @transactionId end |
#value ⇒ Object (readonly)
Returns the value of attribute value.
111 112 113 |
# File 'lib/AfricasTalking/Mobiledata.rb', line 111 def value @value end |