Class: Katello::FlatpakRemote
Class Method Summary
collapse
Instance Method Summary
collapse
#deletable?, #editable?, #readable?
Methods inherited from Model
#destroy!
Class Method Details
.humanize_class_name(_name = nil) ⇒ Object
22
23
24
|
# File 'app/models/katello/flatpak_remote.rb', line 22
def self.humanize_class_name(_name = nil)
_("Flatpak Remotes")
end
|
Instance Method Details
#latest_dynflow_scan ⇒ Object
26
27
28
29
30
31
32
|
# File 'app/models/katello/flatpak_remote.rb', line 26
def latest_dynflow_scan
@latest_dynflow_scan ||= ForemanTasks::Task::DynflowTask
.where(:label => ::Actions::Katello::Flatpak::ScanRemote.name)
.for_resource(self)
.order(:started_at => :desc)
.first
end
|