diff app/models/tweet.rb @ 21:6e3ff830e94a

Realign.
author edogawaconan <me@myconan.net>
date Fri, 05 Sep 2014 23:14:40 +0900
parents 207917e41964
children b82d86b74636
line wrap: on
line diff
--- a/app/models/tweet.rb	Fri Sep 05 23:11:51 2014 +0900
+++ b/app/models/tweet.rb	Fri Sep 05 23:14:40 2014 +0900
@@ -12,10 +12,10 @@
 
   def initialize(twitter_id)
     @client = Twitter::REST::Client.new do |config|
-                CONFIG.each do |cfg_key, cfg_value|
-                  config.public_send("#{cfg_key}=", cfg_value)
-                end
-              end
+      CONFIG.each do |cfg_key, cfg_value|
+        config.public_send("#{cfg_key}=", cfg_value)
+      end
+    end
     @twitter_id = twitter_id
   end
 end