--- http_interactions: - request: method: post uri: https://api.chartmogul.com/v1/data_sources body: encoding: UTF-8 string: '{"name":"Another Data Source"}' headers: User-Agent: - Faraday v0.17.3 Content-Type: - application/json Authorization: - Basic hidden Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: - "*/*" response: status: code: 201 message: Created headers: Server: - nginx/1.10.1 Date: - Thu, 23 Jul 2020 12:33:56 GMT Content-Type: - application/json Transfer-Encoding: - chunked Connection: - keep-alive Status: - 201 Created Access-Control-Allow-Credentials: - 'true' body: encoding: UTF-8 string: '{"uuid":"ds_c65f219c-cce0-11ea-a43a-8745a9a809c7","name":"Another Data Source","system":"Import API","created_at":"2020-07-23T12:33:56.076Z","status":"idle"}' http_version: null recorded_at: Thu, 23 Jul 2020 12:33:56 GMT - request: method: post uri: https://api.chartmogul.com/v1/plans body: encoding: UTF-8 string: '{"name":"pro","interval_count":1,"interval_unit":"month","data_source_uuid":"ds_c65f219c-cce0-11ea-a43a-8745a9a809c7"}' headers: User-Agent: - Faraday v0.17.3 Content-Type: - application/json Authorization: - Basic hidden Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: - "*/*" response: status: code: 201 message: Created headers: Server: - nginx/1.10.1 Date: - Thu, 23 Jul 2020 12:33:57 GMT Content-Type: - application/json; charset=utf-8 Transfer-Encoding: - chunked Connection: - keep-alive Status: - 201 Created X-Frame-Options: - SAMEORIGIN X-Xss-Protection: - 1; mode=block X-Content-Type-Options: - nosniff X-Download-Options: - noopen X-Permitted-Cross-Domain-Policies: - none Referrer-Policy: - strict-origin-when-cross-origin Etag: - W/"ea419983710a24c40e13cc17133cfad5" Cache-Control: - max-age=0, private, must-revalidate X-Request-Id: - 8c6f92d6-c5f2-47ec-9bca-bb42bf2906bd X-Runtime: - '0.107610' Strict-Transport-Security: - max-age=15768000 body: encoding: UTF-8 string: '{"external_id":"b37d52c0-af0e-0138-9570-42eead14b4ad","name":"pro","interval_count":1,"interval_unit":"month","data_source_uuid":"ds_c65f219c-cce0-11ea-a43a-8745a9a809c7","uuid":"pl_b37d52c0-af0e-0138-9570-42eead14b4ad"}' http_version: null recorded_at: Thu, 23 Jul 2020 12:33:57 GMT - request: method: patch uri: https://api.chartmogul.com/v1/plans/pl_b37d52c0-af0e-0138-9570-42eead14b4ad body: encoding: UTF-8 string: '{"name":"really pro","interval_count":2}' headers: User-Agent: - Faraday v0.17.3 Content-Type: - application/json Authorization: - Basic hidden Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: - "*/*" response: status: code: 202 message: Accepted headers: Server: - nginx/1.10.1 Date: - Thu, 23 Jul 2020 12:33:58 GMT Content-Type: - application/json; charset=utf-8 Transfer-Encoding: - chunked Connection: - keep-alive Status: - 202 Accepted X-Frame-Options: - SAMEORIGIN X-Xss-Protection: - 1; mode=block X-Content-Type-Options: - nosniff X-Download-Options: - noopen X-Permitted-Cross-Domain-Policies: - none Referrer-Policy: - strict-origin-when-cross-origin Cache-Control: - no-cache X-Request-Id: - fcc52966-8abd-442b-a9cd-e14a35988163 X-Runtime: - '0.125362' body: encoding: UTF-8 string: '{"external_id":"b37d52c0-af0e-0138-9570-42eead14b4ad","name":"really pro","interval_count":2,"interval_unit":"month","data_source_uuid":"ds_c65f219c-cce0-11ea-a43a-8745a9a809c7","uuid":"pl_b37d52c0-af0e-0138-9570-42eead14b4ad"}' http_version: null recorded_at: Thu, 23 Jul 2020 12:33:58 GMT recorded_with: VCR 5.1.0