Exception: Renderful::Error::EntryNotFoundError
- Defined in:
- lib/renderful/error/entry_not_found_error.rb
Instance Attribute Summary collapse
-
#entry_id ⇒ Object
readonly
Returns the value of attribute entry_id.
Instance Method Summary collapse
-
#initialize(entry_id, *args) ⇒ EntryNotFoundError
constructor
A new instance of EntryNotFoundError.
Constructor Details
#initialize(entry_id, *args) ⇒ EntryNotFoundError
Returns a new instance of EntryNotFoundError.
8 9 10 11 12 |
# File 'lib/renderful/error/entry_not_found_error.rb', line 8 def initialize(entry_id, *args) @entry_id = entry_id super "Cannot find entry #{@entry_id}", *args end |
Instance Attribute Details
#entry_id ⇒ Object (readonly)
Returns the value of attribute entry_id.
6 7 8 |
# File 'lib/renderful/error/entry_not_found_error.rb', line 6 def entry_id @entry_id end |