class Dokku::Command::Base

Public Class Methods

app_url() click to toggle source
# File lib/dokku/command/base.rb, line 16
def self.app_url
  "http://#{@app}.#{@cloud}"
end
run(args) click to toggle source
# File lib/dokku/command/base.rb, line 4
def self.run(args)
  setup_cloud_and_app
end
setup_cloud_and_app() click to toggle source
# File lib/dokku/command/base.rb, line 20
def self.setup_cloud_and_app
  @remote_url = `git config --get remote.dokku.url`.strip
  @git_user, @cloud, @app = @remote_url.split(/[@:]/)
end
stop_app() click to toggle source
# File lib/dokku/command/base.rb, line 25
def self.stop_app
  
end

Public Instance Methods

app() click to toggle source
# File lib/dokku/command/base.rb, line 12
def app
  @app ||= ""
end
cloud() click to toggle source
# File lib/dokku/command/base.rb, line 8
def cloud
  @cloud ||= ""
end