Class: Doorkeeper::OAuth::ClientCredentialsRequest::Validation

Inherits:
Object
  • Object
show all
Includes:
Helpers, Validations
Defined in:
lib/doorkeeper/oauth/client_credentials/validation.rb

Instance Attribute Summary

Attributes included from Validations

#error

Instance Method Summary collapse

Methods included from Validations

#valid?, #validate

Constructor Details

#initialize(server, request) ⇒ Validation

Returns a new instance of Validation.



15
16
17
18
# File 'lib/doorkeeper/oauth/client_credentials/validation.rb', line 15

def initialize(server, request)
  @server, @request = server, request
  validate
end