Sha256: 04ee530ff783bf7aa18f33f14eee08bc8ee6170149e885b58a04b97811dfce0b

Contents?: true

Size: 282 Bytes

Versions: 11

Compression:

Stored size: 282 Bytes

Contents

# frozen_string_literal: true

module SecureNative
  class HttpResponse
    attr_reader :ok, :status_code, :body
    attr_writer :ok, :status_code, :body

    def initialize(ok, status_code, body)
      @ok = ok
      @status_code = status_code
      @body = body
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
securenative-0.1.40 lib/securenative/http_response.rb
securenative-0.1.39 lib/securenative/http_response.rb
securenative-0.1.38 lib/securenative/http_response.rb
securenative-0.1.37 lib/securenative/http_response.rb
securenative-0.1.36 lib/securenative/http_response.rb
securenative-0.1.35 lib/securenative/http_response.rb
securenative-0.1.34 lib/securenative/http_response.rb
securenative-0.1.33 lib/securenative/http_response.rb
securenative-0.1.32 lib/securenative/http_response.rb
securenative-0.1.31 lib/securenative/http_response.rb
securenative-0.1.30 lib/securenative/http_response.rb