facebook_oauth 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/facebook_oauth/client.rb +2 -2
  2. metadata +1 -1
@@ -23,7 +23,7 @@ module FacebookOAuth
23
23
  options[:code],
24
24
  :redirect_uri => options[:callback] || @callback
25
25
  )
26
- @token ||= @access_token.token
26
+ @token = @access_token.token
27
27
  @access_token
28
28
  end
29
29
 
@@ -37,7 +37,7 @@ module FacebookOAuth
37
37
  end
38
38
 
39
39
  def access_token
40
- @access_token ||= OAuth2::AccessToken.new(consumer, @token)
40
+ OAuth2::AccessToken.new(consumer, @token)
41
41
  end
42
42
 
43
43
  def _get(url)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: facebook_oauth
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Richard Taylor