Class: SMSMessages
- Inherits:
-
Object
- Object
- SMSMessages
- Defined in:
- lib/AfricasTalking/Sms.rb
Instance Attribute Summary collapse
-
#date ⇒ Object
readonly
Returns the value of attribute date.
-
#from ⇒ Object
readonly
Returns the value of attribute from.
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#linkId ⇒ Object
readonly
Returns the value of attribute linkId.
-
#text ⇒ Object
readonly
Returns the value of attribute text.
-
#to ⇒ Object
readonly
Returns the value of attribute to.
Instance Method Summary collapse
-
#initialize(id_, text_, from_, to_, linkId_, date_) ⇒ SMSMessages
constructor
A new instance of SMSMessages.
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
#date ⇒ Object (readonly)
Returns the value of attribute date.
261 262 263 |
# File 'lib/AfricasTalking/Sms.rb', line 261 def date @date end |
#from ⇒ Object (readonly)
Returns the value of attribute from.
261 262 263 |
# File 'lib/AfricasTalking/Sms.rb', line 261 def from @from end |
#id ⇒ Object (readonly)
Returns the value of attribute id.
261 262 263 |
# File 'lib/AfricasTalking/Sms.rb', line 261 def id @id end |
#linkId ⇒ Object (readonly)
Returns the value of attribute linkId.
261 262 263 |
# File 'lib/AfricasTalking/Sms.rb', line 261 def linkId @linkId end |
#text ⇒ Object (readonly)
Returns the value of attribute text.
261 262 263 |
# File 'lib/AfricasTalking/Sms.rb', line 261 def text @text end |
#to ⇒ Object (readonly)
Returns the value of attribute to.
261 262 263 |
# File 'lib/AfricasTalking/Sms.rb', line 261 def to @to end |