Class: Scm::Workflow::CodeCollab
- Inherits:
-
Object
- Object
- Scm::Workflow::CodeCollab
- Defined in:
- lib/scm-workflow/configuration.rb
Instance Attribute Summary collapse
-
#app_exec_path ⇒ Object
Returns the value of attribute app_exec_path.
-
#observers ⇒ Object
Returns the value of attribute observers.
-
#reviewers ⇒ Object
Returns the value of attribute reviewers.
-
#serverurl ⇒ Object
Returns the value of attribute serverurl.
-
#username ⇒ Object
Returns the value of attribute username.
Instance Method Summary collapse
-
#initialize ⇒ CodeCollab
constructor
A new instance of CodeCollab.
- #to_s ⇒ Object
Constructor Details
#initialize ⇒ CodeCollab
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_path ⇒ Object
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 |
#observers ⇒ Object
Returns the value of attribute observers.
43 44 45 |
# File 'lib/scm-workflow/configuration.rb', line 43 def observers @observers end |
#reviewers ⇒ Object
Returns the value of attribute reviewers.
42 43 44 |
# File 'lib/scm-workflow/configuration.rb', line 42 def reviewers @reviewers end |
#serverurl ⇒ Object
Returns the value of attribute serverurl.
41 42 43 |
# File 'lib/scm-workflow/configuration.rb', line 41 def serverurl @serverurl end |
#username ⇒ Object
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_s ⇒ Object
53 54 55 |
# File 'lib/scm-workflow/configuration.rb', line 53 def to_s return "Specify code collab related information: " end |