Class: RestException
- Inherits:
-
Object
- Object
- RestException
- Defined in:
- lib/splat/vendors/twilio/xml/twilio_xml.rb
Overview
{}RestException
Constant Summary collapse
- @@schema_type =
"RestException"
- @@schema_ns =
nil
- @@schema_element =
[["status", ["SOAP::SOAPString", XSD::QName.new(nil, "Status")]], ["message", ["SOAP::SOAPString", XSD::QName.new(nil, "Message")]], ["code", ["SOAP::SOAPString", XSD::QName.new(nil, "Code")]], ["moreInfo", ["SOAP::SOAPString", XSD::QName.new(nil, "MoreInfo")]]]
Instance Method Summary collapse
- #Code ⇒ Object
- #Code=(value) ⇒ Object
-
#initialize(status = nil, message = nil, code = nil, moreInfo = nil) ⇒ RestException
constructor
A new instance of RestException.
- #Message ⇒ Object
- #Message=(value) ⇒ Object
- #MoreInfo ⇒ Object
- #MoreInfo=(value) ⇒ Object
- #Status ⇒ Object
- #Status=(value) ⇒ Object
Constructor Details
#initialize(status = nil, message = nil, code = nil, moreInfo = nil) ⇒ RestException
Returns a new instance of RestException.
41 42 43 44 45 46 |
# File 'lib/splat/vendors/twilio/xml/twilio_xml.rb', line 41 def initialize(status = nil, = nil, code = nil, moreInfo = nil) @status = status @message = @code = code @moreInfo = moreInfo end |
Instance Method Details
#Code ⇒ Object
25 26 27 |
# File 'lib/splat/vendors/twilio/xml/twilio_xml.rb', line 25 def Code @code end |
#Code=(value) ⇒ Object
29 30 31 |
# File 'lib/splat/vendors/twilio/xml/twilio_xml.rb', line 29 def Code=(value) @code = value end |
#Message ⇒ Object
17 18 19 |
# File 'lib/splat/vendors/twilio/xml/twilio_xml.rb', line 17 def Message @message end |
#Message=(value) ⇒ Object
21 22 23 |
# File 'lib/splat/vendors/twilio/xml/twilio_xml.rb', line 21 def Message=(value) @message = value end |
#MoreInfo ⇒ Object
33 34 35 |
# File 'lib/splat/vendors/twilio/xml/twilio_xml.rb', line 33 def MoreInfo @moreInfo end |
#MoreInfo=(value) ⇒ Object
37 38 39 |
# File 'lib/splat/vendors/twilio/xml/twilio_xml.rb', line 37 def MoreInfo=(value) @moreInfo = value end |
#Status ⇒ Object
9 10 11 |
# File 'lib/splat/vendors/twilio/xml/twilio_xml.rb', line 9 def Status @status end |
#Status=(value) ⇒ Object
13 14 15 |
# File 'lib/splat/vendors/twilio/xml/twilio_xml.rb', line 13 def Status=(value) @status = value end |