class CapistranoCloudfoundry::Target

Attributes

url[R]

Public Class Methods

new(url,user,passwd) click to toggle source
# File lib/capistrano-cloudfoundry/target.rb, line 6
def initialize(url,user,passwd)
  @url = url
  #set up the client
  #vmc target
  `vmc target #{url}`
  #vmc login
  `vmc login --user #{user} --passwd #{passwd}`
end