Class: Webhookdb::Oauth::Session
- Inherits:
-
Object
- Object
- Webhookdb::Oauth::Session
- Defined in:
- lib/webhookdb/oauth/session.rb
Class Method Summary collapse
Class Method Details
.params_for_request(request) ⇒ Object
18 19 20 21 22 23 |
# File 'lib/webhookdb/oauth/session.rb', line 18 def self.params_for_request(request) return { peer_ip: request.ip, user_agent: request.user_agent || "(unset)", } end |