1
0
Fork 0
mirror of https://github.com/nov/fb_graph2 synced 2023-03-27 23:22:15 -04:00
This commit is contained in:
Salahutdinov Dmitry 2019-10-01 15:55:22 +05:00
parent cd4a8b019e
commit 8e9fbc0d85

View file

@ -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