Class: Puppet::DataProviders::JsonDataProviderFactory Private

Inherits:
Plugins::DataProviders::FileBasedDataProviderFactory show all
Defined in:
lib/puppet/data_providers/json_data_provider_factory.rb

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Instance Method Summary collapse

Methods inherited from Plugins::DataProviders::FileBasedDataProviderFactory

#resolve_paths

Methods inherited from Plugins::DataProviders::PathBasedDataProviderFactory

#resolve_paths, #version

Instance Method Details

#create(name, paths, parent_data_provider) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



8
9
10
# File 'lib/puppet/data_providers/json_data_provider_factory.rb', line 8

def create(name, paths, parent_data_provider)
  JsonDataProvider.new(name, paths, parent_data_provider)
end

#path_extensionObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



12
13
14
# File 'lib/puppet/data_providers/json_data_provider_factory.rb', line 12

def path_extension
  '.json'
end