mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-22 21:46:22 +00:00
12 lines
289 B
Ruby
12 lines
289 B
Ruby
# frozen_string_literal: true
|
|
|
|
# Política de aceptación de colaboradorxs
|
|
CollaborationPolicy = Struct.new(:usuarie, :collaboration) do
|
|
def collaborate?
|
|
collaboration.site.colaboracion_anonima
|
|
end
|
|
|
|
def accept_collaboration?
|
|
collaboration.site.colaboracion_anonima
|
|
end
|
|
end
|