Method: Cid::Helpers::Github#latest_commit
- Defined in:
- lib/cid/helpers/github.rb
#latest_commit(branch_name) ⇒ Object
34 35 36 37 |
# File 'lib/cid/helpers/github.rb', line 34 def latest_commit(branch_name) branch_data = github.repos.branch user, repo, branch_name branch_data['commit']['sha'] end |