Class: Optimal::CI::Provider::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/optimal/ci/provider/base.rb

Direct Known Subclasses

Circle, Travis

Instance Method Summary collapse

Instance Method Details

#branchObject



25
26
27
# File 'lib/optimal/ci/provider/base.rb', line 25

def branch
  raise "Not Implemented"
end

#build_numberObject



17
18
19
# File 'lib/optimal/ci/provider/base.rb', line 17

def build_number
  raise "Not Implemented"
end

#commit_hashObject



21
22
23
# File 'lib/optimal/ci/provider/base.rb', line 21

def commit_hash
  raise "Not Implemented"
end

#nameObject



5
6
7
# File 'lib/optimal/ci/provider/base.rb', line 5

def name
  self.class.name.split("::").last.downcase
end

#node_indexObject



13
14
15
# File 'lib/optimal/ci/provider/base.rb', line 13

def node_index
  raise "Not Implemented"
end

#total_nodesObject



9
10
11
# File 'lib/optimal/ci/provider/base.rb', line 9

def total_nodes
  raise "Not Implemented"
end