Sha256: 101b692268553719685af69d2d717331d620c6bc6e8d0fc003dbae5465b17249

Contents?: true

Size: 227 Bytes

Versions: 3

Compression:

Stored size: 227 Bytes

Contents

# 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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
trav3-1.0.0 lib/trav3/response/request_error.rb
trav3-0.5.1 lib/trav3/response/request_error.rb
trav3-0.5.0 lib/trav3/response/request_error.rb