Exception: Reviewed::BaseError

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

Direct Known Subclasses

ApiError, ConfigurationError, ResourceNotFound

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(opts = {}) ⇒ BaseError

Returns a new instance of BaseError.



40
41
42
43
# File 'lib/reviewed.rb', line 40

def initialize(opts={})
  @url = opts[:url]
  super(opts[:msg])
end

Instance Attribute Details

#urlObject

Returns the value of attribute url.



38
39
40
# File 'lib/reviewed.rb', line 38

def url
  @url
end