Sha256: f62b060d148d3b62da4fc36e3b8c20355bdb3c4732b98931c2707c99a80918e2

Contents?: true

Size: 612 Bytes

Versions: 18

Compression:

Stored size: 612 Bytes

Contents

# frozen_string_literal: true

module ForemanThemeSatellite
  module RendererMethods
    extend ActiveSupport::Concern
    extend ApipieDSL::Module

    apipie :class, 'Macros related to Satellite branding' do
      name 'Foreman Theme Satellite'
      sections only: %w[all jobs]
    end

    apipie :method, 'Returns a short version of Satellite' do
      desc 'Returns a string representing the short version (X.Y) of Satellite'
      returns String
      example 'product_short_version # => "6.12"'
    end
    def product_short_version
      ForemanThemeSatellite::SATELLITE_SHORT_VERSION
    end
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
foreman_theme_satellite-13.3.5 app/services/foreman_theme_satellite/renderer_methods.rb
foreman_theme_satellite-13.3.4 app/services/foreman_theme_satellite/renderer_methods.rb
foreman_theme_satellite-14.3.0 app/services/foreman_theme_satellite/renderer_methods.rb
foreman_theme_satellite-14.2.0 app/services/foreman_theme_satellite/renderer_methods.rb
foreman_theme_satellite-13.3.3 app/services/foreman_theme_satellite/renderer_methods.rb
foreman_theme_satellite-14.1.0 app/services/foreman_theme_satellite/renderer_methods.rb
foreman_theme_satellite-13.3.2 app/services/foreman_theme_satellite/renderer_methods.rb
foreman_theme_satellite-13.3.1 app/services/foreman_theme_satellite/renderer_methods.rb
foreman_theme_satellite-14.0.1 app/services/foreman_theme_satellite/renderer_methods.rb
foreman_theme_satellite-14.0.0 app/services/foreman_theme_satellite/renderer_methods.rb
foreman_theme_satellite-13.3.0 app/services/foreman_theme_satellite/renderer_methods.rb
foreman_theme_satellite-13.2.5 app/services/foreman_theme_satellite/renderer_methods.rb
foreman_theme_satellite-13.2.4 app/services/foreman_theme_satellite/renderer_methods.rb
foreman_theme_satellite-13.2.3 app/services/foreman_theme_satellite/renderer_methods.rb
foreman_theme_satellite-13.2.2 app/services/foreman_theme_satellite/renderer_methods.rb
foreman_theme_satellite-13.2.1 app/services/foreman_theme_satellite/renderer_methods.rb
foreman_theme_satellite-13.2.0 app/services/foreman_theme_satellite/renderer_methods.rb
foreman_theme_satellite-13.1.0 app/services/foreman_theme_satellite/renderer_methods.rb