Sha256: 4a5133e25f8cb8215120266c2bab6142c11fa9236eb4849cb9f77f9393b52191

Contents?: true

Size: 160 Bytes

Versions: 7

Compression:

Stored size: 160 Bytes

Contents

# frozen_string_literal: true

module Trav3
  class RequestError < Response
    def success?
      false
    end

    def failure?
      true
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
trav3-0.4.1 lib/trav3/response/request_error.rb
trav3-0.4.0 lib/trav3/response/request_error.rb
trav3-0.3.4 lib/trav3/response/request_error.rb
trav3-0.3.3 lib/trav3/response/request_error.rb
trav3-0.3.2 lib/trav3/response/request_error.rb
trav3-0.3.1 lib/trav3/response/request_error.rb
trav3-0.3.0 lib/trav3/response/request_error.rb