Exception: Doorkeeper::Errors::MissingRequiredParameter

Inherits:
DoorkeeperError
  • Object
show all
Defined in:
lib/doorkeeper/errors.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from DoorkeeperError

translate_options

Constructor Details

#initialize(missing_param) ⇒ MissingRequiredParameter

Returns a new instance of MissingRequiredParameter.



30
31
32
33
# File 'lib/doorkeeper/errors.rb', line 30

def initialize(missing_param)
  super
  @missing_param = missing_param
end

Instance Attribute Details

#missing_paramObject (readonly)

Returns the value of attribute missing_param.



28
29
30
# File 'lib/doorkeeper/errors.rb', line 28

def missing_param
  @missing_param
end

Instance Method Details

#typeObject



35
36
37
# File 'lib/doorkeeper/errors.rb', line 35

def type
  :invalid_request
end