Class: PuppetX::Puppetlabs::Migration::CatalogDeltaModel::DeltaEntity

Inherits:
Object
  • Object
show all
Includes:
ModelObject
Defined in:
lib/puppet_x/puppetlabs/migration/catalog_delta_model.rb

Direct Known Subclasses

Diff, Exclude, Location

Class Method Summary collapse

Methods included from ModelObject

#initialize_from_hash, #to_hash

Class Method Details

.from_hash(hash) ⇒ Object



8
9
10
11
12
# File 'lib/puppet_x/puppetlabs/migration/catalog_delta_model.rb', line 8

def self.from_hash(hash)
  instance = allocate
  instance.initialize_from_hash(hash)
  instance
end