Class: HubLink::Api::Logging
- Inherits:
-
Faraday::Response::Middleware
- Object
- Faraday::Response::Middleware
- HubLink::Api::Logging
- Defined in:
- lib/hub_link/api/logging.rb
Instance Method Summary collapse
Instance Method Details
#call(env) ⇒ Object
4 5 6 7 8 |
# File 'lib/hub_link/api/logging.rb', line 4 def call(env) = "#{env[:method].upcase} #{env[:url]}".sub("https://api.github.com/repos", "") logger.info(UPDATE) { } super end |