Class: OpenWFE::Extras::ProcessError

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
lib/openwfe/extras/expool/dberrorjournal.rb

Overview

The active record for process errors. Not much to say.

Instance Method Summary collapse

Instance Method Details

#owfe_errorObject

Returns the OpenWFE process error, as serialized (but takes care of setting its db_id)



90
91
92
93
94
95
96
97
98
# File 'lib/openwfe/extras/expool/dberrorjournal.rb', line 90

def owfe_error

    result = svalue
    class << result
        attr_accessor :db_id
    end
    result.db_id = id
    result
end