Sha256: d40e679c7a2401bac10bc3f745bc7ae22fd9bdf0b86e282d40e2a24205aca3e9

Contents?: true

Size: 240 Bytes

Versions: 4

Compression:

Stored size: 240 Bytes

Contents

class Terraspace::Cloud::Ci::Vcs
  class Bitbucket < Base
    def commit_url
      "#{host}/#{full_repo}/commits/#{sha}" if sha
    end

    def branch_url
      "#{host}/#{full_repo}/branch/#{branch_name}" if branch_name
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
terraspace-2.0.3 lib/terraspace/cloud/ci/vcs/bitbucket.rb
terraspace-2.0.2 lib/terraspace/cloud/ci/vcs/bitbucket.rb
terraspace-2.0.1 lib/terraspace/cloud/ci/vcs/bitbucket.rb
terraspace-2.0.0 lib/terraspace/cloud/ci/vcs/bitbucket.rb