require "workiq/version"
require "workiq/storage"
require "workiq/middleware/client"
require "workiq/middleware/server"
require "workiq/middleware/chain"

module Workiq
  def self.status(jid)
    Workiq::Storage.read_field(jid, :status).to_sym
  end
end

require "workiq/version"
require "workiq/storage"
require "workiq/middleware/client"
require "workiq/middleware/server"
require "workiq/middleware/chain"

module Workiq
  def self.status(jid)
    Workiq::Storage.read_field(jid, :status).try :to_sym
  end
end

Return nil if jid wasn't found
Return nil if jid wasn't found
