Permalink
Browse files

readme fix

  • Loading branch information...
1 parent 36ed2d3 commit 5f1e45f9ab573c90c9dd06da09d9e66344c3d67b Joey Schoblaska committed Feb 18, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 README.markdown
View
@@ -187,7 +187,7 @@ Urbanairship.segment("abcd-efgh-ijkl") # =>
### Modifying a segment ###
Note that you must provide both the display name and criteria when updating a segment, even if you are only changing one or the other.
``` ruby
-Urbanairship.update_segment({
+Urbanairship.update_segment('abcd-efgh-ijkl', {
:display_name => 'segment1',
:criteria => {:and => [{:tag => 'asdf'}]}
}) # => {}

0 comments on commit 5f1e45f

Please sign in to comment.