Exception: Vigiles::Archive::Request::InvalidParameterError
- Inherits:
-
StandardError
- Object
- StandardError
- Vigiles::Archive::Request::InvalidParameterError
- Defined in:
- lib/vigiles/archive/request.rb
Overview
raised when some request parameters are either bad/invalid or absent. for example, it is required the request url always be present, and have either http or https scheme.
Instance Attribute Summary collapse
-
#parameter ⇒ Object
readonly
Returns the value of attribute parameter.
Instance Method Summary collapse
-
#initialize(parameter) ⇒ InvalidParameterError
constructor
A new instance of InvalidParameterError.
Constructor Details
#initialize(parameter) ⇒ InvalidParameterError
Returns a new instance of InvalidParameterError.
19 20 21 22 |
# File 'lib/vigiles/archive/request.rb', line 19 def initialize(parameter) @parameter = parameter super end |
Instance Attribute Details
#parameter ⇒ Object (readonly)
Returns the value of attribute parameter.
16 17 18 |
# File 'lib/vigiles/archive/request.rb', line 16 def parameter @parameter end |