class PeopleDoc::ResponseHandlers::HandleNotFound

Public Instance Methods

call() click to toggle source
# File lib/people_doc/response_handlers.rb, line 18
def call
  fail NotFound.new(@httparty.body) if @httparty.code == 404
end