Module: Disclaimer

Defined in:
lib/disclaimer.rb,
lib/disclaimer/engine.rb,
lib/disclaimer/version.rb,
app/models/disclaimer/segment.rb,
app/models/disclaimer/document.rb,
app/models/disclaimer/segment_holder.rb,
app/helpers/disclaimer/segments_helper.rb,
app/helpers/disclaimer/documents_helper.rb,
app/helpers/disclaimer/application_helper.rb,
app/controllers/disclaimer/segments_controller.rb,
app/controllers/disclaimer/documents_controller.rb,
app/controllers/disclaimer/application_controller.rb

Defined Under Namespace

Modules: ApplicationHelper, DocumentsHelper, SegmentsHelper Classes: ApplicationController, Document, DocumentsController, Engine, Segment, SegmentHolder, SegmentsController

Constant Summary collapse

ACCEPTED =
:accepted
VERSION =
"0.1.1"

Class Method Summary collapse

Class Method Details

.enable_crud!Object



11
12
13
# File 'lib/disclaimer.rb', line 11

def self.enable_crud!
  @enable_crud = true
end

.enable_crud?Boolean

Returns:

  • (Boolean)


7
8
9
# File 'lib/disclaimer.rb', line 7

def self.enable_crud?
  @enable_crud
end

.host_app_root_pathObject



15
16
17
# File 'lib/disclaimer.rb', line 15

def self.host_app_root_path
  @host_app_root_path
end

.host_app_root_path=(path) ⇒ Object



19
20
21
# File 'lib/disclaimer.rb', line 19

def self.host_app_root_path=(path)
  @host_app_root_path = path
end