Permalink
Browse files

Merge pull request #15 from eignerchris/patch-1

updated path to segments
  • Loading branch information...
2 parents 71f1372 + 911f4e8 commit 4adb62f21465e73d3721edcbdae3c8c2bcf29e48 Chris Le committed Sep 5, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/gattica/engine.rb
@@ -87,6 +87,7 @@ def accounts
def segments
if @user_segments.nil?
+ create_http_connection('www.googleapis.com')
response = do_http_get("/analytics/v2.4/management/segments?max-results=10000")
xml = Hpricot(response)
@user_segments = xml.search("dxp:segment").collect { |s|

0 comments on commit 4adb62f

Please sign in to comment.