Sha256: 249a483cf0014c8b2ed619744700869ddd1fbcc13872f0a4633c8db1a1d244c6

Contents?: true

Size: 209 Bytes

Versions: 19

Compression:

Stored size: 209 Bytes

Contents

# frozen_string_literal: true

module QuoVadis
  class CurrentRequestDetails < ActiveSupport::CurrentAttributes
    attribute :ip

    def request=(request)
      self.ip = request.remote_ip
    end
  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
quo_vadis-2.2.4 lib/quo_vadis/current_request_details.rb
quo_vadis-2.2.2 lib/quo_vadis/current_request_details.rb
quo_vadis-2.2.1 lib/quo_vadis/current_request_details.rb
quo_vadis-2.2.0 lib/quo_vadis/current_request_details.rb
quo_vadis-2.1.11 lib/quo_vadis/current_request_details.rb
quo_vadis-2.1.10 lib/quo_vadis/current_request_details.rb
quo_vadis-2.1.9 lib/quo_vadis/current_request_details.rb
quo_vadis-2.1.8 lib/quo_vadis/current_request_details.rb
quo_vadis-2.1.7 lib/quo_vadis/current_request_details.rb
quo_vadis-2.1.6 lib/quo_vadis/current_request_details.rb
quo_vadis-2.1.5 lib/quo_vadis/current_request_details.rb
quo_vadis-2.1.4 lib/quo_vadis/current_request_details.rb
quo_vadis-2.1.3 lib/quo_vadis/current_request_details.rb
quo_vadis-2.1.2 lib/quo_vadis/current_request_details.rb
quo_vadis-2.1.1 lib/quo_vadis/current_request_details.rb
quo_vadis-2.1.0 lib/quo_vadis/current_request_details.rb
quo_vadis-2.0.2 lib/quo_vadis/current_request_details.rb
quo_vadis-2.0.1 lib/quo_vadis/current_request_details.rb
quo_vadis-2.0.0 lib/quo_vadis/current_request_details.rb