Exception: Feedbook::Errors::ParseFeedError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/feedbook/errors/parse_feed_error.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(url, message) ⇒ ParseFeedError

Returns a new instance of ParseFeedError.



5
6
7
8
# File 'lib/feedbook/errors/parse_feed_error.rb', line 5

def initialize(url, message)
  @url = url
  super(message)
end

Instance Attribute Details

#urlObject (readonly)

Returns the value of attribute url.



4
5
6
# File 'lib/feedbook/errors/parse_feed_error.rb', line 4

def url
  @url
end