lib/tanuki/universe/gitlab_client.rb in tanuki-universe-0.0.3 vs lib/tanuki/universe/gitlab_client.rb in tanuki-universe-0.0.4

- old
+ new

@@ -15,10 +15,10 @@ get_projects end def parse_options(options) @group = ENV['GITLAB_COOKBOOKS_GROUP'] || options['group'] - @private_token = ENV['GITLAB_API_PRIVATETOKEN'] || options['private_token'] + @private_token = ENV['GITLAB_API_PRIVATE_TOKEN'] || options['private_token'] @url = ENV['GITLAB_API_ENDPOINT'] || options['url'] end def get_projects @projects = @client.project_search(@group)