Class: ThreeScaleToolbox::Commands::ProxyConfigCommand::EnvironmentTransformer
- Inherits:
-
Object
- Object
- ThreeScaleToolbox::Commands::ProxyConfigCommand::EnvironmentTransformer
- Defined in:
- lib/3scale_toolbox/commands/proxy_config_command/helper.rb
Instance Method Summary collapse
Instance Method Details
#call(param_str) ⇒ Object
5 6 7 8 9 10 11 |
# File 'lib/3scale_toolbox/commands/proxy_config_command/helper.rb', line 5 def call(param_str) raise ArgumentError unless param_str.is_a?(String) raise ArgumentError unless %w[production sandbox].include? param_str param_str end |