Class: StatusReport

Inherits:
Object
  • Object
show all
Defined in:
lib/AfricasTalking/Sms.rb

Overview

////////////////////////

Instance Attribute Summary collapse

Instance Method Summary collapse

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_,messageId_)
  @number = number_
  @status = status_
  @cost   = cost_
  @messageId = messageId_
end

Instance Attribute Details

#costObject (readonly)

Returns the value of attribute cost.



203
204
205
# File 'lib/AfricasTalking/Sms.rb', line 203

def cost
  @cost
end

#messageIdObject (readonly)

Returns the value of attribute messageId.



203
204
205
# File 'lib/AfricasTalking/Sms.rb', line 203

def messageId
  @messageId
end

#numberObject (readonly)

Returns the value of attribute number.



203
204
205
# File 'lib/AfricasTalking/Sms.rb', line 203

def number
  @number
end

#statusObject (readonly)

Returns the value of attribute status.



203
204
205
# File 'lib/AfricasTalking/Sms.rb', line 203

def status
  @status
end