Sha256: 3f96211f4c86987ba03575db047cff69811f1e6f9fb744d12bdf9ab9fa4823bd

Contents?: true

Size: 586 Bytes

Versions: 2

Compression:

Stored size: 586 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

  # 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

2 entries across 2 versions & 1 rubygems

Version Path
contact_us-0.4.0 lib/contact_us.rb
contact_us-0.4.0.beta lib/contact_us.rb