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



33
34
35
# File 'app/models/decidim/oauth_application.rb', line 33

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

Instance Method Details

#ownerObject



25
26
27
# File 'app/models/decidim/oauth_application.rb', line 25

def owner
  organization
end

#typeObject



29
30
31
# File 'app/models/decidim/oauth_application.rb', line 29

def type
  "Decidim::OAuthApplication"
end