Class: StatusReport
- Inherits:
-
Object
- Object
- StatusReport
- Defined in:
- lib/AfricasTalking/Sms.rb
Overview
////////////////////////
Instance Attribute Summary collapse
-
#cost ⇒ Object
readonly
Returns the value of attribute cost.
-
#messageId ⇒ Object
readonly
Returns the value of attribute messageId.
-
#number ⇒ Object
readonly
Returns the value of attribute number.
-
#status ⇒ Object
readonly
Returns the value of attribute status.
Instance Method Summary collapse
-
#initialize(number_, status_, cost_, messageId_) ⇒ StatusReport
constructor
A new instance of StatusReport.
Constructor Details
#initialize(number_, status_, cost_, messageId_) ⇒ StatusReport
Returns a new instance of StatusReport.
205 206 207 208 209 210 |
# File 'lib/AfricasTalking/Sms.rb', line 205 def initialize(number_, status_, cost_,) @number = number_ @status = status_ @cost = cost_ = end |
Instance Attribute Details
#cost ⇒ Object (readonly)
Returns the value of attribute cost.
203 204 205 |
# File 'lib/AfricasTalking/Sms.rb', line 203 def cost @cost end |
#messageId ⇒ Object (readonly)
Returns the value of attribute messageId.
203 204 205 |
# File 'lib/AfricasTalking/Sms.rb', line 203 def end |
#number ⇒ Object (readonly)
Returns the value of attribute number.
203 204 205 |
# File 'lib/AfricasTalking/Sms.rb', line 203 def number @number end |
#status ⇒ Object (readonly)
Returns the value of attribute status.
203 204 205 |
# File 'lib/AfricasTalking/Sms.rb', line 203 def status @status end |