Class: Katello::Agent::DispatchHistory

Inherits:
Model
  • Object
show all
Defined in:
app/models/katello/agent/dispatch_history.rb

Instance Method Summary collapse

Methods inherited from Model

#destroy!

Instance Method Details

#accepted?Boolean

Returns:

  • (Boolean)


10
11
12
# File 'app/models/katello/agent/dispatch_history.rb', line 10

def accepted?
  accepted_at.present?
end

#finished?Boolean

Returns:

  • (Boolean)


14
15
16
# File 'app/models/katello/agent/dispatch_history.rb', line 14

def finished?
  result.present?
end