Sha256: 2b1d2ef0edfcb589130575a8b48cb11acc92002c18f0712be8b09db6d0797f34
Contents?: true
Size: 662 Bytes
Versions: 14
Compression:
Stored size: 662 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 validates_upload :organization_logo mount_uploader :organization_logo, 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
14 entries across 14 versions & 1 rubygems