Sha256: 25191484feaea611a6c15472dd385ebe3e5529b5d0b94bd240da12d36ac87d71

Contents?: true

Size: 530 Bytes

Versions: 15

Compression:

Stored size: 530 Bytes

Contents

# frozen_string_literal: true

module SecureNative
  class RequestContext
    attr_reader :cid, :vid, :fp, :ip, :remote_ip, :headers, :url, :http_method
    attr_writer :cid, :vid, :fp, :ip, :remote_ip, :headers, :url, :http_method

    def initialize(cid: nil, vid: nil, fp: nil, ip: nil, remote_ip: nil, headers: nil, url: nil, http_method: nil)
      @cid = cid
      @vid = vid
      @fp = fp
      @ip = ip
      @remote_ip = remote_ip
      @headers = headers
      @url = url
      @method = http_method
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
securenative-0.1.40 lib/securenative/request_context.rb
securenative-0.1.39 lib/securenative/request_context.rb
securenative-0.1.38 lib/securenative/request_context.rb
securenative-0.1.37 lib/securenative/request_context.rb
securenative-0.1.36 lib/securenative/request_context.rb
securenative-0.1.35 lib/securenative/request_context.rb
securenative-0.1.34 lib/securenative/request_context.rb
securenative-0.1.33 lib/securenative/request_context.rb
securenative-0.1.32 lib/securenative/request_context.rb
securenative-0.1.31 lib/securenative/request_context.rb
securenative-0.1.30 lib/securenative/request_context.rb
securenative-0.1.28 lib/securenative/models/request_context.rb
securenative-0.1.27 lib/securenative/models/request_context.rb
securenative-0.1.26 lib/securenative/models/request_context.rb
securenative-0.1.24 lib/securenative/models/request_context.rb