Class: Decidim::OAuthApplication

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

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.log_presenter_class_for(_log) ⇒ Object



20
21
22
# File 'app/models/decidim/oauth_application.rb', line 20

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

Instance Method Details

#ownerObject



12
13
14
# File 'app/models/decidim/oauth_application.rb', line 12

def owner
  organization
end

#typeObject



16
17
18
# File 'app/models/decidim/oauth_application.rb', line 16

def type
  "Decidim::OAuthApplication"
end