lib/fb_graph/application.rb in fb_graph-2.6.2 vs lib/fb_graph/application.rb in fb_graph-2.6.3

- old
+ new

@@ -94,9 +94,10 @@ def get_access_token(secret = nil) self.secret ||= secret auth = Auth.new(self.identifier, self.secret) self.access_token = auth.client.access_token! :client_auth_body end + alias_method :app_access_token, :get_access_token def access_token_with_auto_fetch access_token_without_auto_fetch || self.secret && get_access_token end