Class: Smartcall::Soap::SendSMS

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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, message = nil, reference = nil, campaignid = nil)
  @token = token
  @recipient = recipient
  @message = message
  @reference = reference
  @campaignid = campaignid
end

Instance Attribute Details

#campaignidObject

Returns the value of attribute campaignid.



48
49
50
# File 'lib/smartcall/soap/default.rb', line 48

def campaignid
  @campaignid
end

#messageObject

Returns the value of attribute message.



46
47
48
# File 'lib/smartcall/soap/default.rb', line 46

def message
  @message
end

#recipientObject

Returns the value of attribute recipient.



45
46
47
# File 'lib/smartcall/soap/default.rb', line 45

def recipient
  @recipient
end

#referenceObject

Returns the value of attribute reference.



47
48
49
# File 'lib/smartcall/soap/default.rb', line 47

def reference
  @reference
end

#tokenObject

Returns the value of attribute token.



44
45
46
# File 'lib/smartcall/soap/default.rb', line 44

def token
  @token
end