--- http_interactions: - request: method: post uri: https://typetalk.com/oauth2/access_token body: encoding: UTF-8 string: client_id=(CLIENT_ID)&client_secret=(CLIENT_SECRET)&grant_type=client_credentials&scope=topic.read%2Ctopic.post%2Cmy headers: Accept: - application/json; charset=utf-8 User-Agent: - Typetalk Rubygem 0.0.1 Content-Type: - application/x-www-form-urlencoded Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 response: status: code: 200 message: OK headers: Server: - nginx Date: - Fri, 16 May 2014 10:19:39 GMT Content-Type: - application/json; charset=utf-8 Transfer-Encoding: - chunked Connection: - keep-alive Strict-Transport-Security: - max-age=2592000 body: encoding: UTF-8 string: '{"access_token":"(ACCESS_TOKEN)","expires_in":3600,"scope":"topic.read,topic.post,my","refresh_token":"(REFRESH_TOKEN)","token_type":"Bearer"}' http_version: recorded_at: Fri, 16 May 2014 10:19:42 GMT - request: method: get uri: https://typetalk.com/api/v1/mentions?access_token=(ACCESS_TOKEN)&unread=true body: encoding: US-ASCII string: '' headers: Accept: - application/json; charset=utf-8 User-Agent: - Typetalk Rubygem 0.0.1 Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 response: status: code: 200 message: OK headers: Server: - nginx Date: - Fri, 16 May 2014 10:19:40 GMT Content-Type: - application/json; charset=utf-8 Transfer-Encoding: - chunked Connection: - keep-alive Cache-Control: - no-cache Etag: - W/"a25672dd6b05678cfcae6a272d768ee5" Strict-Transport-Security: - max-age=2592000 body: encoding: UTF-8 string: '{"mentions":[{"id":36069,"readAt":null,"post":{"updatedAt":"2014-05-16T10:02:20Z","replyTo":null,"url":"https://typetalk.com/topics/5147/posts/280469","id":280469,"createdAt":"2014-05-16T10:02:20Z","message":"Test Message 1 - 4 @typetalk-rubygem-tester ","topic":{"name":"Test Topic 1","updatedAt":"2014-05-15T07:50:13Z","description":null,"id":5147,"lastPostedAt":"2014-05-16T10:02:20Z","createdAt":"2014-05-15T07:44:56Z","suggestion":"Test Topic 1"},"account":{"name":"umakoz","updatedAt":"2014-05-16T09:59:47Z","fullName":"umakoz","id":921,"createdAt":"2013-12-09T23:47:12Z","suggestion":"umakoz","imageUrl":"https://typetalk.com/accounts/921/profile_image.png?t=1400234387555"},"attachments":[]}},{"id":35823,"readAt":null,"post":{"updatedAt":"2014-05-15T09:17:16Z","replyTo":null,"url":"https://typetalk.com/topics/5149/posts/278782","id":278782,"createdAt":"2014-05-15T09:17:16Z","message":"Test Message 3 - 5 @typetalk-rubygem-tester ","topic":{"name":"Test Topic 3","updatedAt":"2014-05-15T07:51:09Z","description":null,"id":5149,"lastPostedAt":"2014-05-15T09:58:01Z","createdAt":"2014-05-15T07:51:09Z","suggestion":"Test Topic 3"},"account":{"name":"umakoz","updatedAt":"2014-05-16T09:59:47Z","fullName":"umakoz","id":921,"createdAt":"2013-12-09T23:47:12Z","suggestion":"umakoz","imageUrl":"https://typetalk.com/accounts/921/profile_image.png?t=1400234387555"},"attachments":[]}}]}' http_version: recorded_at: Fri, 16 May 2014 10:19:43 GMT recorded_with: VCR 2.9.0