--- 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: - Thu, 15 May 2014 11:33:03 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: Thu, 15 May 2014 11:33:03 GMT - request: method: post uri: https://typetalk.in/api/v1/topics/5148?access_token=(ACCESS_TOKEN) body: encoding: UTF-8 string: message=Test+Message+2+-+2 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: - Thu, 15 May 2014 11:33:05 GMT Content-Type: - application/json; charset=utf-8 Transfer-Encoding: - chunked Connection: - keep-alive Cache-Control: - no-cache Etag: - W/"f30ba0e537f51dec9b3cf60a0805bd12" Strict-Transport-Security: - max-age=2592000 body: encoding: UTF-8 string: '{"topic":{"name":"Test Topic 2","updatedAt":"2014-05-15T07:49:56Z","description":null,"id":5148,"lastPostedAt":"2014-05-15T11:33:05Z","createdAt":"2014-05-15T07:45:57Z","suggestion":"Test Topic 2"},"post":{"updatedAt":"2014-05-15T11:33:05Z","talks":[],"replyTo":null,"url":"https://typetalk.in/topics/5148/posts/279047","topicId":5148,"likes":[],"links":[],"id":279047,"mention":null,"createdAt":"2014-05-15T11:33:05Z","message":"Test Message 2 - 2","account":{"name":"typetalk-rubygem-tester","updatedAt":"2014-05-15T00:36:03Z","fullName":"Rubygem Tester","id":3865,"createdAt":"2014-05-14T09:09:44Z","suggestion":"Rubygem Tester","imageUrl":"https://typetalk.in/accounts/3865/profile_image.png?t=1400114163838"},"attachments":[]}}' http_version: recorded_at: Thu, 15 May 2014 11:33:05 GMT - request: method: post uri: https://typetalk.in/api/v1/topics/5148?access_token=(ACCESS_TOKEN) body: encoding: UTF-8 string: message=Test+Message+2+-+3&replyTo=279047 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: - Thu, 15 May 2014 11:33:05 GMT Content-Type: - application/json; charset=utf-8 Transfer-Encoding: - chunked Connection: - keep-alive Cache-Control: - no-cache Etag: - W/"66bd722113c6f503f03138b370a2bfd4" Strict-Transport-Security: - max-age=2592000 body: encoding: UTF-8 string: '{"topic":{"name":"Test Topic 2","updatedAt":"2014-05-15T07:49:56Z","description":null,"id":5148,"lastPostedAt":"2014-05-15T11:33:05Z","createdAt":"2014-05-15T07:45:57Z","suggestion":"Test Topic 2"},"post":{"updatedAt":"2014-05-15T11:33:05Z","talks":[],"replyTo":279047,"url":"https://typetalk.in/topics/5148/posts/279048","topicId":5148,"likes":[],"links":[],"id":279048,"mention":null,"createdAt":"2014-05-15T11:33:05Z","message":"Test Message 2 - 3","account":{"name":"typetalk-rubygem-tester","updatedAt":"2014-05-15T00:36:03Z","fullName":"Rubygem Tester","id":3865,"createdAt":"2014-05-14T09:09:44Z","suggestion":"Rubygem Tester","imageUrl":"https://typetalk.in/accounts/3865/profile_image.png?t=1400114163838"},"attachments":[]}}' http_version: recorded_at: Thu, 15 May 2014 11:33:05 GMT recorded_with: VCR 2.9.0