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.



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

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

Instance Attribute Details

#urlObject

Returns the value of attribute url.



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

def url
  @url
end