Sha256: e3d7462f6de9d7a31025500a5e13f388a8d73008ef0e072fff79ca4aedf0d467
Contents?: true
Size: 1005 Bytes
Versions: 28
Compression:
Stored size: 1005 Bytes
Contents
# frozen_string_literal: true # generado con pg_rails module Admin class EmailsController < AdminController include PgEngine::Resource self.clase_modelo = Email after_action only: :create do if @saved PgEngine::AdminMailer.with(email_object: @email).admin_mail.deliver_later end end private def atributos_permitidos %i[status from_address from_name reply_to to subject body_input associated_id associated_type] end def atributos_para_buscar %i[accepted_at delivered_at opened_at from_address from_name reply_to to subject body_input tags message_id mailer status_detail status] end def atributos_para_listar %i[from_address to subject body_input tags associated status] end def atributos_para_mostrar %i[message_id status status_detail accepted_at delivered_at opened_at from_address from_name reply_to to subject body_input tags associated mailer encoded_eml_link] end end end
Version data entries
28 entries across 28 versions & 1 rubygems