Sha256: 80ff7f11ffc213c3039764106b1e6669ca80a0db5a39d60996fab5385c14ac88
Contents?: true
Size: 443 Bytes
Versions: 3
Compression:
Stored size: 443 Bytes
Contents
# frozen_string_literal: true module Europeana module FeedbackButton class FeedbackMailer < ApplicationMailer include FeedbackHelper def post(text:, type:, page:, ip:) fail Errors::NoRecipient unless feedback_enabled? @text = text @type = type @page = page @ip = ip mail(to: Rails.application.config.x.feedback_mail_to, subject: 'User feedback') end end end end
Version data entries
3 entries across 3 versions & 1 rubygems