Class: Dry::System::ProviderSourceRegistry::Registration Private

Inherits:
Object
  • Object
show all
Defined in:
lib/dry/system/provider_source_registry.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 Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(source:, provider_options:) ⇒ Registration

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.

Returns a new instance of Registration.



14
15
16
17
# File 'lib/dry/system/provider_source_registry.rb', line 14

def initialize(source:, provider_options:)
  @source = source
  @provider_options = provider_options
end

Instance Attribute Details

#provider_optionsObject (readonly)

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/dry/system/provider_source_registry.rb', line 12

def provider_options
  @provider_options
end

#sourceObject (readonly)

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.



11
12
13
# File 'lib/dry/system/provider_source_registry.rb', line 11

def source
  @source
end