Exception: Apipie::DefinedParamError

Inherits:
ParamError show all
Defined in:
lib/apipie/errors.rb

Overview

abstract

Direct Known Subclasses

ParamInvalid, ParamMissing, UnknownParam

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(param) ⇒ DefinedParamError

Returns a new instance of DefinedParamError.



22
23
24
# File 'lib/apipie/errors.rb', line 22

def initialize(param)
  @param = param
end

Instance Attribute Details

#paramObject

Returns the value of attribute param.



20
21
22
# File 'lib/apipie/errors.rb', line 20

def param
  @param
end