Skip to content

Commit

Permalink
fix up Client#contacts_with_prefix call
Browse files Browse the repository at this point in the history
  • Loading branch information
wmorgan committed Mar 12, 2012
1 parent b9b2091 commit c379eb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/heliotrope-client.rb
Expand Up @@ -68,7 +68,7 @@ def raw_message message_id
def labels; get_json("labels")["labels"] end
def info; get_json("info") end
def size; get_json("size")["size"] end
def contacts prefix; get_json("contacts")["contacts"] end
def contacts_with_prefix prefix, num=100; get_json("contacts", :prefix => prefix, :num => num)["contacts"] end

def prune_labels!; post_json("labels/prune")["labels"] end

Expand Down

0 comments on commit c379eb3

Please sign in to comment.