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
-
#package ⇒ Object
readonly
Returns the value of attribute package.
-
#urls ⇒ Object
readonly
Returns the value of attribute urls.
-
#version ⇒ Object
readonly
Returns the value of attribute version.
Instance Method Summary collapse
-
#initialize(urls, package, version) ⇒ URLAccessError
constructor
A new instance of URLAccessError.
Constructor Details
#initialize(urls, package, version) ⇒ URLAccessError
Returns a new instance of URLAccessError.
8 9 10 11 12 |
# File 'lib/fig/urlaccesserror.rb', line 8 def initialize(urls, package, version) @urls = urls @package = package @version = version end |
Instance Attribute Details
#package ⇒ Object (readonly)
Returns the value of attribute package.
6 7 8 |
# File 'lib/fig/urlaccesserror.rb', line 6 def package @package end |
#urls ⇒ Object (readonly)
Returns the value of attribute urls.
6 7 8 |
# File 'lib/fig/urlaccesserror.rb', line 6 def urls @urls end |
#version ⇒ Object (readonly)
Returns the value of attribute version.
6 7 8 |
# File 'lib/fig/urlaccesserror.rb', line 6 def version @version end |