chartmogul-ruby 3.0.0 → 3.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.github/workflows/test.yml +1 -1
- data/changelog.md +10 -0
- data/fixtures/vcr_cassettes/ChartMogul_Contact/API_Interactions/creates_contact_correctly.yml +134 -0
- data/fixtures/vcr_cassettes/ChartMogul_Contact/API_Interactions/destroys_contact_correctly.yml +99 -0
- data/fixtures/vcr_cassettes/ChartMogul_Contact/API_Interactions/merges_contact_correctly.yml +105 -0
- data/fixtures/vcr_cassettes/ChartMogul_Contact/API_Interactions/paginates_correctly.yml +133 -0
- data/fixtures/vcr_cassettes/ChartMogul_Contact/API_Interactions/updates_contact_correctly.yml +102 -0
- data/fixtures/vcr_cassettes/ChartMogul_Customer/API_Interactions/creates_a_contact_belonging_to_the_customer_correctly.yml +72 -0
- data/fixtures/vcr_cassettes/ChartMogul_Customer/API_Interactions/lists_the_contacts_belonging_to_the_customer_correctly.yml +72 -0
- data/fixtures/vcr_cassettes/ChartMogul_Metrics_ARPA/behaves_like_Metrics_API_resource/should_have_entries.yml +1 -1
- data/fixtures/vcr_cassettes/ChartMogul_Metrics_ARR/behaves_like_Metrics_API_resource/should_have_entries.yml +1 -1
- data/fixtures/vcr_cassettes/ChartMogul_Metrics_ASP/behaves_like_Metrics_API_resource/should_have_entries.yml +1 -1
- data/fixtures/vcr_cassettes/ChartMogul_Metrics_AllKeyMetric/should_have_entries.yml +1 -1
- data/fixtures/vcr_cassettes/ChartMogul_Metrics_AllKeyMetric/should_have_summary.yml +42 -0
- data/fixtures/vcr_cassettes/ChartMogul_Metrics_CustomerChurnRate/behaves_like_Metrics_API_resource/should_have_entries.yml +1 -1
- data/fixtures/vcr_cassettes/ChartMogul_Metrics_CustomerCount/behaves_like_Metrics_API_resource/should_have_entries.yml +1 -1
- data/fixtures/vcr_cassettes/ChartMogul_Metrics_LTV/behaves_like_Metrics_API_resource/should_have_entries.yml +1 -1
- data/fixtures/vcr_cassettes/ChartMogul_Metrics_MRR/should_have_entries.yml +1 -1
- data/fixtures/vcr_cassettes/ChartMogul_Metrics_MRRChurnRate/behaves_like_Metrics_API_resource/should_have_entries.yml +1 -1
- data/fixtures/vcr_cassettes/ChartMogul_SubscriptionEvent/API_interactions/creates_a_new_subscription_event.yml +320 -0
- data/fixtures/vcr_cassettes/ChartMogul_SubscriptionEvent/API_interactions/deletes_the_subscription_event.yml +377 -0
- data/fixtures/vcr_cassettes/ChartMogul_SubscriptionEvent/API_interactions/lists_all_subscription_events.yml +320 -0
- data/fixtures/vcr_cassettes/ChartMogul_SubscriptionEvent/API_interactions/updates_the_subscription_event.yml +377 -0
- data/lib/chartmogul/api/actions/destroy_with_params.rb +29 -0
- data/lib/chartmogul/api_resource.rb +1 -1
- data/lib/chartmogul/concerns/pageable_with_cursor.rb +14 -0
- data/lib/chartmogul/concerns/summary_all.rb +21 -0
- data/lib/chartmogul/contact.rb +69 -0
- data/lib/chartmogul/customer.rb +8 -0
- data/lib/chartmogul/metrics/all_key_metrics.rb +9 -0
- data/lib/chartmogul/metrics/arpa.rb +1 -0
- data/lib/chartmogul/metrics/arr.rb +1 -0
- data/lib/chartmogul/metrics/asp.rb +1 -0
- data/lib/chartmogul/metrics/customer_churn_rate.rb +1 -0
- data/lib/chartmogul/metrics/customer_count.rb +1 -0
- data/lib/chartmogul/metrics/ltv.rb +1 -0
- data/lib/chartmogul/metrics/mrr.rb +1 -0
- data/lib/chartmogul/metrics/mrr_churn_rate.rb +1 -0
- data/lib/chartmogul/subscription_event.rb +62 -0
- data/lib/chartmogul/summary_all.rb +30 -0
- data/lib/chartmogul/version.rb +1 -1
- data/lib/chartmogul.rb +6 -0
- metadata +21 -3
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
---
|
|
2
|
+
http_interactions:
|
|
3
|
+
- request:
|
|
4
|
+
method: get
|
|
5
|
+
uri: https://api.chartmogul.com/v1/customers/cus_54cde7bc-bf30-11ed-a51a-2325f065834f
|
|
6
|
+
body:
|
|
7
|
+
encoding: US-ASCII
|
|
8
|
+
string: ''
|
|
9
|
+
headers:
|
|
10
|
+
User-Agent:
|
|
11
|
+
- chartmogul-ruby/3.0.2
|
|
12
|
+
Content-Type:
|
|
13
|
+
- application/json
|
|
14
|
+
Authorization:
|
|
15
|
+
- Basic hidden
|
|
16
|
+
response:
|
|
17
|
+
status:
|
|
18
|
+
code: 200
|
|
19
|
+
message: OK
|
|
20
|
+
headers:
|
|
21
|
+
access-control-allow-credentials:
|
|
22
|
+
- 'true'
|
|
23
|
+
content-type:
|
|
24
|
+
- application/json
|
|
25
|
+
date:
|
|
26
|
+
- Fri, 10 Mar 2023 11:02:57 GMT
|
|
27
|
+
content-length:
|
|
28
|
+
- '769'
|
|
29
|
+
connection:
|
|
30
|
+
- keep-alive
|
|
31
|
+
body:
|
|
32
|
+
encoding: UTF-8
|
|
33
|
+
string: '{"id":102689329,"uuid":"cus_54cde7bc-bf30-11ed-a51a-2325f065834f","external_id":"11234","name":"","email":"","status":"New
|
|
34
|
+
Lead","customer-since":null,"attributes":{"custom":{},"clearbit":{},"stripe":{},"tags":[]},"data_source_uuid":"ds_80251880-bef5-11ed-a88b-db28feaa7eba","data_source_uuids":["ds_80251880-bef5-11ed-a88b-db28feaa7eba"],"external_ids":["11234"],"company":"Test
|
|
35
|
+
customer","country":null,"state":null,"city":"","zip":null,"lead_created_at":null,"free_trial_started_at":null,"address":{"country":null,"state":null,"city":"","address_zip":null},"mrr":0,"arr":0,"billing-system-url":null,"chartmogul-url":"https://app.chartmogul.com/#/customers/102689329-Test_customer","billing-system-type":"Import
|
|
36
|
+
API","currency":"USD","currency-sign":"$","owner":null}'
|
|
37
|
+
http_version:
|
|
38
|
+
recorded_at: Fri, 10 Mar 2023 11:02:57 GMT
|
|
39
|
+
- request:
|
|
40
|
+
method: post
|
|
41
|
+
uri: https://api.chartmogul.com/v1/contacts
|
|
42
|
+
body:
|
|
43
|
+
encoding: UTF-8
|
|
44
|
+
string: '{"customer_uuid":"cus_54cde7bc-bf30-11ed-a51a-2325f065834f","data_source_uuid":"ds_80251880-bef5-11ed-a88b-db28feaa7eba","email":"new_contact@example.com"}'
|
|
45
|
+
headers:
|
|
46
|
+
User-Agent:
|
|
47
|
+
- chartmogul-ruby/3.0.2
|
|
48
|
+
Content-Type:
|
|
49
|
+
- application/json
|
|
50
|
+
Authorization:
|
|
51
|
+
- Basic hidden
|
|
52
|
+
response:
|
|
53
|
+
status:
|
|
54
|
+
code: 201
|
|
55
|
+
message: Created
|
|
56
|
+
headers:
|
|
57
|
+
access-control-allow-credentials:
|
|
58
|
+
- 'true'
|
|
59
|
+
content-type:
|
|
60
|
+
- application/json
|
|
61
|
+
date:
|
|
62
|
+
- Fri, 10 Mar 2023 11:02:58 GMT
|
|
63
|
+
content-length:
|
|
64
|
+
- '367'
|
|
65
|
+
connection:
|
|
66
|
+
- keep-alive
|
|
67
|
+
body:
|
|
68
|
+
encoding: UTF-8
|
|
69
|
+
string: '{"uuid":"con_1e366712-bf33-11ed-84e6-9bba0516ad5f","customer_uuid":"cus_54cde7bc-bf30-11ed-a51a-2325f065834f","customer_external_id":"11234","data_source_uuid":"ds_80251880-bef5-11ed-a88b-db28feaa7eba","position":2,"first_name":null,"last_name":null,"title":null,"email":"new_contact@example.com","phone":null,"linked_in":null,"twitter":null,"notes":null,"custom":{}}'
|
|
70
|
+
http_version:
|
|
71
|
+
recorded_at: Fri, 10 Mar 2023 11:02:59 GMT
|
|
72
|
+
recorded_with: VCR 5.1.0
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
---
|
|
2
|
+
http_interactions:
|
|
3
|
+
- request:
|
|
4
|
+
method: get
|
|
5
|
+
uri: https://api.chartmogul.com/v1/customers/cus_54cde7bc-bf30-11ed-a51a-2325f065834f
|
|
6
|
+
body:
|
|
7
|
+
encoding: US-ASCII
|
|
8
|
+
string: ''
|
|
9
|
+
headers:
|
|
10
|
+
User-Agent:
|
|
11
|
+
- chartmogul-ruby/3.0.2
|
|
12
|
+
Content-Type:
|
|
13
|
+
- application/json
|
|
14
|
+
Authorization:
|
|
15
|
+
- Basic hidden
|
|
16
|
+
response:
|
|
17
|
+
status:
|
|
18
|
+
code: 200
|
|
19
|
+
message: OK
|
|
20
|
+
headers:
|
|
21
|
+
access-control-allow-credentials:
|
|
22
|
+
- 'true'
|
|
23
|
+
content-type:
|
|
24
|
+
- application/json
|
|
25
|
+
date:
|
|
26
|
+
- Fri, 10 Mar 2023 10:43:38 GMT
|
|
27
|
+
content-length:
|
|
28
|
+
- '769'
|
|
29
|
+
connection:
|
|
30
|
+
- keep-alive
|
|
31
|
+
body:
|
|
32
|
+
encoding: UTF-8
|
|
33
|
+
string: '{"id":102689329,"uuid":"cus_54cde7bc-bf30-11ed-a51a-2325f065834f","external_id":"11234","name":"","email":"","status":"New
|
|
34
|
+
Lead","customer-since":null,"attributes":{"custom":{},"clearbit":{},"stripe":{},"tags":[]},"data_source_uuid":"ds_80251880-bef5-11ed-a88b-db28feaa7eba","data_source_uuids":["ds_80251880-bef5-11ed-a88b-db28feaa7eba"],"external_ids":["11234"],"company":"Test
|
|
35
|
+
customer","country":null,"state":null,"city":"","zip":null,"lead_created_at":null,"free_trial_started_at":null,"address":{"country":null,"state":null,"city":"","address_zip":null},"mrr":0,"arr":0,"billing-system-url":null,"chartmogul-url":"https://app.chartmogul.com/#/customers/102689329-Test_customer","billing-system-type":"Import
|
|
36
|
+
API","currency":"USD","currency-sign":"$","owner":null}'
|
|
37
|
+
http_version:
|
|
38
|
+
recorded_at: Fri, 10 Mar 2023 10:43:38 GMT
|
|
39
|
+
- request:
|
|
40
|
+
method: get
|
|
41
|
+
uri: https://api.chartmogul.com/v1/contacts?customer_uuid=cus_54cde7bc-bf30-11ed-a51a-2325f065834f
|
|
42
|
+
body:
|
|
43
|
+
encoding: US-ASCII
|
|
44
|
+
string: ''
|
|
45
|
+
headers:
|
|
46
|
+
User-Agent:
|
|
47
|
+
- chartmogul-ruby/3.0.2
|
|
48
|
+
Content-Type:
|
|
49
|
+
- application/json
|
|
50
|
+
Authorization:
|
|
51
|
+
- Basic hidden
|
|
52
|
+
response:
|
|
53
|
+
status:
|
|
54
|
+
code: 200
|
|
55
|
+
message: OK
|
|
56
|
+
headers:
|
|
57
|
+
access-control-allow-credentials:
|
|
58
|
+
- 'true'
|
|
59
|
+
content-type:
|
|
60
|
+
- application/json
|
|
61
|
+
date:
|
|
62
|
+
- Fri, 10 Mar 2023 10:43:40 GMT
|
|
63
|
+
content-length:
|
|
64
|
+
- '490'
|
|
65
|
+
connection:
|
|
66
|
+
- keep-alive
|
|
67
|
+
body:
|
|
68
|
+
encoding: UTF-8
|
|
69
|
+
string: '{"entries":[{"uuid":"con_6342518e-bf30-11ed-8542-5fe570cf19d7","customer_uuid":"cus_54cde7bc-bf30-11ed-a51a-2325f065834f","customer_external_id":"11234","data_source_uuid":"ds_80251880-bef5-11ed-a88b-db28feaa7eba","position":1,"first_name":"Test","last_name":"Again","title":null,"email":null,"phone":null,"linked_in":null,"twitter":null,"notes":null,"custom":{}}],"cursor":"MjAyMy0wMy0xMFQxMDo0MzoyNi4yOTE4ODgwMDBaJmNvbl82MzQyNTE4ZS1iZjMwLTExZWQtODU0Mi01ZmU1NzBjZjE5ZDc=","has_more":false}'
|
|
70
|
+
http_version:
|
|
71
|
+
recorded_at: Fri, 10 Mar 2023 10:43:40 GMT
|
|
72
|
+
recorded_with: VCR 5.1.0
|
|
@@ -36,7 +36,7 @@ http_interactions:
|
|
|
36
36
|
- 'true'
|
|
37
37
|
body:
|
|
38
38
|
encoding: UTF-8
|
|
39
|
-
string: '{"entries":[{"date":"
|
|
39
|
+
string: '{"entries":[{"date":"2022-04-30","arpa":656170,"percentage-change":0.0},{"date":"2022-05-31","arpa":1113423,"percentage-change":69.69}],"summary":{"current":1102906,"previous":1111529,"percentage-change":-0.78}}'
|
|
40
40
|
http_version:
|
|
41
41
|
recorded_at: Fri, 01 Jul 2016 14:47:45 GMT
|
|
42
42
|
recorded_with: VCR 3.0.3
|
|
@@ -36,7 +36,7 @@ http_interactions:
|
|
|
36
36
|
- 'true'
|
|
37
37
|
body:
|
|
38
38
|
encoding: UTF-8
|
|
39
|
-
string: '{"entries":[{"date":"
|
|
39
|
+
string: '{"entries":[{"date":"2022-04-30","arr":4606319628,"percentage-change":0.0},{"date":"2022-05-31","arr":8043370848,"percentage-change":74.62}],"summary":{"current":8046802440,"previous":8043027072,"percentage-change":0.05}}'
|
|
40
40
|
http_version:
|
|
41
41
|
recorded_at: Fri, 01 Jul 2016 14:47:45 GMT
|
|
42
42
|
recorded_with: VCR 3.0.3
|
|
@@ -34,7 +34,7 @@ http_interactions:
|
|
|
34
34
|
- 'true'
|
|
35
35
|
body:
|
|
36
36
|
encoding: UTF-8
|
|
37
|
-
string: '{"entries":[{"date":"
|
|
37
|
+
string: '{"entries":[{"date":"2022-04-30","asp":46107,"percentage-change":0.0},{"date":"2022-05-31","asp":22035,"percentage-change":-52.21}],"summary":{"current":18160,"previous":23087,"percentage-change":-21.34}}'
|
|
38
38
|
http_version:
|
|
39
39
|
recorded_at: Fri, 01 Jul 2016 14:47:44 GMT
|
|
40
40
|
recorded_with: VCR 3.0.3
|
|
@@ -36,7 +36,7 @@ http_interactions:
|
|
|
36
36
|
- 'true'
|
|
37
37
|
body:
|
|
38
38
|
encoding: UTF-8
|
|
39
|
-
string: '{"entries":[{"date":"
|
|
39
|
+
string: '{"entries":[{"date":"2022-04-30","mrr":383859969,"mrr-percentage-change":0.0,"arr":4606319628,"arr-percentage-change":0.0,"customer-churn-rate":0.56,"customer-churn-rate-percentage-change":0.0,"mrr-churn-rate":-0.17,"mrr-churn-rate-percentage-change":0.0,"ltv":117173214,"ltv-percentage-change":0.0,"customers":585,"customers-percentage-change":0.0,"asp":46107,"asp-percentage-change":0.0,"arpa":656170,"arpa-percentage-change":0.0},{"date":"2022-05-31","mrr":670280904,"mrr-percentage-change":74.62,"arr":8043370848,"arr-percentage-change":74.62,"customer-churn-rate":1.71,"customer-churn-rate-percentage-change":205.36,"mrr-churn-rate":-74.52,"mrr-churn-rate-percentage-change":-43735.29,"ltv":65112456,"ltv-percentage-change":-44.43,"customers":602,"customers-percentage-change":2.91,"asp":22035,"asp-percentage-change":-52.21,"arpa":1113423,"arpa-percentage-change":69.69}],"summary":{"current-mrr":670566870,"previous-mrr":670252256,"mrr-percentage-change":0.05,"current-arr":8046802440,"previous-arr":8043027072,"arr-percentage-change":0.05,"current-customer-churn-rate":1.71,"previous-customer-churn-rate":0.56,"customer-churn-rate-percentage-change":205.36,"current-mrr-churn-rate":-74.52,"previous-mrr-churn-rate":-0.17,"mrr-churn-rate-percentage-change":-43735.29,"current-ltv":65112456,"previous-ltv":117173214,"ltv-percentage-change":-44.43,"current-customers":608,"previous-customers":603,"customers-percentage-change":0.83,"current-asp":18160,"previous-asp":23087,"asp-percentage-change":-21.34,"current-arpa":1102906,"previous-arpa":1111529,"arpa-percentage-change":-0.78}}'
|
|
40
40
|
http_version:
|
|
41
41
|
recorded_at: Fri, 01 Jul 2016 14:47:46 GMT
|
|
42
42
|
recorded_with: VCR 3.0.3
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
---
|
|
2
|
+
http_interactions:
|
|
3
|
+
- request:
|
|
4
|
+
method: get
|
|
5
|
+
uri: https://api.chartmogul.com/v1/metrics/all?end-date=2015-02-01&start-date=2015-01-01
|
|
6
|
+
body:
|
|
7
|
+
encoding: US-ASCII
|
|
8
|
+
string: ''
|
|
9
|
+
headers:
|
|
10
|
+
User-Agent:
|
|
11
|
+
- Faraday v0.9.2
|
|
12
|
+
Content-Type:
|
|
13
|
+
- application/json
|
|
14
|
+
Authorization:
|
|
15
|
+
- Basic hidden
|
|
16
|
+
response:
|
|
17
|
+
status:
|
|
18
|
+
code: 200
|
|
19
|
+
message:
|
|
20
|
+
headers:
|
|
21
|
+
server:
|
|
22
|
+
- nginx/1.9.10
|
|
23
|
+
date:
|
|
24
|
+
- Fri, 01 Jul 2016 14:47:46 GMT
|
|
25
|
+
content-type:
|
|
26
|
+
- application/json
|
|
27
|
+
content-length:
|
|
28
|
+
- '4407'
|
|
29
|
+
connection:
|
|
30
|
+
- close
|
|
31
|
+
vary:
|
|
32
|
+
- Accept-Encoding
|
|
33
|
+
status:
|
|
34
|
+
- 200 OK
|
|
35
|
+
access-control-allow-credentials:
|
|
36
|
+
- 'true'
|
|
37
|
+
body:
|
|
38
|
+
encoding: UTF-8
|
|
39
|
+
string: '{"entries":[{"date":"2022-04-30","mrr":383859969,"mrr-percentage-change":0.0,"arr":4606319628,"arr-percentage-change":0.0,"customer-churn-rate":0.56,"customer-churn-rate-percentage-change":0.0,"mrr-churn-rate":-0.17,"mrr-churn-rate-percentage-change":0.0,"ltv":117173214,"ltv-percentage-change":0.0,"customers":585,"customers-percentage-change":0.0,"asp":46107,"asp-percentage-change":0.0,"arpa":656170,"arpa-percentage-change":0.0},{"date":"2022-05-31","mrr":670280904,"mrr-percentage-change":74.62,"arr":8043370848,"arr-percentage-change":74.62,"customer-churn-rate":1.71,"customer-churn-rate-percentage-change":205.36,"mrr-churn-rate":-74.52,"mrr-churn-rate-percentage-change":-43735.29,"ltv":65112456,"ltv-percentage-change":-44.43,"customers":602,"customers-percentage-change":2.91,"asp":22035,"asp-percentage-change":-52.21,"arpa":1113423,"arpa-percentage-change":69.69}],"summary":{"current-mrr":670566870,"previous-mrr":670252256,"mrr-percentage-change":0.05,"current-arr":8046802440,"previous-arr":8043027072,"arr-percentage-change":0.05,"current-customer-churn-rate":1.71,"previous-customer-churn-rate":0.56,"customer-churn-rate-percentage-change":205.36,"current-mrr-churn-rate":-74.52,"previous-mrr-churn-rate":-0.17,"mrr-churn-rate-percentage-change":-43735.29,"current-ltv":65112456,"previous-ltv":117173214,"ltv-percentage-change":-44.43,"current-customers":608,"previous-customers":603,"customers-percentage-change":0.83,"current-asp":18160,"previous-asp":23087,"asp-percentage-change":-21.34,"current-arpa":1102906,"previous-arpa":1111529,"arpa-percentage-change":-0.78}}'
|
|
40
|
+
http_version:
|
|
41
|
+
recorded_at: Fri, 01 Jul 2016 14:47:46 GMT
|
|
42
|
+
recorded_with: VCR 3.0.3
|
|
@@ -34,7 +34,7 @@ http_interactions:
|
|
|
34
34
|
- 'true'
|
|
35
35
|
body:
|
|
36
36
|
encoding: UTF-8
|
|
37
|
-
string: '{"entries":[{"date":"
|
|
37
|
+
string: '{"entries":[{"date":"2022-04-30","customer-churn-rate":0.56,"percentage-change":0.0},{"date":"2022-05-31","customer-churn-rate":1.71,"percentage-change":205.36}],"summary":{"current":1.71,"previous":0.56,"percentage-change":205.36}}'
|
|
38
38
|
http_version:
|
|
39
39
|
recorded_at: Fri, 01 Jul 2016 14:47:49 GMT
|
|
40
40
|
recorded_with: VCR 3.0.3
|
|
@@ -36,7 +36,7 @@ http_interactions:
|
|
|
36
36
|
- 'true'
|
|
37
37
|
body:
|
|
38
38
|
encoding: UTF-8
|
|
39
|
-
string: '{"entries":[{"date":"
|
|
39
|
+
string: '{"entries":[{"date":"2022-04-30","customers":585,"percentage-change":0.0},{"date":"2022-05-31","customers":602,"percentage-change":2.91}],"summary":{"current":608,"previous":603,"percentage-change":0.83}}'
|
|
40
40
|
http_version:
|
|
41
41
|
recorded_at: Fri, 01 Jul 2016 14:47:50 GMT
|
|
42
42
|
recorded_with: VCR 3.0.3
|
|
@@ -34,7 +34,7 @@ http_interactions:
|
|
|
34
34
|
- 'true'
|
|
35
35
|
body:
|
|
36
36
|
encoding: UTF-8
|
|
37
|
-
string: '{"entries":[{"date":"
|
|
37
|
+
string: '{"entries":[{"date":"2022-04-30","ltv":117173214,"percentage-change":0.0},{"date":"2022-05-31","ltv":65112456,"percentage-change":-44.43}],"summary":{"current":65112456,"previous":117173214,"percentage-change":-44.43}}'
|
|
38
38
|
http_version:
|
|
39
39
|
recorded_at: Fri, 01 Jul 2016 14:47:48 GMT
|
|
40
40
|
recorded_with: VCR 3.0.3
|
|
@@ -36,7 +36,7 @@ http_interactions:
|
|
|
36
36
|
- 'true'
|
|
37
37
|
body:
|
|
38
38
|
encoding: UTF-8
|
|
39
|
-
string: '{"entries":[{"date":"
|
|
39
|
+
string: '{"entries":[{"date":"2022-04-30","mrr":383859969,"percentage-change":0.0,"mrr-new-business":2489791,"mrr-expansion":1502311,"mrr-contraction":-813307,"mrr-churn":-96723,"mrr-reactivation":54879},{"date":"2022-05-31","mrr":670280904,"percentage-change":74.62,"mrr-new-business":572899,"mrr-expansion":286342340,"mrr-contraction":-226820,"mrr-churn":-64750,"mrr-reactivation":5000}],"summary":{"current":670566870,"previous":670252256,"percentage-change":0.05}}'
|
|
40
40
|
http_version:
|
|
41
41
|
recorded_at: Fri, 01 Jul 2016 14:47:47 GMT
|
|
42
42
|
recorded_with: VCR 3.0.3
|
|
@@ -34,7 +34,7 @@ http_interactions:
|
|
|
34
34
|
- 'true'
|
|
35
35
|
body:
|
|
36
36
|
encoding: UTF-8
|
|
37
|
-
string: '{"entries":[{"date":"
|
|
37
|
+
string: '{"entries":[{"date":"2022-04-30","mrr-churn-rate":-0.17,"percentage-change":0.0},{"date":"2022-05-31","mrr-churn-rate":-74.52,"percentage-change":-43735.29}],"summary":{"current":-74.52,"previous":-0.17,"percentage-change":-43735.29}}'
|
|
38
38
|
http_version:
|
|
39
39
|
recorded_at: Fri, 01 Jul 2016 16:56:25 GMT
|
|
40
40
|
recorded_with: VCR 3.0.3
|