Class: SendSMS

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

Overview

http://pennytel.comsendSMS

id - SOAP::SOAPString
password - SOAP::SOAPString
type - SOAP::SOAPInt
to - SOAP::SOAPString
message - SOAP::SOAPString
date - SOAP::SOAPDateTime

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id = nil, password = nil, type = nil, to = nil, message = nil, date = nil) ⇒ SendSMS

Returns a new instance of SendSMS.



431
432
433
434
435
436
437
438
# File 'lib/default.rb', line 431

def initialize(id = nil, password = nil, type = nil, to = nil, message = nil, date = nil)
  @id = id
  @password = password
  @type = type
  @to = to
  @message = message
  @date = date
end

Instance Attribute Details

#dateObject

Returns the value of attribute date.



429
430
431
# File 'lib/default.rb', line 429

def date
  @date
end

#idObject

Returns the value of attribute id.



424
425
426
# File 'lib/default.rb', line 424

def id
  @id
end

#messageObject

Returns the value of attribute message.



428
429
430
# File 'lib/default.rb', line 428

def message
  @message
end

#passwordObject

Returns the value of attribute password.



425
426
427
# File 'lib/default.rb', line 425

def password
  @password
end

#toObject

Returns the value of attribute to.



427
428
429
# File 'lib/default.rb', line 427

def to
  @to
end

#typeObject

Returns the value of attribute type.



426
427
428
# File 'lib/default.rb', line 426

def type
  @type
end