Class: Deployinator::DeployinatorApp

Inherits:
Sinatra::Base
  • Object
show all
Defined in:
lib/deployinator/app.rb

Instance Method Summary collapse

Instance Method Details

#github_diff_url(params) ⇒ Object



27
28
29
30
31
# File 'lib/deployinator/app.rb', line 27

def github_diff_url(params)
  stack = params[:stack].intern
  gh_info = git_info_for_stack[stack]
  "https://#{which_github_host(stack)}/#{gh_info[:user]}/#{gh_info[:repository]}/compare/#{params[:r1]}...#{params[:r2]}"
end