Sha256: 9d715b346b41e296c037625069e9915b35cf147c5b863d4310739a0e8997df4e

Contents?: true

Size: 363 Bytes

Versions: 7

Compression:

Stored size: 363 Bytes

Contents

class CompassAeInstance < ActiveRecord::Base
  has_file_assets
  
  def installed_engines
    Rails.application.config.erp_base_erp_svcs.compass_ae_engines.map do |compass_ae_engine|
      klass_name = compass_ae_engine.railtie_name.camelize
      {:name => klass_name, :version => ("#{klass_name}::VERSION::STRING".constantize rescue 'N/A')}
    end
  end
  
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
erp_base_erp_svcs-3.0.7 app/models/compass_ae_instance.rb
erp_base_erp_svcs-3.0.6 app/models/compass_ae_instance.rb
erp_base_erp_svcs-3.0.5 app/models/compass_ae_instance.rb
erp_base_erp_svcs-3.0.4 app/models/compass_ae_instance.rb
erp_base_erp_svcs-3.0.3 app/models/compass_ae_instance.rb
erp_base_erp_svcs-3.0.2 app/models/compass_ae_instance.rb
erp_base_erp_svcs-3.0.1 app/models/compass_ae_instance.rb