Class: TerraformWrapper::Shared::Provider
- Inherits:
-
Object
- Object
- TerraformWrapper::Shared::Provider
- Includes:
- Logging
- Defined in:
- lib/terraform-wrapper/shared/provider.rb
Instance Attribute Summary collapse
-
#platforms ⇒ Object
readonly
Returns the value of attribute platforms.
Instance Method Summary collapse
-
#initialize(options:) ⇒ Provider
constructor
A new instance of Provider.
Methods included from Logging
configure_logger_for, logger_for
Constructor Details
#initialize(options:) ⇒ Provider
Returns a new instance of Provider.
23 24 25 26 27 |
# File 'lib/terraform-wrapper/shared/provider.rb', line 23 def initialize(options:) logger.fatal("Provider platforms to prefetch hashs for must be an array!") unless ["platforms"].kind_of?(Array) @platforms = ["platforms"] end |
Instance Attribute Details
#platforms ⇒ Object (readonly)
Returns the value of attribute platforms.
19 20 21 |
# File 'lib/terraform-wrapper/shared/provider.rb', line 19 def platforms @platforms end |