mirror of
https://github.com/mastodon/mastodon.git
synced 2025-01-17 23:57:14 +01:00
f0634ba876
* 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