module StackExchange::Client
Public Instance Methods
access_token()
click to toggle source
# File lib/rest-core/client/stackexchange.rb, line 43 def access_token data['access_token'] end
access_token=(token)
click to toggle source
# File lib/rest-core/client/stackexchange.rb, line 47 def access_token= token data['access_token'] = token end
me(query={})
click to toggle source
# File lib/rest-core/client/stackexchange.rb, line 39 def me query={}, opts={}, &cb get('me', query, opts, &cb) end
Private Instance Methods
default_data()
click to toggle source
# File lib/rest-core/client/stackexchange.rb, line 77 def default_data ; {}; end
default_query()
click to toggle source
# File lib/rest-core/client/stackexchange.rb, line 78 def default_query; {:key => key, :site => 'stackoverflow'}; end