Class: VMCAppfog::Import
- Inherits:
-
VMC::CLI
- Object
- VMC::CLI
- VMCAppfog::Import
- Defined in:
- lib/appfog-vmc-plugin/commands/import.rb
Instance Method Summary collapse
Instance Method Details
#import_service ⇒ Object
8 9 10 11 12 13 14 15 16 17 18 19 20 |
# File 'lib/appfog-vmc-plugin/commands/import.rb', line 8 def import_service service = input[:service] url = input[:url] import_info = with_progress("Importing data to service #{c(service.name, :name)}") do client.import_service(service.name, url) end line unless quiet? line "Data imported to #{c(service.name, :name)} successfully " end |