Class: RetrieveMMSMessageResponse
- Inherits:
-
Object
- Object
- RetrieveMMSMessageResponse
- Defined in:
- lib/response/mms/RetrieveMMSMessageResponse.rb
Instance Method Summary collapse
- #getAttachment ⇒ Object
- #getContentType ⇒ Object
- #getHTTPResponseCode ⇒ Object
- #getInboundMessage ⇒ Object
- #getLocation ⇒ Object
-
#initialize ⇒ RetrieveMMSMessageResponse
constructor
A new instance of RetrieveMMSMessageResponse.
- #setAttachment(attachment) ⇒ Object
- #setContentType(contentType) ⇒ Object
- #setHTTPResponseCode(httpResponseCode) ⇒ Object
- #setInboundMessage(inboundMessage) ⇒ Object
- #setInboundMessageJSON(jsondata) ⇒ Object
- #setLocation(location) ⇒ Object
Constructor Details
permalink #initialize ⇒ RetrieveMMSMessageResponse
Returns a new instance of RetrieveMMSMessageResponse.
5 6 7 8 9 10 |
# File 'lib/response/mms/RetrieveMMSMessageResponse.rb', line 5 def initialize @httpResponseCode=0 @contentType=nil @location=nil @inboundMessage=nil end |
Instance Method Details
permalink #getAttachment ⇒ Object
[View source]
48 49 50 |
# File 'lib/response/mms/RetrieveMMSMessageResponse.rb', line 48 def getAttachment @attachment end |
permalink #getContentType ⇒ Object
[View source]
20 21 22 |
# File 'lib/response/mms/RetrieveMMSMessageResponse.rb', line 20 def getContentType @contentType end |
permalink #getHTTPResponseCode ⇒ Object
[View source]
12 13 14 |
# File 'lib/response/mms/RetrieveMMSMessageResponse.rb', line 12 def getHTTPResponseCode @httpResponseCode end |
permalink #getInboundMessage ⇒ Object
[View source]
36 37 38 |
# File 'lib/response/mms/RetrieveMMSMessageResponse.rb', line 36 def getInboundMessage @inboundMessage end |
permalink #getLocation ⇒ Object
[View source]
28 29 30 |
# File 'lib/response/mms/RetrieveMMSMessageResponse.rb', line 28 def getLocation @location end |
permalink #setAttachment(attachment) ⇒ Object
[View source]
52 53 54 |
# File 'lib/response/mms/RetrieveMMSMessageResponse.rb', line 52 def setAttachment() @attachment= end |
permalink #setContentType(contentType) ⇒ Object
[View source]
24 25 26 |
# File 'lib/response/mms/RetrieveMMSMessageResponse.rb', line 24 def setContentType(contentType) @contentType=contentType end |
permalink #setHTTPResponseCode(httpResponseCode) ⇒ Object
[View source]
16 17 18 |
# File 'lib/response/mms/RetrieveMMSMessageResponse.rb', line 16 def setHTTPResponseCode(httpResponseCode) @httpResponseCode=httpResponseCode end |
permalink #setInboundMessage(inboundMessage) ⇒ Object
[View source]
40 41 42 |
# File 'lib/response/mms/RetrieveMMSMessageResponse.rb', line 40 def setInboundMessage(inboundMessage) @inboundMessage=inboundMessage end |
permalink #setInboundMessageJSON(jsondata) ⇒ Object
[View source]
44 45 46 47 |
# File 'lib/response/mms/RetrieveMMSMessageResponse.rb', line 44 def setInboundMessageJSON(jsondata) @inboundMessage=InboundMessage.new @inboundMessage.initializeJSON(jsondata) end |
permalink #setLocation(location) ⇒ Object
[View source]
32 33 34 |
# File 'lib/response/mms/RetrieveMMSMessageResponse.rb', line 32 def setLocation(location) @location=location end |