Class: Collab::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/collab/config.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfig

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_jobObject

Returns the value of attribute base_job.



18
19
20
# File 'lib/collab/config.rb', line 18

def base_job
  @base_job
end

#base_recordObject

Returns the value of attribute base_record.



18
19
20
# File 'lib/collab/config.rb', line 18

def base_record
  @base_record
end

#channelObject

Returns the value of attribute channel.



18
19
20
# File 'lib/collab/config.rb', line 18

def channel
  @channel
end

#commit_jobObject

Returns the value of attribute commit_job.



18
19
20
# File 'lib/collab/config.rb', line 18

def commit_job
  @commit_job
end

#commit_modelObject

Returns the value of attribute commit_model.



18
19
20
# File 'lib/collab/config.rb', line 18

def commit_model
  @commit_model
end

#document_modelObject

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_lengthObject

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_processesObject

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_packageObject

Returns the value of attribute schema_package.



18
19
20
# File 'lib/collab/config.rb', line 18

def schema_package
  @schema_package
end