class ThreeScaleToolbox::Commands::ImportCommand::OpenAPI::IssuerTypeTransformer
Helper
class to validate values for the oidc-issuer-type argument of the import openapi command
Public Instance Methods
call(issuer_type)
click to toggle source
# File lib/3scale_toolbox/commands/import_command/issuer_type_transformer.rb, line 7 def call(issuer_type) raise unless %w[rest keycloak].include?(issuer_type) issuer_type end