Class: Collab::Config
- Inherits:
-
Object
- Object
- Collab::Config
- Defined in:
- lib/collab/config.rb
Instance Attribute Summary collapse
-
#base_job ⇒ Object
Returns the value of attribute base_job.
-
#base_record ⇒ Object
Returns the value of attribute base_record.
-
#channel ⇒ Object
Returns the value of attribute channel.
-
#commit_job ⇒ Object
Returns the value of attribute commit_job.
-
#commit_model ⇒ Object
Returns the value of attribute commit_model.
-
#document_model ⇒ Object
Returns the value of attribute document_model.
-
#max_commit_history_length ⇒ Object
Returns the value of attribute max_commit_history_length.
-
#num_js_processes ⇒ Object
Returns the value of attribute num_js_processes.
-
#schema_package ⇒ Object
Returns the value of attribute schema_package.
Instance Method Summary collapse
-
#initialize ⇒ Config
constructor
A new instance of Config.
Constructor Details
#initialize ⇒ Config
Returns a new instance of Config.
28 29 30 31 32 |
# File 'lib/collab/config.rb', line 28 def initialize self.commit_job = "Collab::CommitJob" self.document_model = "Collab::Models::Document" self.commit_model = "Collab::Models::Commit" end |
Instance Attribute Details
#base_job ⇒ Object
Returns the value of attribute base_job.
18 19 20 |
# File 'lib/collab/config.rb', line 18 def base_job @base_job end |
#base_record ⇒ Object
Returns the value of attribute base_record.
18 19 20 |
# File 'lib/collab/config.rb', line 18 def base_record @base_record end |
#channel ⇒ Object
Returns the value of attribute channel.
18 19 20 |
# File 'lib/collab/config.rb', line 18 def channel @channel end |
#commit_job ⇒ Object
Returns the value of attribute commit_job.
18 19 20 |
# File 'lib/collab/config.rb', line 18 def commit_job @commit_job end |
#commit_model ⇒ Object
Returns the value of attribute commit_model.
18 19 20 |
# File 'lib/collab/config.rb', line 18 def commit_model @commit_model end |
#document_model ⇒ Object
Returns the value of attribute document_model.
18 19 20 |
# File 'lib/collab/config.rb', line 18 def document_model @document_model end |
#max_commit_history_length ⇒ Object
Returns the value of attribute max_commit_history_length.
18 19 20 |
# File 'lib/collab/config.rb', line 18 def max_commit_history_length @max_commit_history_length end |
#num_js_processes ⇒ Object
Returns the value of attribute num_js_processes.
18 19 20 |
# File 'lib/collab/config.rb', line 18 def num_js_processes @num_js_processes end |
#schema_package ⇒ Object
Returns the value of attribute schema_package.
18 19 20 |
# File 'lib/collab/config.rb', line 18 def schema_package @schema_package end |