Sha256: ff81c8c403b45b6d7ec4461868067922b91f0dcb10ed3b0308c3c427dab882fc

Contents?: true

Size: 660 Bytes

Versions: 7

Compression:

Stored size: 660 Bytes

Contents

module ContactUs
  require 'contact_us/engine'

  # Address ContactUs email notifications are sent from.
  mattr_accessor :mailer_from

  # Address to send ContactUs email notifications to.
  mattr_accessor :mailer_to

  # Enable or Disable name field.
  mattr_accessor :require_name

  # Enable or Disable subject field.
  mattr_accessor :require_subject

  # Formtastic or SimpleForm
  mattr_accessor :form_gem

  # URL after a successful submission
  mattr_accessor :success_redirect

  # Default way to setup ContactUs. Run rake contact_us:install to create
  # a fresh initializer with all configuration values.
  def self.setup
    yield self
  end

end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
contact_us-1.0.1 lib/contact_us.rb
contact_us-1.0.0 lib/contact_us.rb
contact_us-0.5.4 lib/contact_us.rb
contact_us-0.5.3 lib/contact_us.rb
contact_us-0.5.2 lib/contact_us.rb
contact_us-0.5.1 lib/contact_us.rb
contact_us-0.5.0 lib/contact_us.rb