Module: Fdbq

Defined in:
lib/fdbq/fdbq.rb,
lib/fdbq/rails.rb,
lib/fdbq/plugin.rb,
lib/fdbq/railtie.rb,
lib/fdbq/version.rb,
lib/fdbq/question.rb,
lib/fdbq/rails/engine.rb,
lib/fdbq/rails/helpers.rb,
lib/fdbq/rails/version.rb,
app/models/fdbq/feedback.rb,
app/controllers/fdbq/feedback_controller.rb,
lib/generators/fdbq/rails/install_generator.rb

Defined Under Namespace

Modules: Rails Classes: Feedback, FeedbackController, Plugin, Question, Railtie

Constant Summary collapse

VERSION =
'0.1.0'

Class Method Summary collapse

Class Method Details

.configure(&block) ⇒ Object



12
13
14
# File 'lib/fdbq/fdbq.rb', line 12

def self.configure(&block)
  Plugin.instance.instance_eval(&block)
end

.current_instanceObject



16
17
18
# File 'lib/fdbq/fdbq.rb', line 16

def self.current_instance
  Plugin.instance.settings
end

.param_keyObject



4
5
6
# File 'lib/fdbq/fdbq.rb', line 4

def self.param_key
  Plugin.instance.param_key
end

.questionsObject



8
9
10
# File 'lib/fdbq/fdbq.rb', line 8

def self.questions
  Plugin.instance.questions
end