Class: Smartcall::Soap::SendSMS
- Inherits:
-
Object
- Object
- Smartcall::Soap::SendSMS
- Defined in:
- lib/smartcall/soap/default.rb
Overview
/sendSMS
Constant Summary collapse
- @@schema_type =
"sendSMS"
- @@schema_ns =
"http://tempuri.org/"
- @@schema_qualified =
"true"
- @@schema_element =
[["token", "SOAP::SOAPString"], ["recipient", "SOAP::SOAPString"], ["message", "SOAP::SOAPString"], ["reference", "SOAP::SOAPString"], ["campaignid", "SOAP::SOAPInt"]]
Instance Attribute Summary collapse
-
#campaignid ⇒ Object
Returns the value of attribute campaignid.
-
#message ⇒ Object
Returns the value of attribute message.
-
#recipient ⇒ Object
Returns the value of attribute recipient.
-
#reference ⇒ Object
Returns the value of attribute reference.
-
#token ⇒ Object
Returns the value of attribute token.
Instance Method Summary collapse
-
#initialize(token = nil, recipient = nil, message = nil, reference = nil, campaignid = nil) ⇒ SendSMS
constructor
A new instance of SendSMS.
Constructor Details
#initialize(token = nil, recipient = nil, message = nil, reference = nil, campaignid = nil) ⇒ SendSMS
Returns a new instance of SendSMS.
50 51 52 53 54 55 56 |
# File 'lib/smartcall/soap/default.rb', line 50 def initialize(token = nil, recipient = nil, = nil, reference = nil, campaignid = nil) @token = token @recipient = recipient @message = @reference = reference @campaignid = campaignid end |
Instance Attribute Details
#campaignid ⇒ Object
Returns the value of attribute campaignid.
48 49 50 |
# File 'lib/smartcall/soap/default.rb', line 48 def campaignid @campaignid end |
#message ⇒ Object
Returns the value of attribute message.
46 47 48 |
# File 'lib/smartcall/soap/default.rb', line 46 def @message end |
#recipient ⇒ Object
Returns the value of attribute recipient.
45 46 47 |
# File 'lib/smartcall/soap/default.rb', line 45 def recipient @recipient end |
#reference ⇒ Object
Returns the value of attribute reference.
47 48 49 |
# File 'lib/smartcall/soap/default.rb', line 47 def reference @reference end |
#token ⇒ Object
Returns the value of attribute token.
44 45 46 |
# File 'lib/smartcall/soap/default.rb', line 44 def token @token end |