lib/earthquake/ext.rb in earthquake-0.5.9 vs lib/earthquake/ext.rb in earthquake-0.6.0
- old
+ new
@@ -1,4 +1,17 @@
+module TwitterOAuth
+ class Client
+ private
+ def consumer
+ @consumer ||= OAuth::Consumer.new(
+ @consumer_key,
+ @consumer_secret,
+ { :site => 'https://api.twitter.com', :proxy => @proxy }
+ )
+ end
+ end
+end
+
class String
def c(*codes)
codes = codes.flatten.map { |code|
case code
when String, Symbol
\ No newline at end of file