Exception: WCC::Blogs::Client::NotFoundError

Inherits:
ApiError
  • Object
show all
Defined in:
lib/wcc/blogs/client/response.rb

Instance Attribute Summary

Attributes inherited from ApiError

#response

Instance Method Summary collapse

Methods inherited from ApiError

[]

Constructor Details

#initialize(response) ⇒ NotFoundError

Returns a new instance of NotFoundError.



103
104
105
# File 'lib/wcc/blogs/client/response.rb', line 103

def initialize(response)
  super(response, "Blog post '#{response.effective_url}' does not exist")
end