Class: PuppetX::Puppetlabs::Migration::OverviewModel::LogLevel

Inherits:
NamedEntity show all
Defined in:
lib/puppet_x/puppetlabs/migration/overview_model.rb

Instance Attribute Summary

Attributes inherited from NamedEntity

#name

Class Method Summary collapse

Methods inherited from NamedEntity

#<=>, #initialize

Methods inherited from Entity

#<=>, #eql?, from_hash, #hash, #id, init_relationships, #initialize, many_relationship, #many_relationship, #one_relationship, simple_name

Methods included from ModelObject

#initialize_from_hash, #to_hash

Constructor Details

This class inherits a constructor from PuppetX::Puppetlabs::Migration::OverviewModel::NamedEntity

Class Method Details

.many_rels_hashObject



326
327
328
329
330
331
# File 'lib/puppet_x/puppetlabs/migration/overview_model.rb', line 326

def self.many_rels_hash
  {
    :issues => LogIssue.instance_method(:level_id),
    :log_entries => [LogIssue.instance_method(:level_id), LogMessage.instance_method(:issue_id), LogEntry.instance_method(:message_id) ]
  }
end