Class: Dd2tf::Import::Base
- Inherits:
-
Object
- Object
- Dd2tf::Import::Base
- Defined in:
- lib/dd2tf/import/base.rb
Defined Under Namespace
Classes: NotImplementedError
Instance Method Summary collapse
-
#initialize(client) ⇒ Base
constructor
A new instance of Base.
- #print ⇒ Object
Constructor Details
#initialize(client) ⇒ Base
Returns a new instance of Base.
10 11 12 |
# File 'lib/dd2tf/import/base.rb', line 10 def initialize(client) @client = client end |
Instance Method Details
#print ⇒ Object
14 15 16 17 18 19 |
# File 'lib/dd2tf/import/base.rb', line 14 def print resources.each do |resource| puts "terraform import #{resource_type}.#{resource[:resource_name]} #{resource[:resource_id]}" end nil end |