lib/urbanairship.rb in urbanairship-2.2.3 vs lib/urbanairship.rb in urbanairship-2.2.4
- old
+ new
@@ -65,9 +65,13 @@
def tags
do_request(:get, "/api/tags/", :authenticate_with => :master_secret)
end
+ def segments
+ do_request(:get, "/api/segments", :authenticate_with => :master_secret)
+ end
+
def add_tag(tag)
do_request(:put, "/api/tags/#{tag}", :authenticate_with => :master_secret, :content_type => 'text/plain')
end
def remove_tag(tag)