lib/intercom/service/admin.rb in intercom-3.5.7 vs lib/intercom/service/admin.rb in intercom-3.5.8

- old
+ new

@@ -9,8 +9,14 @@ include ApiOperations::Find def collection_class Intercom::Admin end + + def me + response = @client.get("/me", {}) + raise Intercom::HttpError.new('Http Error - No response entity returned') unless response + from_api(response) + end end end end