Sha256: d99c33c496fbebfec4c7a1f4c831c943898cad6a18d5977c526b2e00190df1b9
Contents?: true
Size: 674 Bytes
Versions: 19
Compression:
Stored size: 674 Bytes
Contents
# frozen_string_literal: true module Decidim class OAuthApplication < ::Doorkeeper::Application include Decidim::Traceable include Decidim::Loggable include Decidim::HasUploadValidations belongs_to :organization, foreign_key: "decidim_organization_id", class_name: "Decidim::Organization", inverse_of: :oauth_applications has_one_attached :organization_logo validates_upload :organization_logo, uploader: OAuthApplicationLogoUploader def owner organization end def type "Decidim::OAuthApplication" end def self.log_presenter_class_for(_log) Decidim::AdminLog::OAuthApplicationPresenter end end end
Version data entries
19 entries across 19 versions & 1 rubygems