Permalink
Browse files

No need for JSON parsing.

  • Loading branch information...
erskingardner committed Mar 22, 2013
1 parent 27ea286 commit a64d65ace7de29b37d7dccf86cc938d37194fa4f
Showing with 2 additions and 4 deletions.
  1. +2 −4 lib/intercom/user.rb
View
@@ -92,8 +92,7 @@ def self.all
#
# @return [Hash]
def self.tag(params)
- response = Intercom.post("/v1/users/tag", params)
- JSON.parse(response)
+ Intercom.post("/v1/users/tag", params)
end
# Untags a group of users with a tag on your application.
@@ -108,8 +107,7 @@ def self.tag(params)
#
# @return [Hash]
def self.untag(params)
- response = Intercom.post("/v1/users/untag", params)
- JSON.parse(response)
+ Intercom.post("/v1/users/untag", params)
end
# Fetches a count of all Users tracked on Intercom.

0 comments on commit a64d65a

Please sign in to comment.