Sha256: 03bc2def61a8e75cf393e3b9e77da11519da62bbaff4db3a443cbd0ccab05499

Contents?: true

Size: 296 Bytes

Versions: 4

Compression:

Stored size: 296 Bytes

Contents

module Katello
  module Agent
    class DispatchHistory < Katello::Model
      self.table_name = 'katello_agent_dispatch_histories'

      serialize :result, Hash

      def accepted?
        accepted_at.present?
      end

      def finished?
        result.present?
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
katello-4.0.0 app/models/katello/agent/dispatch_history.rb
katello-4.0.0.rc3.1 app/models/katello/agent/dispatch_history.rb
katello-4.0.0.rc3 app/models/katello/agent/dispatch_history.rb
katello-4.0.0.rc2 app/models/katello/agent/dispatch_history.rb