Public Instance methods
ip()
Return the IP address continained in the configured header, if present. Fallback to the default behavior if not present.
[show source]
# File lib/roda/plugins/ip_from_header.rb 26 def ip 27 @env[roda_class.opts[:ip_from_header_env_key]] || super 28 end