Exception: Fig::URLAccessError

Inherits:
UserInputError show all
Defined in:
lib/fig/urlaccesserror.rb

Overview

Configuration attempted to specify a URL outside of the whitelist.

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#packageObject (readonly)

Returns the value of attribute package.



6
7
8
# File 'lib/fig/urlaccesserror.rb', line 6

def package
  @package
end

#urlsObject (readonly)

Returns the value of attribute urls.



6
7
8
# File 'lib/fig/urlaccesserror.rb', line 6

def urls
  @urls
end

#versionObject (readonly)

Returns the value of attribute version.



6
7
8
# File 'lib/fig/urlaccesserror.rb', line 6

def version
  @version
end