mirror of
https://github.com/nov/fb_graph2
synced 2023-03-27 23:22:15 -04:00
f
This commit is contained in:
parent
cd4a8b019e
commit
8e9fbc0d85
1 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue