Exception: Fig::URLAccessError
- Inherits:
-
UserInputError
- Object
- StandardError
- UserInputError
- Fig::URLAccessError
- Defined in:
- lib/fig/urlaccesserror.rb
Overview
Configuration attempted to specify a URL outside of the whitelist.
Instance Attribute Summary collapse
-
#descriptor ⇒ Object
readonly
Returns the value of attribute descriptor.
-
#urls ⇒ Object
readonly
Returns the value of attribute urls.
Instance Method Summary collapse
-
#initialize(urls, descriptor) ⇒ URLAccessError
constructor
A new instance of URLAccessError.
Constructor Details
#initialize(urls, descriptor) ⇒ URLAccessError
Returns a new instance of URLAccessError.
8 9 10 11 |
# File 'lib/fig/urlaccesserror.rb', line 8 def initialize(urls, descriptor) @urls = urls @descriptor = descriptor end |
Instance Attribute Details
#descriptor ⇒ Object (readonly)
Returns the value of attribute descriptor.
6 7 8 |
# File 'lib/fig/urlaccesserror.rb', line 6 def descriptor @descriptor end |
#urls ⇒ Object (readonly)
Returns the value of attribute urls.
6 7 8 |
# File 'lib/fig/urlaccesserror.rb', line 6 def urls @urls end |