5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-23 01:46:21 +00:00
panel/app/models/activity_pub/actor.rb

16 lines
324 B
Ruby
Raw Permalink Normal View History

# frozen_string_literal: true
# = Actor =
#
# Actor es la entidad que realiza acciones en ActivityPub
#
# @todo Obtener el perfil dinámicamente
2024-02-21 15:46:38 +00:00
class ActivityPub
class Actor < ApplicationRecord
include ActivityPub::Concerns::JsonLdConcern
2024-02-21 15:46:38 +00:00
belongs_to :instance
has_many :activity_pubs, as: :object
end
end