Sha256: 8a39508c0271f0d16c57acfc94ba590df231e35abb88cc17f1ae32e93a001530

Contents?: true

Size: 338 Bytes

Versions: 12

Compression:

Stored size: 338 Bytes

Contents

module ThreeScaleToolbox
  module Commands
    module ProxyConfigCommand
      class EnvironmentTransformer
        def call(param_str)
          raise ArgumentError unless param_str.is_a?(String)

          raise ArgumentError unless %w[production sandbox].include? param_str

          param_str
        end
      end
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
3scale_toolbox-1.0.1 lib/3scale_toolbox/commands/proxy_config_command/helper.rb
3scale_toolbox-1.0.0 lib/3scale_toolbox/commands/proxy_config_command/helper.rb
3scale_toolbox-0.20.0 lib/3scale_toolbox/commands/proxy_config_command/helper.rb
3scale_toolbox-0.19.3 lib/3scale_toolbox/commands/proxy_config_command/helper.rb
3scale_toolbox-0.19.2 lib/3scale_toolbox/commands/proxy_config_command/helper.rb
3scale_toolbox-0.19.1 lib/3scale_toolbox/commands/proxy_config_command/helper.rb
3scale_toolbox-0.19.0 lib/3scale_toolbox/commands/proxy_config_command/helper.rb
3scale_toolbox-0.18.3 lib/3scale_toolbox/commands/proxy_config_command/helper.rb
3scale_toolbox-0.18.2 lib/3scale_toolbox/commands/proxy_config_command/helper.rb
3scale_toolbox-0.18.0 lib/3scale_toolbox/commands/proxy_config_command/helper.rb
3scale_toolbox-0.17.1 lib/3scale_toolbox/commands/proxy_config_command/helper.rb
3scale_toolbox-0.17.0 lib/3scale_toolbox/commands/proxy_config_command/helper.rb