Sha256: aabab351f28478b88690047c3f0533c96bc0c751f4f526f7d5586983572bb8fe

Contents?: true

Size: 455 Bytes

Versions: 2

Compression:

Stored size: 455 Bytes

Contents

class SecureNativeContext
  attr_reader :client_token, :ip, :remote_ip, :headers, :url, :method, :body
  attr_writer :client_token, :ip, :remote_ip, :headers, :url, :method, :body

  def initialize(client_token = nil, ip = nil, remote_ip = nil, headers = nil, url = nil, method = nil, body = nil)
    @client_token = client_token
    @ip = ip
    @remote_ip = remote_ip
    @headers = headers
    @url = url
    @method = method
    @body = body
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
securenative-0.1.17 lib/securenative/context/securenative_context.rb
securenative-0.1.16 lib/securenative/context/securenative_context.rb