Sha256: 2b130f4ce72eabc66ad05caa7eb52db286b7ad662d59908e2257423f1bc4063b

Contents?: true

Size: 230 Bytes

Versions: 96

Compression:

Stored size: 230 Bytes

Contents

module ForemanOpenscap
  module ArfReportsControllerCommonExtensions
    extend ActiveSupport::Concern
    def format_filename
      "#{@arf_report.asset.name}-#{@arf_report.reported_at.to_formatted_s(:number)}"
    end
  end
end

Version data entries

96 entries across 96 versions & 1 rubygems

Version Path
foreman_openscap-10.0.3 app/controllers/concerns/foreman_openscap/arf_reports_controller_common_extensions.rb
foreman_openscap-10.0.2 app/controllers/concerns/foreman_openscap/arf_reports_controller_common_extensions.rb
foreman_openscap-10.0.1 app/controllers/concerns/foreman_openscap/arf_reports_controller_common_extensions.rb
foreman_openscap-10.0.0 app/controllers/concerns/foreman_openscap/arf_reports_controller_common_extensions.rb
foreman_openscap-9.0.4 app/controllers/concerns/foreman_openscap/arf_reports_controller_common_extensions.rb
foreman_openscap-9.0.3 app/controllers/concerns/foreman_openscap/arf_reports_controller_common_extensions.rb
foreman_openscap-9.0.2 app/controllers/concerns/foreman_openscap/arf_reports_controller_common_extensions.rb
foreman_openscap-9.0.1 app/controllers/concerns/foreman_openscap/arf_reports_controller_common_extensions.rb
foreman_openscap-9.0.0 app/controllers/concerns/foreman_openscap/arf_reports_controller_common_extensions.rb
foreman_openscap-8.0.0 app/controllers/concerns/foreman_openscap/arf_reports_controller_common_extensions.rb
foreman_openscap-7.1.1 app/controllers/concerns/foreman_openscap/arf_reports_controller_common_extensions.rb
foreman_openscap-7.1.0 app/controllers/concerns/foreman_openscap/arf_reports_controller_common_extensions.rb
foreman_openscap-7.0.0 app/controllers/concerns/foreman_openscap/arf_reports_controller_common_extensions.rb
foreman_openscap-6.0.0 app/controllers/concerns/foreman_openscap/arf_reports_controller_common_extensions.rb
foreman_openscap-5.2.3 app/controllers/concerns/foreman_openscap/arf_reports_controller_common_extensions.rb
foreman_openscap-5.2.2 app/controllers/concerns/foreman_openscap/arf_reports_controller_common_extensions.rb
foreman_openscap-5.1.1 app/controllers/concerns/foreman_openscap/arf_reports_controller_common_extensions.rb
foreman_openscap-5.2.1 app/controllers/concerns/foreman_openscap/arf_reports_controller_common_extensions.rb
foreman_openscap-5.2.0 app/controllers/concerns/foreman_openscap/arf_reports_controller_common_extensions.rb
foreman_openscap-5.1.0 app/controllers/concerns/foreman_openscap/arf_reports_controller_common_extensions.rb