Method: Puppet::DataTypes::Error.from_asserted_hash
- Defined in:
- lib/puppet/datatypes/impl/error.rb
.from_asserted_hash(hash) ⇒ Object
7 8 9 |
# File 'lib/puppet/datatypes/impl/error.rb', line 7 def self.from_asserted_hash(hash) new(hash['msg'], hash['kind'], hash['details'], hash['issue_code']) end |