AlexanderMint/upment-hanami

View on GitHub
apps/api/concepts/refresh_token/schema/destroy.rb

Summary

Maintainability
A
0 mins
Test Coverage
# frozen_string_literal: true

class RefreshToken
  module Schema
    class Destroy
      include Hanami::Validations

      validations do
        required(:id) { filled? & int? }
      end
    end
  end
end