Exception: Doorkeeper::Errors::MissingRequiredParameter

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(missing_param) ⇒ MissingRequiredParameter

Returns a new instance of MissingRequiredParameter.


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

def initialize(missing_param)
  super
  @missing_param = missing_param
end

Instance Attribute Details

#missing_paramObject (readonly)

Returns the value of attribute missing_param


24
25
26
# File 'lib/doorkeeper/errors.rb', line 24

def missing_param
  @missing_param
end

Instance Method Details

#typeObject


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

def type
  :invalid_request
end