module Fuci::Travis::Build::ShaDetectable
Public Instance Methods
detect_build_with_sha(sha)
click to toggle source
# File lib/fuci/travis/build/sha_detectable.rb, line 5 def detect_build_with_sha sha repo_builds.detect { |build| commit(build).sha == sha } end
Private Instance Methods
commit(build)
click to toggle source
# File lib/fuci/travis/build/sha_detectable.rb, line 15 def commit build build.commit end
repo_builds()
click to toggle source
# File lib/fuci/travis/build/sha_detectable.rb, line 11 def repo_builds repo.builds end