class GetIp
Ruby on Rails 4.2.9
Since v3.2.22.5The GetIp class exists as a way to defer processing of the request data into an actual IP address. If the ActionDispatch::Request#remote_ip method is called, this class will calculate the value and then memoize it.
Inherits from
Methods (defined here)
- # calculate_ip
- # filter_proxies
- # ips_from
- # to_s
- self. new
Methods (inherited)
From Object (23)
- # <
- # acts_like?
- # blank?
- # create_fixtures
- # deep_dup
- # destroy
- # duplicable?
- # html_safe?
- # in?
- # instance_values
- # instance_variable_names
- # itself
- # perform
- # presence
- # presence_in
- # present?
- # to_param
- # to_query
- # try
- # try!
- # unescape
- # with_options
- self. table_name_prefix