Exception: Gastly::FetchError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/gastly/exceptions.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(url) ⇒ FetchError



5
6
7
# File 'lib/gastly/exceptions.rb', line 5

def initialize(url)
  super("Unable to load #{url}")
end

Instance Attribute Details

#urlObject (readonly)

Returns the value of attribute url.



3
4
5
# File 'lib/gastly/exceptions.rb', line 3

def url
  @url
end