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.



208
209
210
211
212
213
# File 'lib/AfricasTalking/Sms.rb', line 208

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.



206
207
208
# File 'lib/AfricasTalking/Sms.rb', line 206

def cost
  @cost
end

#messageIdObject (readonly)

Returns the value of attribute messageId.



206
207
208
# File 'lib/AfricasTalking/Sms.rb', line 206

def messageId
  @messageId
end

#numberObject (readonly)

Returns the value of attribute number.



206
207
208
# File 'lib/AfricasTalking/Sms.rb', line 206

def number
  @number
end

#statusObject (readonly)

Returns the value of attribute status.



206
207
208
# File 'lib/AfricasTalking/Sms.rb', line 206

def status
  @status
end