--- http_interactions: - request: method: post uri: https://typetalk.in/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:38 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:41 GMT - request: method: get uri: https://typetalk.in/api/v1/mentions?access_token=(ACCESS_TOKEN)&from=36069 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:38 GMT Content-Type: - application/json; charset=utf-8 Transfer-Encoding: - chunked Connection: - keep-alive Cache-Control: - no-cache Etag: - W/"b4d5bd734202c3932c62d12980f5f9d8" Strict-Transport-Security: - max-age=2592000 body: encoding: UTF-8 string: '{"mentions":[{"id":36068,"readAt":"2014-05-16T00:00:00Z","post":{"updatedAt":"2014-05-16T10:02:05Z","replyTo":null,"url":"https://typetalk.in/topics/5147/posts/280467","id":280467,"createdAt":"2014-05-16T10:02:05Z","message":"Test Message 1 - 3 @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.in/accounts/921/profile_image.png?t=1400234387555"},"attachments":[]}},{"id":35823,"readAt":null,"post":{"updatedAt":"2014-05-15T09:17:16Z","replyTo":null,"url":"https://typetalk.in/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.in/accounts/921/profile_image.png?t=1400234387555"},"attachments":[]}}]}' http_version: recorded_at: Fri, 16 May 2014 10:19:42 GMT recorded_with: VCR 2.9.0