Exception: Vigiles::Archive::Request::InvalidParameterError

Inherits:
StandardError
  • Object
show all
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

Instance Method Summary collapse

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

#parameterObject (readonly)

Returns the value of attribute parameter.



16
17
18
# File 'lib/vigiles/archive/request.rb', line 16

def parameter
  @parameter
end