Class: Scm::Workflow::CodeCollab

Inherits:
Object
  • Object
show all
Defined in:
lib/scm-workflow/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeCodeCollab

Returns a new instance of CodeCollab.



45
46
47
48
49
50
51
# File 'lib/scm-workflow/configuration.rb', line 45

def initialize
  @execpath = ConfigElement.new("Path to code collab executable", false, "/Applications/ccollab_client/ccollab")
  @serverurl = ConfigElement.new("Code collab server url", false, "https://development-us:8443")
  @username = ConfigElement.new("Code collab username", false, "")
  @reviewers = ConfigElement.new("List of reviewers id, coma separated", false, "")
  @observers = ConfigElement.new("List of observers id, coma separated", false, "")
end

Instance Attribute Details

#app_exec_pathObject

Returns the value of attribute app_exec_path.



39
40
41
# File 'lib/scm-workflow/configuration.rb', line 39

def app_exec_path
  @app_exec_path
end

#observersObject

Returns the value of attribute observers.



43
44
45
# File 'lib/scm-workflow/configuration.rb', line 43

def observers
  @observers
end

#reviewersObject

Returns the value of attribute reviewers.



42
43
44
# File 'lib/scm-workflow/configuration.rb', line 42

def reviewers
  @reviewers
end

#serverurlObject

Returns the value of attribute serverurl.



41
42
43
# File 'lib/scm-workflow/configuration.rb', line 41

def serverurl
  @serverurl
end

#usernameObject

Returns the value of attribute username.



40
41
42
# File 'lib/scm-workflow/configuration.rb', line 40

def username
  @username
end

Instance Method Details

#to_sObject



53
54
55
# File 'lib/scm-workflow/configuration.rb', line 53

def to_s
  return "Specify code collab related information: "
end