Sha256: 1671bf8e72288bb8aa23bae7a05b6ab4c024d507bf47998841b0e82938ec2202

Contents?: true

Size: 230 Bytes

Versions: 28

Compression:

Stored size: 230 Bytes

Contents

class InquirySetting < ActiveRecord::Base
  
  def self.confirmation_body
    find_or_create_by_name("Confirmation Body")
  end

  def self.notification_recipients
    find_or_create_by_name("Notification Recipients")
  end
  
end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
refinerycms-0.9.5.13 vendor/plugins/inquiries/app/models/inquiry_setting.rb
refinerycms-0.9.5.12 vendor/plugins/inquiries/app/models/inquiry_setting.rb
refinerycms-0.9.5.11 vendor/plugins/inquiries/app/models/inquiry_setting.rb
refinerycms-0.9.5.10 vendor/plugins/inquiries/app/models/inquiry_setting.rb
refinerycms-0.9.5.9 vendor/plugins/inquiries/app/models/inquiry_setting.rb
refinerycms-0.9.5.8 vendor/plugins/inquiries/app/models/inquiry_setting.rb
refinerycms-0.9.5.7 vendor/plugins/inquiries/app/models/inquiry_setting.rb
refinerycms-0.9.5.6 vendor/plugins/inquiries/app/models/inquiry_setting.rb
refinerycms-0.9.5.5 vendor/plugins/inquiries/app/models/inquiry_setting.rb
refinerycms-0.9.5.4 vendor/plugins/inquiries/app/models/inquiry_setting.rb
refinerycms-0.9.5.3 vendor/plugins/inquiries/app/models/inquiry_setting.rb
refinerycms-0.9.5.2 vendor/plugins/inquiries/app/models/inquiry_setting.rb
refinerycms-0.9.5.1 vendor/plugins/inquiries/app/models/inquiry_setting.rb
refinerycms-0.9.5 vendor/plugins/inquiries/app/models/inquiry_setting.rb
refinerycms-0.9.4.5 vendor/plugins/inquiries/app/models/inquiry_setting.rb
refinerycms-0.9.4.4 vendor/plugins/inquiries/app/models/inquiry_setting.rb
refinerycms-0.9.4.3 vendor/plugins/inquiries/app/models/inquiry_setting.rb
refinerycms-0.9.4.2 vendor/plugins/inquiries/app/models/inquiry_setting.rb
refinerycms-0.9.4.1 vendor/plugins/inquiries/app/models/inquiry_setting.rb
refinerycms-0.9.4 vendor/plugins/inquiries/app/models/inquiry_setting.rb