Skip to Content Skip to Search
Methods
A

Constants

STATUSES = %w[ delivery_blank job_expired member_notifications_off not_authorized queued record_expired sent unauthorized ].freeze
 

Instance Public methods

available_content=(content)

# File app/models/db/available_content_email.rb, line 21
def available_content=(content)
  super(
    Notifications::ContentSerializer.new(Array(content))
      .as_json
      .sort_by { |json| json[:url] }
  )
end