From 8e9fbc0d85c3c93892cf118639ddedb1acb61985 Mon Sep 17 00:00:00 2001 From: Salahutdinov Dmitry Date: Tue, 1 Oct 2019 15:55:22 +0500 Subject: [PATCH] f --- lib/fb_graph2.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/fb_graph2.rb b/lib/fb_graph2.rb index ffe9783..7bdc4e3 100644 --- a/lib/fb_graph2.rb +++ b/lib/fb_graph2.rb @@ -16,19 +16,19 @@ module FbGraph2 class << self def root_url - Thread.current['fb_graph2_root_url'] || DEFAULT_ROOT_URL + ::Thread.current['fb_graph2_root_url'] || DEFAULT_ROOT_URL end def root_url=(value) - Thread.current['fb_graph2_root_url'] = value + ::Thread.current['fb_graph2_root_url'] = value end def api_version - Thread.current['fb_graph2_api_version'] || DEFAULT_API_VERSION + ::Thread.current['fb_graph2_api_version'] || DEFAULT_API_VERSION end def api_version=(value) - Thread.current['fb_graph2_api_version'] = value + ::Thread.current['fb_graph2_api_version'] = value end def object_classes