Class: Puppet::DataProviders::JsonDataProviderFactory Private
- Inherits:
-
Plugins::DataProviders::FileBasedDataProviderFactory
- Object
- Plugins::DataProviders::PathBasedDataProviderFactory
- Plugins::DataProviders::FileBasedDataProviderFactory
- Puppet::DataProviders::JsonDataProviderFactory
- 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
Methods inherited from Plugins::DataProviders::PathBasedDataProviderFactory
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_extension ⇒ 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.
12 13 14 |
# File 'lib/puppet/data_providers/json_data_provider_factory.rb', line 12 def path_extension '.json' end |