Sha256: 4375390a622faac4593afd1410641090d60a4c8dc612bb83b136b8040e8aefb9
Contents?: true
Size: 580 Bytes
Versions: 30
Compression:
Stored size: 580 Bytes
Contents
# frozen_string_literal: true module Decidim class OAuthApplication < ::Doorkeeper::Application include Decidim::Traceable include Decidim::Loggable belongs_to :organization, foreign_key: "decidim_organization_id", class_name: "Decidim::Organization", inverse_of: :oauth_applications 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
30 entries across 30 versions & 1 rubygems