def check!
      fail Softlayer::Errors::MissingConfigOption.new('username') unless username && username.strip.length > 0
      fail Softlayer::Errors::MissingConfigOption.new('api_key') unless api_key && api_key.strip.length > 0
    end
def check!
      fail Softlayer::Errors::MissingConfigOption.new('username') unless username && username.strip.length > 0
      fail Softlayer::Errors::MissingConfigOption.new('api_key') unless api_key && api_key.strip.length > 0
    end
Check the configuration.

 Will raise a Softlayer::Errors::MissingConfigOption if any of the API login ID or the API key are missing.