Sha256: 8c8f07646b10b4e57487473bb0161fea714c02aa054a76214ac4a4b4b8be3c67

Contents?: true

Size: 401 Bytes

Versions: 10

Compression:

Stored size: 401 Bytes

Contents

class Property::Spamassassin< Property

  def self.service; SPAMASSASSIN ;end

  default_scope where(:service => self.service)


  def self.preference_template(a, locals)
    a.edit :file => "#{etc_sa}/local.cf" do
      locals.each do |key, value|
        delete /^#{key}.*$/
        append "#{key} #{value}"
      end
    end
  end


protected

  def self.etc_sa
    '/etc/spamassassin'
  end


end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
rmails-0.2.5 app/models/property/spamassassin.rb
rmails-0.2.4 app/models/property/spamassassin.rb
rmails-0.2.3 app/models/property/spamassassin.rb
rmails-0.2.2 app/models/property/spamassassin.rb
rmails-0.2.1 app/models/property/spamassassin.rb
rmails-0.2.0 app/models/property/spamassassin.rb
rmails-0.1.6 app/models/property/spamassassin.rb
rmails-0.1.5 app/models/property/spamassassin.rb
rmails-0.1.4 app/models/property/spamassassin.rb
rmails-0.1.3 app/models/property/spamassassin.rb