gearheads
/
mastodon
Archived
2
0
Fork 0
Commit Graph

1 Commits (f7937d903c681769801e4f3edcdac7e3c71ad9cf)

Author SHA1 Message Date
Matt Jankowski f0634ba876 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
2017-06-07 17:23:26 +02:00