switch to do/end for multiline blocks
Mark Dodwell
12 years ago
18 | 18 | |
19 | 19 | uid { raw_info['id'] } |
20 | 20 | |
21 | info { | |
21 | info do | |
22 | 22 | { |
23 | 23 | 'nickname' => raw_info['username'], |
24 | 24 | 'email' => raw_info['email'], |
26 | 26 | 'last_name' => raw_info['last_name'], |
27 | 27 | 'image' => "http://graph.facebook.com/#{uid}/picture" |
28 | 28 | } |
29 | } | |
29 | end | |
30 | 30 | |
31 | 31 | def build_access_token |
32 | 32 | super.tap do |token| |