Skip to content
Snippets Groups Projects
Commit f0634ba8 authored by Matt Jankowski's avatar Matt Jankowski Committed by Eugen Rochko
Browse files

Coverage improvement and concern extraction for rate limit headers in API controller (#3625)

* Coverage for rate limit headers

* Move rate limit headers methods to concern

* Move throttle check to condition on before_action

* Move match_data variable into method

* Move utc timestamp to separate method

* Move header setting into smaller methods

* specs cleanup
parent 1d68fe1a
Branches
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment