Skip to content
This repository

Fix authenticate_as_app with logging enabled #47

Merged
merged 1 commit into from 6 months ago

2 participants

Matias Travis Reeder
Matias

NoMethodError: undefined method `body' for {"access_token"=>"1426088894273662|dJE00nxA_buHZHdFLOWMtkYTHXA"}:Hash

Matias Fix authenticate_as_app with logging enabled
NoMethodError: undefined method `body' for {"access_token"=>"1426088894273662|dJE00nxA_buHZHdFLOWMtkYTHXA"}:Hash
882e0ad
Travis Reeder treeder merged commit e3ade24 into from October 22, 2013
Travis Reeder treeder closed this October 22, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Showing 1 unique commit by 1 author.

Oct 12, 2013
Matias Fix authenticate_as_app with logging enabled
NoMethodError: undefined method `body' for {"access_token"=>"1426088894273662|dJE00nxA_buHZHdFLOWMtkYTHXA"}:Hash
882e0ad
This page is out of date. Refresh to see the latest.

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  lib/mini_fb.rb
2  lib/mini_fb.rb
@@ -562,7 +562,7 @@ def self.authenticate_as_app(app_id, secret)
562 562
         options[:method] = :get
563 563
         options[:response_type] = :params
564 564
         resp = fetch(url, options)
565  
-        puts 'resp=' + resp.body.to_s if @@logging
  565
+        puts 'resp=' + resp if @@logging
566 566
         resp
567 567
     end
568 568
 
Commit_comment_tip

Tip: You can add notes to lines in a file. Hover to the left of a line to make a note

Something went wrong with that request. Please try again.