lib/trav3/response/request_error.rb in trav3-0.4.1 vs lib/trav3/response/request_error.rb in trav3-0.5.0
- old
+ new
@@ -1,12 +1,15 @@
# frozen_string_literal: true
module Trav3
+ # (see Response)
class RequestError < Response
+ # @return [Boolean]
def success?
false
end
+ # @return [Boolean]
def failure?
true
end
end
end