Sha256: 6d04f6c99db912d5db74bf888fc6cbf7721ea7a9eae10785fc21890f709e058f

Contents?: true

Size: 354 Bytes

Versions: 71

Compression:

Stored size: 354 Bytes

Contents

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

      belongs_to :host, :class_name => "::Host::Managed"

      serialize :result, Hash

      def accepted?
        accepted_at.present?
      end

      def finished?
        result.present?
      end
    end
  end
end

Version data entries

71 entries across 71 versions & 1 rubygems

Version Path
katello-4.1.2 app/models/katello/agent/dispatch_history.rb
katello-4.1.1 app/models/katello/agent/dispatch_history.rb
katello-4.1.0 app/models/katello/agent/dispatch_history.rb
katello-4.0.1.2 app/models/katello/agent/dispatch_history.rb
katello-4.1.0.rc2.2 app/models/katello/agent/dispatch_history.rb
katello-4.1.0.rc2.1 app/models/katello/agent/dispatch_history.rb
katello-4.0.1.1 app/models/katello/agent/dispatch_history.rb
katello-4.1.0.rc2 app/models/katello/agent/dispatch_history.rb
katello-4.0.1 app/models/katello/agent/dispatch_history.rb
katello-4.1.0.rc1.1 app/models/katello/agent/dispatch_history.rb
katello-4.1.0.rc1 app/models/katello/agent/dispatch_history.rb