Class: TwilioResponse

Inherits:
Object
  • Object
show all
Defined in:
lib/splat/vendors/twilio/xml/twilio_xml.rb

Overview

{}TwilioResponse

Constant Summary collapse

@@schema_type =
"TwilioResponse"
@@schema_ns =
nil
@@schema_element =
[["restException", ["RestException", XSD::QName.new(nil, "RestException")]], ["sMSMessage", ["SMSMessage", XSD::QName.new(nil, "SMSMessage")]]]

Instance Method Summary collapse

Constructor Details

#initialize(restException = nil, sMSMessage = nil) ⇒ TwilioResponse

Returns a new instance of TwilioResponse.



180
181
182
183
# File 'lib/splat/vendors/twilio/xml/twilio_xml.rb', line 180

def initialize(restException = nil, sMSMessage = nil)
  @restException = restException
  @sMSMessage = sMSMessage
end

Instance Method Details

#RestExceptionObject



164
165
166
# File 'lib/splat/vendors/twilio/xml/twilio_xml.rb', line 164

def RestException
  @restException
end

#RestException=(value) ⇒ Object



168
169
170
# File 'lib/splat/vendors/twilio/xml/twilio_xml.rb', line 168

def RestException=(value)
  @restException = value
end

#SMSMessageObject



172
173
174
# File 'lib/splat/vendors/twilio/xml/twilio_xml.rb', line 172

def SMSMessage
  @sMSMessage
end

#SMSMessage=(value) ⇒ Object



176
177
178
# File 'lib/splat/vendors/twilio/xml/twilio_xml.rb', line 176

def SMSMessage=(value)
  @sMSMessage = value
end