Class: TerraformWrapper::Shared::Backends::Local
- Includes:
- Logging
- Defined in:
- lib/terraform-wrapper/shared/backends/local.rb
Constant Summary collapse
- @@type =
'local'
Instance Attribute Summary collapse
-
#path ⇒ Object
readonly
Returns the value of attribute path.
Instance Method Summary collapse
- #hash ⇒ Object
-
#initialize(options:, variables:) ⇒ Local
constructor
A new instance of Local.
Methods included from Logging
configure_logger_for, logger_for
Methods inherited from Common
Constructor Details
#initialize(options:, variables:) ⇒ Local
Returns a new instance of Local.
27 28 29 |
# File 'lib/terraform-wrapper/shared/backends/local.rb', line 27 def initialize(options:, variables:) construct(options: , variables: variables) end |
Instance Attribute Details
#path ⇒ Object (readonly)
Returns the value of attribute path.
23 24 25 |
# File 'lib/terraform-wrapper/shared/backends/local.rb', line 23 def path @path end |
Instance Method Details
#hash ⇒ Object
33 34 35 36 37 |
# File 'lib/terraform-wrapper/shared/backends/local.rb', line 33 def hash { 'path' => @path } end |