module ManageIQ
  module Providers
    module Lenovo
      class Engine < ::Rails::Engine
        isolate_namespace ManageIQ::Providers::Lenovo

        def self.plugin_name
          _('Lenovo Provider')
        end
      end
    end
  end
end

module ManageIQ
  module Providers
    module Lenovo
      class Engine < ::Rails::Engine
        isolate_namespace ManageIQ::Providers::Lenovo

        def self.vmdb_plugin?
          true
        end

        def self.plugin_name
          _('Lenovo Provider')
        end
      end
    end
  end
end

Change plugin common methods to class methods
Change plugin common methods to class methods
