mirror of
https://github.com/internetee/registry.git
synced 2025-06-07 05:05:45 +02:00
12 lines
284 B
Ruby
12 lines
284 B
Ruby
module Api
|
|
module V1
|
|
class BouncesController < BaseController
|
|
before_action :authenticate
|
|
|
|
def create
|
|
bounced_mail_address = BouncedMailAddress.record(json)
|
|
bounced_mail_address ? render(head: :ok) : render(head: :failed)
|
|
end
|
|
end
|
|
end
|
|
end
|