Exception: Gorynich::UriNotFound
- Defined in:
- lib/gorynich.rb
Instance Attribute Summary collapse
-
#uri ⇒ Object
readonly
Returns the value of attribute uri.
Instance Method Summary collapse
-
#initialize(uri, message = nil) ⇒ UriNotFound
constructor
A new instance of UriNotFound.
Constructor Details
#initialize(uri, message = nil) ⇒ UriNotFound
Returns a new instance of UriNotFound.
27 28 29 30 31 |
# File 'lib/gorynich.rb', line 27 def initialize(uri, = nil) @uri = uri super( || I18n.t('gorynich.uri_not_found', uri: @tenant, default: "URI #{@uri} not found")) end |
Instance Attribute Details
#uri ⇒ Object (readonly)
Returns the value of attribute uri.
25 26 27 |
# File 'lib/gorynich.rb', line 25 def uri @uri end |