mirror of
https://github.com/internetee/registry.git
synced 2025-07-27 21:16:12 +02:00
Add shunter gem support & tests
This commit is contained in:
parent
4db0ab558f
commit
83413213d9
5 changed files with 79 additions and 5 deletions
|
@ -5,6 +5,9 @@ module Epp
|
|||
before_action :find_contact, only: [:info, :update, :delete]
|
||||
before_action :find_password, only: [:info, :update, :delete]
|
||||
|
||||
THROTTLED_ACTIONS = %i[info renew update transfer delete].freeze
|
||||
include Shunter::Integration::Throttle
|
||||
|
||||
def info
|
||||
authorize! :info, @contact, @password
|
||||
render_epp_response 'epp/contacts/info'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue