Class: TerraspacePluginAzurerm::Interfaces::Backend::Base
- Inherits:
-
Object
- Object
- TerraspacePluginAzurerm::Interfaces::Backend::Base
show all
- Extended by:
- Memoist
- Defined in:
- lib/terraspace_plugin_azurerm/interfaces/backend/base.rb
Instance Method Summary
collapse
Constructor Details
#initialize(info) ⇒ Base
Returns a new instance of Base.
5
6
7
8
9
10
|
# File 'lib/terraspace_plugin_azurerm/interfaces/backend/base.rb', line 5
def initialize(info)
@info = info
@resource_group_name = @info["resource_group_name"]
@storage_account_name = @info["storage_account_name"]
@container_name = @info["container_name"]
end
|
Instance Method Details
#azure_info ⇒ Object
16
17
18
|
# File 'lib/terraspace_plugin_azurerm/interfaces/backend/base.rb', line 16
def azure_info
AzureInfo
end
|
#logger ⇒ Object
21
22
23
|
# File 'lib/terraspace_plugin_azurerm/interfaces/backend/base.rb', line 21
def logger
Terraspace.logger
end
|