title: How to write a guard clause with multiple conditions in Ruby?
body: <p>After running Rubocop against this code I am getting </p>
  
  <pre><code>Use a guard clause instead of wrapping the code inside a conditional expression.
  </code></pre>
  
  <p>So from what I have read a "Guard Clause" will bail out of the method if the condition is not met, so we don't have to waste time going through extra conditionals, please correct me if my understanding is not correct.</p>
  
  <p>My question is though how would i use a guard statement with multiple conditions</p>
  
  <pre><code>def auth_creds
    if %w(test1 qa demo ci).include? ENV['ENV']
      { key: 'key1', secret: 'secret1' }
    elsif ENV['ENV'] == 'live'
      { key: 'key2', secret: 'secret2' }
    else
      fail 'Unable to set key/secret'
    end
  end
  </code></pre>
  
  <p>Thanks</p>