Class: VMCAppfog::Map
- Inherits:
-
VMC::CLI
- Object
- VMC::CLI
- VMCAppfog::Map
- Defined in:
- lib/appfog-vmc-plugin/commands/map.rb
Instance Method Summary collapse
Instance Method Details
#map ⇒ Object
10 11 12 13 14 15 16 17 18 |
# File 'lib/appfog-vmc-plugin/commands/map.rb', line 10 def map app = input[:app] url = input[:url] with_progress("Updating #{c(app.name, :name)}") do app.urls << url app.update! end end |
#precondition ⇒ Object
3 |
# File 'lib/appfog-vmc-plugin/commands/map.rb', line 3 def precondition; end |