mirror of
https://github.com/internetee/registry.git
synced 2025-07-27 21:16:12 +02:00
Add rate limiting to all repp actions
This commit is contained in:
parent
fb60466194
commit
2a58bf3849
48 changed files with 757 additions and 16 deletions
|
@ -8,6 +8,9 @@ module Repp
|
|||
before_action :forward_registrar_id, only: %i[create update destroy]
|
||||
before_action :set_domain, only: %i[update]
|
||||
|
||||
THROTTLED_ACTIONS = %i[transfer_info transfer index create show update destroy].freeze
|
||||
include Shunter::Integration::Throttle
|
||||
|
||||
api :GET, '/repp/v1/domains'
|
||||
desc 'Get all existing domains'
|
||||
def index
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue