1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-04-01 06:50:25 +03:00

Undefined scrub! method (< 2.1 RUBY_VERSION) (#2232)

This commit is contained in:
Abel Coronado 2018-06-28 17:16:54 +02:00 committed by Tino Vázquez
parent ad9aa77353
commit 8c5911863e

View File

@ -25,6 +25,10 @@ else
ZENDESK_API_GEM = true
end
if RUBY_VERSION < "2.1"
require 'scrub_rb'
end
helpers do
def zendesk_client
client = ZendeskAPI::Client.new do |config|