Class: StatusReport

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(number_, status_, cost_, messageId_) ⇒ StatusReport

Returns a new instance of StatusReport.



25
26
27
28
29
30
# File 'lib/AfricasTalkingGateway.rb', line 25

def initialize(number_, status_, cost_,messageId_)
	@number = number_
	@status = status_
	@cost   = cost_
	@messageId = messageId_
end

Instance Attribute Details

#costObject

Returns the value of attribute cost.



23
24
25
# File 'lib/AfricasTalkingGateway.rb', line 23

def cost
  @cost
end

#messageIdObject

Returns the value of attribute messageId.



23
24
25
# File 'lib/AfricasTalkingGateway.rb', line 23

def messageId
  @messageId
end

#numberObject

Returns the value of attribute number.



23
24
25
# File 'lib/AfricasTalkingGateway.rb', line 23

def number
  @number
end

#statusObject

Returns the value of attribute status.



23
24
25
# File 'lib/AfricasTalkingGateway.rb', line 23

def status
  @status
end