Exception: Renderful::Error::EntryNotFoundError

Inherits:
Base
  • Object
show all
Defined in:
lib/renderful/error/entry_not_found_error.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_idObject (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