lib/earthquake/ext.rb in earthquake-0.9.4 vs lib/earthquake/ext.rb in earthquake-1.0.0
- old
+ new
@@ -15,24 +15,9 @@
end
end
end
end
-module TwitterOAuth
- class Client
- [:get, :post, :delete].each { |m| public m }
-
- 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