Exception: Apipie::DefinedParamError

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

Overview

abstract

Direct Known Subclasses

ParamInvalid, ParamMissing

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(param) ⇒ DefinedParamError

Returns a new instance of DefinedParamError.



13
14
15
# File 'lib/apipie/errors.rb', line 13

def initialize(param)
  @param = param
end

Instance Attribute Details

#paramObject

Returns the value of attribute param.



11
12
13
# File 'lib/apipie/errors.rb', line 11

def param
  @param
end