Class: CloudRailSi::ServiceCode::Clone
- Inherits:
-
Object
- Object
- CloudRailSi::ServiceCode::Clone
- Defined in:
- lib/cloudrail_si/servicecode/commands/Clone.rb
Instance Method Summary collapse
Instance Method Details
#execute(environment, parameters) ⇒ Object
10 11 12 13 14 15 |
# File 'lib/cloudrail_si/servicecode/commands/Clone.rb', line 10 def execute(environment, parameters) Helper.assert(parameters.length == 2 && Helper.is_var_address(parameters[0])) target_id = parameters[0] source_obj = Helper.resolve(environment, parameters[1]) raise Errors::InternalError.new('Clone not implemented') end |
#get_identifier ⇒ Object
6 7 8 |
# File 'lib/cloudrail_si/servicecode/commands/Clone.rb', line 6 def get_identifier return 'clone' end |