Class: ProviderKit::Configuration
- Inherits:
-
Object
- Object
- ProviderKit::Configuration
- Defined in:
- lib/provider_kit/configuration.rb
Instance Attribute Summary collapse
-
#capability_response_format ⇒ Object
Returns the value of attribute capability_response_format.
-
#credentials_key ⇒ Object
Returns the value of attribute credentials_key.
-
#registered_providers ⇒ Object
Returns the value of attribute registered_providers.
-
#type_defaults ⇒ Object
Returns the value of attribute type_defaults.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
default config.
Constructor Details
#initialize ⇒ Configuration
default config
12 13 14 15 16 17 |
# File 'lib/provider_kit/configuration.rb', line 12 def initialize @registered_providers = {} @capability_response_format = :object @type_defaults = {} @credentials_key = nil end |
Instance Attribute Details
#capability_response_format ⇒ Object
Returns the value of attribute capability_response_format.
6 7 8 |
# File 'lib/provider_kit/configuration.rb', line 6 def capability_response_format @capability_response_format end |
#credentials_key ⇒ Object
Returns the value of attribute credentials_key.
7 8 9 |
# File 'lib/provider_kit/configuration.rb', line 7 def credentials_key @credentials_key end |
#registered_providers ⇒ Object
Returns the value of attribute registered_providers.
8 9 10 |
# File 'lib/provider_kit/configuration.rb', line 8 def registered_providers @registered_providers end |
#type_defaults ⇒ Object
Returns the value of attribute type_defaults.
9 10 11 |
# File 'lib/provider_kit/configuration.rb', line 9 def type_defaults @type_defaults end |