Sha256: 56a30649a2f0380425fc6691883eac4362d0bb08e4e7640c33bb64f181796a2d

Contents?: true

Size: 402 Bytes

Versions: 10

Compression:

Stored size: 402 Bytes

Contents

class WebsiteInquiry < ActiveRecord::Base
  belongs_to :website
  belongs_to :user

  has_dynamic_forms
	has_dynamic_data

  def send_email(subject='')
    begin
      WebsiteInquiryMailer.inquiry(self, subject).deliver
    rescue Exception => e
      system_user = Party.find_by_description('Compass AE')
      AuditLog.custom_application_log_message(system_user, e)
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
knitkit-2.0.11 app/models/website_inquiry.rb
knitkit-2.0.10 app/models/website_inquiry.rb
knitkit-2.0.9 app/models/website_inquiry.rb
knitkit-2.0.7 app/models/website_inquiry.rb
knitkit-2.0.6 app/models/website_inquiry.rb
knitkit-2.0.5 app/models/website_inquiry.rb
knitkit-2.0.4 app/models/website_inquiry.rb
knitkit-2.0.3 app/models/website_inquiry.rb
knitkit-2.0.2 app/models/website_inquiry.rb
knitkit-2.0.1 app/models/website_inquiry.rb