Class: Decidim::OAuthApplication

Inherits:
Doorkeeper::Application
  • Object
show all
Includes:
HasUploadValidations, Loggable, Traceable
Defined in:
app/models/decidim/oauth_application.rb

Class Method Summary collapse

Instance Method Summary collapse

Methods included from HasUploadValidations

#attached_uploader, #maximum_avatar_size, #maximum_upload_size

Class Method Details

.log_presenter_class_for(_log) ⇒ Object



22
23
24
# File 'app/models/decidim/oauth_application.rb', line 22

def self.log_presenter_class_for(_log)
  Decidim::AdminLog::OAuthApplicationPresenter
end

Instance Method Details

#ownerObject



14
15
16
# File 'app/models/decidim/oauth_application.rb', line 14

def owner
  organization
end

#typeObject



18
19
20
# File 'app/models/decidim/oauth_application.rb', line 18

def type
  "Decidim::OAuthApplication"
end