Class: AfricasTalking::StatusReport
- Inherits:
-
Object
- Object
- AfricasTalking::StatusReport
- Defined in:
- lib/africas_talking/status_report.rb
Instance Attribute Summary collapse
-
#cost ⇒ Object
Returns the value of attribute cost.
-
#number ⇒ Object
Returns the value of attribute number.
-
#status ⇒ Object
Returns the value of attribute status.
Instance Method Summary collapse
-
#initialize(number, status, cost) ⇒ StatusReport
constructor
A new instance of StatusReport.
Constructor Details
#initialize(number, status, cost) ⇒ StatusReport
Returns a new instance of StatusReport.
5 6 7 8 9 |
# File 'lib/africas_talking/status_report.rb', line 5 def initialize(number, status, cost) @cost = cost @number = number @status = status end |
Instance Attribute Details
#cost ⇒ Object
Returns the value of attribute cost.
3 4 5 |
# File 'lib/africas_talking/status_report.rb', line 3 def cost @cost end |
#number ⇒ Object
Returns the value of attribute number.
3 4 5 |
# File 'lib/africas_talking/status_report.rb', line 3 def number @number end |
#status ⇒ Object
Returns the value of attribute status.
3 4 5 |
# File 'lib/africas_talking/status_report.rb', line 3 def status @status end |