Browse files

updated path to segments

once upon a time it looks like the segments resource was accessible from I discovered it was 404'ing so I updated the #segments method to create a connection to before fetching the segments resource
  • Loading branch information...
1 parent 71f1372 commit 911f4e8772a0810a2fedb0e6c541da3492205ad5 @eignerchris eignerchris committed Aug 31, 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('')
response = do_http_get("/analytics/v2.4/management/segments?max-results=10000")
xml = Hpricot(response)
@user_segments ="dxp:segment").collect { |s|

0 comments on commit 911f4e8

Please sign in to comment.