class CF::Route::Routes
Public Instance Methods
routes()
click to toggle source
# File lib/cf/cli/route/routes.rb, line 8 def routes # TODO: scope to space once space.routes is possible routes = with_progress("Getting routes") do client.routes end line unless quiet? table( %w{host domain}, routes.sort_by { |r| "#{r.domain.name} #{r.host}" }.collect { |r| [c(r.host, :name), r.domain.name ] }) end