Class: SMSMessages

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id_, text_, from_, to_, linkId_, date_) ⇒ SMSMessages

Returns a new instance of SMSMessages.



263
264
265
266
267
268
269
270
# File 'lib/AfricasTalking/Sms.rb', line 263

def initialize(id_, text_, from_, to_, linkId_, date_)
  @id     = id_
  @text   = text_
  @from   = from_
  @to     = to_
  @linkId = linkId_
  @date   = date_
end

Instance Attribute Details

#dateObject (readonly)

Returns the value of attribute date.



261
262
263
# File 'lib/AfricasTalking/Sms.rb', line 261

def date
  @date
end

#fromObject (readonly)

Returns the value of attribute from.



261
262
263
# File 'lib/AfricasTalking/Sms.rb', line 261

def from
  @from
end

#idObject (readonly)

Returns the value of attribute id.



261
262
263
# File 'lib/AfricasTalking/Sms.rb', line 261

def id
  @id
end

#linkIdObject (readonly)

Returns the value of attribute linkId.



261
262
263
# File 'lib/AfricasTalking/Sms.rb', line 261

def linkId
  @linkId
end

#textObject (readonly)

Returns the value of attribute text.



261
262
263
# File 'lib/AfricasTalking/Sms.rb', line 261

def text
  @text
end

#toObject (readonly)

Returns the value of attribute to.



261
262
263
# File 'lib/AfricasTalking/Sms.rb', line 261

def to
  @to
end