Class: RetrieveMMSResponse
- Inherits:
-
Object
- Object
- RetrieveMMSResponse
- Defined in:
- lib/response/mms/RetrieveMMSResponse.rb
Instance Method Summary collapse
- #getContentType ⇒ Object
- #getHTTPResponseCode ⇒ Object
- #getInboundMessageList ⇒ Object
- #getLocation ⇒ Object
-
#initialize ⇒ RetrieveMMSResponse
constructor
A new instance of RetrieveMMSResponse.
- #setContentType(contentType) ⇒ Object
- #setHTTPResponseCode(httpResponseCode) ⇒ Object
- #setInboundMessageList(inboundMessageList) ⇒ Object
- #setInboundMessageListJSON(jsondata) ⇒ Object
- #setLocation(location) ⇒ Object
Constructor Details
#initialize ⇒ RetrieveMMSResponse
Returns a new instance of RetrieveMMSResponse.
5 6 7 8 9 10 |
# File 'lib/response/mms/RetrieveMMSResponse.rb', line 5 def initialize @httpResponseCode=0 @contentType=nil @location=nil @inboundMessageList=nil end |
Instance Method Details
#getContentType ⇒ Object
20 21 22 |
# File 'lib/response/mms/RetrieveMMSResponse.rb', line 20 def getContentType @contentType end |
#getHTTPResponseCode ⇒ Object
12 13 14 |
# File 'lib/response/mms/RetrieveMMSResponse.rb', line 12 def getHTTPResponseCode @httpResponseCode end |
#getInboundMessageList ⇒ Object
36 37 38 |
# File 'lib/response/mms/RetrieveMMSResponse.rb', line 36 def getInboundMessageList @inboundMessageList end |
#getLocation ⇒ Object
28 29 30 |
# File 'lib/response/mms/RetrieveMMSResponse.rb', line 28 def getLocation @location end |
#setContentType(contentType) ⇒ Object
24 25 26 |
# File 'lib/response/mms/RetrieveMMSResponse.rb', line 24 def setContentType(contentType) @contentType=contentType end |
#setHTTPResponseCode(httpResponseCode) ⇒ Object
16 17 18 |
# File 'lib/response/mms/RetrieveMMSResponse.rb', line 16 def setHTTPResponseCode(httpResponseCode) @httpResponseCode=httpResponseCode end |
#setInboundMessageList(inboundMessageList) ⇒ Object
40 41 42 |
# File 'lib/response/mms/RetrieveMMSResponse.rb', line 40 def setInboundMessageList(inboundMessageList) @inboundMessageList=inboundMessageList end |
#setInboundMessageListJSON(jsondata) ⇒ Object
44 45 46 47 |
# File 'lib/response/mms/RetrieveMMSResponse.rb', line 44 def setInboundMessageListJSON(jsondata) @inboundMessageList=InboundMessageList.new @inboundMessageList.initializeJSON(jsondata) end |
#setLocation(location) ⇒ Object
32 33 34 |
# File 'lib/response/mms/RetrieveMMSResponse.rb', line 32 def setLocation(location) @location=location end |