Exception: Fig::URLAccessDisallowedError

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

Overview

Package definition attempted to specify a URL outside of the whitelist.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(urls, descriptor) ⇒ URLAccessDisallowedError

Returns a new instance of URLAccessDisallowedError.



10
11
12
13
# File 'lib/fig/url_access_disallowed_error.rb', line 10

def initialize(urls, descriptor)
  @urls       = urls
  @descriptor = descriptor
end

Instance Attribute Details

#descriptorObject (readonly)

Returns the value of attribute descriptor.



8
9
10
# File 'lib/fig/url_access_disallowed_error.rb', line 8

def descriptor
  @descriptor
end

#urlsObject (readonly)

Returns the value of attribute urls.



8
9
10
# File 'lib/fig/url_access_disallowed_error.rb', line 8

def urls
  @urls
end