class WirisPlugin::HttpSync

Attributes

data[RW]
errorMessage[RW]

Public Class Methods

new(url) click to toggle source
Calls superclass method
# File lib/com/wiris/util/sys/HttpSync.rb, line 8
def initialize(url)
    super(url)
    self.async = false
    self.data = nil
    self.errorMessage = nil
end

Public Instance Methods

getData() click to toggle source
# File lib/com/wiris/util/sys/HttpSync.rb, line 20
def getData()
    return self.data
end
getError() click to toggle source
# File lib/com/wiris/util/sys/HttpSync.rb, line 23
def getError()
    return self.errorMessage
end
onData(data) click to toggle source
# File lib/com/wiris/util/sys/HttpSync.rb, line 14
def onData(data)
    self.data = data
end
onError(msg) click to toggle source
# File lib/com/wiris/util/sys/HttpSync.rb, line 17
def onError(msg)
    self.errorMessage = msg
end