class SendMMSResponse
Public Class Methods
new()
click to toggle source
# File lib/response/mms/SendMMSResponse.rb, line 5 def initialize @httpResponseCode=0 @contentType=nil @location=nil @resourceReference=nil end
Public Instance Methods
getContentType()
click to toggle source
# File lib/response/mms/SendMMSResponse.rb, line 20 def getContentType @contentType end
getHTTPResponseCode()
click to toggle source
# File lib/response/mms/SendMMSResponse.rb, line 12 def getHTTPResponseCode @httpResponseCode end
getLocation()
click to toggle source
# File lib/response/mms/SendMMSResponse.rb, line 28 def getLocation @location end
getResourceReference()
click to toggle source
# File lib/response/mms/SendMMSResponse.rb, line 36 def getResourceReference @resourceReference end
setContentType(contentType)
click to toggle source
# File lib/response/mms/SendMMSResponse.rb, line 24 def setContentType(contentType) @contentType=contentType end
setHTTPResponseCode(httpResponseCode)
click to toggle source
# File lib/response/mms/SendMMSResponse.rb, line 16 def setHTTPResponseCode(httpResponseCode) @httpResponseCode=httpResponseCode end
setLocation(location)
click to toggle source
# File lib/response/mms/SendMMSResponse.rb, line 32 def setLocation(location) @location=location end
setResourceReference(resourceReference)
click to toggle source
# File lib/response/mms/SendMMSResponse.rb, line 40 def setResourceReference(resourceReference) @resourceReference=resourceReference end
setResourceReferenceJSON(jsondata)
click to toggle source
# File lib/response/mms/SendMMSResponse.rb, line 44 def setResourceReferenceJSON(jsondata) @resourceReference=ResourceReference.new @resourceReference.initializeJSON(jsondata) end