Sha256: 7523f6a2e78c1dc669c2e234727e4696c5cb73042f6187d8a03fffbad0f08a90
Contents?: true
Size: 364 Bytes
Versions: 8
Compression:
Stored size: 364 Bytes
Contents
# frozen_string_literal: true require "active_model_serializers" module Mihari module Serializers class AlertSerializer < ActiveModel::Serializer attributes :id, :title, :description, :source, :created_at has_many :artifacts, serializer: ArtifactSerializer has_many :tags, through: :taggings, serializer: TagSerializer end end end
Version data entries
8 entries across 8 versions & 1 rubygems