Method: ChefLicensing::LicenseFile::Base.migrate_structure

Defined in:
lib/chef-licensing/license_key_fetcher/license_file/base.rb

.migrate_structure(contents, version) ⇒ Hash

Returns The contents of the license file after migration.

Parameters:

  • contents: (Hash)

    The contents of the license file

  • version: (Integer)

    The version of the license file

Returns:

  • (Hash)

    The contents of the license file after migration

Raises:

  • (NotImplementedError)


58
59
60
# File 'lib/chef-licensing/license_key_fetcher/license_file/base.rb', line 58

def self.migrate_structure(contents, version)
  raise NotImplementedError, "#{self.class} has not implemented method '#{__method__}'"
end