Class: Cloudflare::Wrapper

Inherits:
Async::REST::Wrapper::JSON
  • Object
show all
Defined in:
lib/cloudflare/representation.rb

Direct Known Subclasses

KV::Wrapper

Instance Method Summary collapse

Instance Method Details

#process_response(request, response) ⇒ Object



31
32
33
34
35
36
37
# File 'lib/cloudflare/representation.rb', line 31

def process_response(request, response)
	super
	
	if response.failure?
		raise RequestError.new(request, response.read)
	end
end