Sha256: 1d5be7302d7e6b5734e2841d1c6453aabdf7232bcb786dd84696f244a0060d81

Contents?: true

Size: 227 Bytes

Versions: 53

Compression:

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

53 entries across 53 versions & 2 rubygems

Version Path
jacobat-refinerycms-0.9.6.14 vendor/plugins/inquiries/app/models/inquiry_setting.rb
refinerycms-0.9.6.34 vendor/plugins/inquiries/app/models/inquiry_setting.rb
refinerycms-0.9.6.33 vendor/plugins/inquiries/app/models/inquiry_setting.rb
refinerycms-0.9.6.32 vendor/plugins/inquiries/app/models/inquiry_setting.rb
refinerycms-0.9.6.31 vendor/plugins/inquiries/app/models/inquiry_setting.rb
refinerycms-0.9.6.30 vendor/plugins/inquiries/app/models/inquiry_setting.rb
refinerycms-0.9.6.29 vendor/plugins/inquiries/app/models/inquiry_setting.rb
refinerycms-0.9.6.28 vendor/plugins/inquiries/app/models/inquiry_setting.rb
refinerycms-0.9.6.27 vendor/plugins/inquiries/app/models/inquiry_setting.rb
refinerycms-0.9.6.26 vendor/plugins/inquiries/app/models/inquiry_setting.rb
refinerycms-0.9.6.25 vendor/plugins/inquiries/app/models/inquiry_setting.rb
refinerycms-0.9.6.24 vendor/plugins/inquiries/app/models/inquiry_setting.rb
refinerycms-0.9.6.23 vendor/plugins/inquiries/app/models/inquiry_setting.rb
refinerycms-0.9.6.22 vendor/plugins/inquiries/app/models/inquiry_setting.rb
refinerycms-0.9.6.21 vendor/plugins/inquiries/app/models/inquiry_setting.rb
refinerycms-0.9.6.19 vendor/plugins/inquiries/app/models/inquiry_setting.rb
refinerycms-0.9.6.18 vendor/plugins/inquiries/app/models/inquiry_setting.rb
refinerycms-0.9.6.17 vendor/plugins/inquiries/app/models/inquiry_setting.rb
refinerycms-0.9.6.16 vendor/plugins/inquiries/app/models/inquiry_setting.rb
refinerycms-0.9.6.15 vendor/plugins/inquiries/app/models/inquiry_setting.rb