module Refinery::Inquiries

Attributes

root[W]

Public Class Methods

factory_paths() click to toggle source
# File lib/refinery/inquiries.rb, line 20
def factory_paths
  @factory_paths ||= [ root.join("spec/factories").to_s ]
end
filter_spam() click to toggle source
# File lib/refinery/inquiries/configuration.rb, line 24
def self.filter_spam
  config.filter_spam && config.recaptcha_site_key.blank?
end
root() click to toggle source
# File lib/refinery/inquiries.rb, line 16
def root
  @root ||= Pathname.new(File.expand_path('../../../', __FILE__))
end