Permalink
Browse files

update BASE_URI to use https

mixpanel deployed a change that redirects all http traffic to https and
there is a bug in open-uri that fails on this:
http://bugs.ruby-lang.org/issues/5950
  • Loading branch information...
1 parent d4d604c commit 90d633eb9355ab9e975ee447d21ff80fe2fff858 raylu committed Feb 8, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/mixpanel/client.rb
@@ -9,7 +9,7 @@
module Mixpanel
# Return metrics from Mixpanel Data API
class Client
- BASE_URI = 'http://mixpanel.com/api/2.0'
+ BASE_URI = 'https://mixpanel.com/api/2.0'
attr_reader :uri
attr_accessor :api_key, :api_secret

0 comments on commit 90d633e

Please sign in to comment.