chartmogul-ruby 1.1.1 → 1.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +10 -10
- data/.rspec +2 -2
- data/.travis.yml +4 -4
- data/Gemfile +4 -4
- data/LICENSE.txt +21 -21
- data/README.md +111 -111
- data/Rakefile +6 -6
- data/bin/console +14 -14
- data/bin/setup +9 -9
- data/changelog.md +27 -27
- data/chartmogul-ruby.gemspec +29 -29
- data/fixtures/vcr_cassettes/ChartMogul_Customer/API_Interactions/adds_custom_attributes.yml +80 -80
- data/fixtures/vcr_cassettes/ChartMogul_Customer/API_Interactions/adds_required_tags.yml +79 -79
- data/fixtures/vcr_cassettes/ChartMogul_Customer/API_Interactions/can_page_through_search_endpoint.yml +43 -43
- data/fixtures/vcr_cassettes/ChartMogul_Customer/API_Interactions/correctly_handles_a_422_response.yml +50 -50
- data/fixtures/vcr_cassettes/ChartMogul_Customer/API_Interactions/correctly_interracts_with_the_API.yml +244 -244
- data/fixtures/vcr_cassettes/ChartMogul_Customer/API_Interactions/merges_customers.yml +185 -185
- data/fixtures/vcr_cassettes/ChartMogul_Customer/API_Interactions/raises_401_if_invalid_credentials.yml +38 -38
- data/fixtures/vcr_cassettes/ChartMogul_Customer/API_Interactions/raises_404_if_no_customers_found.yml +38 -38
- data/fixtures/vcr_cassettes/ChartMogul_Customer/API_Interactions/raises_422_for_update_with_invalid_data.yml +86 -86
- data/fixtures/vcr_cassettes/ChartMogul_Customer/API_Interactions/removes_custom_attributes.yml +80 -80
- data/fixtures/vcr_cassettes/ChartMogul_Customer/API_Interactions/removes_tags.yml +80 -80
- data/fixtures/vcr_cassettes/ChartMogul_Customer/API_Interactions/returns_all_customers_through_list_all_endpoint.yml +47 -47
- data/fixtures/vcr_cassettes/ChartMogul_Customer/API_Interactions/returns_customer_through_retrieve_endpoint.yml +42 -42
- data/fixtures/vcr_cassettes/ChartMogul_Customer/API_Interactions/returns_right_customers_through_search_endpoint.yml +43 -43
- data/fixtures/vcr_cassettes/ChartMogul_Customer/API_Interactions/updates_custom_attributes.yml +82 -82
- data/fixtures/vcr_cassettes/ChartMogul_Customer/API_Interactions/updates_customer.yml +139 -139
- data/fixtures/vcr_cassettes/ChartMogul_Customer/_find_by_external_id/when_external_id_is_provided/returns_matching_user_if_exists.yml +102 -102
- data/fixtures/vcr_cassettes/ChartMogul_Customer/_find_by_external_id/when_external_id_is_provided/returns_nil_if_customer_does_not_exist.yml +101 -101
- data/fixtures/vcr_cassettes/ChartMogul_CustomerInvoices/API_Interactions/correctly_interracts_with_the_API.yml +298 -298
- data/fixtures/vcr_cassettes/ChartMogul_DataSource/API_Interactions/correctly_interracts_with_the_API.yml +189 -189
- data/fixtures/vcr_cassettes/ChartMogul_DataSource/API_Interactions/correctly_raises_errors_on_404.yml +46 -46
- data/fixtures/vcr_cassettes/ChartMogul_DataSource/API_Interactions/correctly_raises_errors_on_422.yml +48 -48
- data/fixtures/vcr_cassettes/ChartMogul_DataSource/API_Interactions/retrieves_existing_data_source_matching_uuid.yml +101 -101
- data/fixtures/vcr_cassettes/ChartMogul_Invoice/API_Interactions/deletes_an_invoice.yml +37 -0
- data/fixtures/vcr_cassettes/ChartMogul_Invoice/API_Interactions/deletes_an_invoice_with_class_method.yml +37 -0
- data/fixtures/vcr_cassettes/ChartMogul_Invoice/API_Interactions/raises_error_on_deleting_non-existing_invoice.yml +42 -0
- data/fixtures/vcr_cassettes/ChartMogul_Invoice/API_Interactions/returns_all_invoices_through_list_all_endpoint.yml +46 -46
- data/fixtures/vcr_cassettes/ChartMogul_Metrics_ARPA/behaves_like_Metrics_API_resource/behaves_like_Summary/should_have_summary.yml +42 -42
- data/fixtures/vcr_cassettes/ChartMogul_Metrics_ARPA/behaves_like_Metrics_API_resource/should_have_entries.yml +42 -42
- data/fixtures/vcr_cassettes/ChartMogul_Metrics_ARR/behaves_like_Metrics_API_resource/behaves_like_Summary/should_have_summary.yml +42 -42
- data/fixtures/vcr_cassettes/ChartMogul_Metrics_ARR/behaves_like_Metrics_API_resource/should_have_entries.yml +42 -42
- data/fixtures/vcr_cassettes/ChartMogul_Metrics_ASP/behaves_like_Metrics_API_resource/behaves_like_Summary/should_have_summary.yml +40 -40
- data/fixtures/vcr_cassettes/ChartMogul_Metrics_ASP/behaves_like_Metrics_API_resource/should_have_entries.yml +40 -40
- data/fixtures/vcr_cassettes/ChartMogul_Metrics_Activity/behaves_like_Pageable/should_be_pageable.yml +41 -41
- data/fixtures/vcr_cassettes/ChartMogul_Metrics_Activity/should_have_Activity_entries.yml +41 -41
- data/fixtures/vcr_cassettes/ChartMogul_Metrics_AllKeyMetric/should_have_entries.yml +42 -42
- data/fixtures/vcr_cassettes/ChartMogul_Metrics_CustomerChurnRate/behaves_like_Metrics_API_resource/behaves_like_Summary/should_have_summary.yml +40 -40
- data/fixtures/vcr_cassettes/ChartMogul_Metrics_CustomerChurnRate/behaves_like_Metrics_API_resource/should_have_entries.yml +40 -40
- data/fixtures/vcr_cassettes/ChartMogul_Metrics_CustomerCount/behaves_like_Metrics_API_resource/behaves_like_Summary/should_have_summary.yml +42 -42
- data/fixtures/vcr_cassettes/ChartMogul_Metrics_CustomerCount/behaves_like_Metrics_API_resource/should_have_entries.yml +42 -42
- data/fixtures/vcr_cassettes/ChartMogul_Metrics_LTV/behaves_like_Metrics_API_resource/behaves_like_Summary/should_have_summary.yml +40 -40
- data/fixtures/vcr_cassettes/ChartMogul_Metrics_LTV/behaves_like_Metrics_API_resource/should_have_entries.yml +40 -40
- data/fixtures/vcr_cassettes/ChartMogul_Metrics_MRR/behaves_like_Summary/should_have_summary.yml +42 -42
- data/fixtures/vcr_cassettes/ChartMogul_Metrics_MRR/should_have_entries.yml +42 -42
- data/fixtures/vcr_cassettes/ChartMogul_Metrics_MRRChurnRate/behaves_like_Metrics_API_resource/behaves_like_Summary/should_have_summary.yml +40 -40
- data/fixtures/vcr_cassettes/ChartMogul_Metrics_MRRChurnRate/behaves_like_Metrics_API_resource/should_have_entries.yml +40 -40
- data/fixtures/vcr_cassettes/ChartMogul_Metrics_Subscription/behaves_like_Pageable/should_be_pageable.yml +40 -40
- data/fixtures/vcr_cassettes/ChartMogul_Metrics_Subscription/should_have_Subscription_entries.yml +40 -40
- data/fixtures/vcr_cassettes/ChartMogul_Ping/pings/and_fails_on_incorrect_credentials.yml +38 -38
- data/fixtures/vcr_cassettes/ChartMogul_Ping/pings/when_credentials_correct.yml +38 -38
- data/fixtures/vcr_cassettes/ChartMogul_Plan/API_Interactions/correctly_handles_a_422_error.yml +51 -51
- data/fixtures/vcr_cassettes/ChartMogul_Plan/API_Interactions/correctly_interacts_with_the_API.yml +152 -152
- data/fixtures/vcr_cassettes/ChartMogul_Plan/API_Interactions/deletes_existing_plan.yml +198 -198
- data/fixtures/vcr_cassettes/ChartMogul_Plan/API_Interactions/retrieves_existing_plan_by_uuid.yml +151 -151
- data/fixtures/vcr_cassettes/ChartMogul_Plan/API_Interactions/updates_existing_plan.yml +198 -198
- data/fixtures/vcr_cassettes/ChartMogul_Subscription/API_Interactions/correctly_interracts_with_the_API.yml +340 -340
- data/fixtures/vcr_cassettes/ChartMogul_Subscription/API_Interactions/has_multiple_aliases.yml +101 -101
- data/fixtures/vcr_cassettes/ChartMogul_Transactions_Payment/API_Interactions/correctly_interracts_with_the_API.yml +243 -243
- data/lib/chartmogul.rb +79 -79
- data/lib/chartmogul/api/actions/all.rb +23 -23
- data/lib/chartmogul/api/actions/create.rb +39 -39
- data/lib/chartmogul/api/actions/custom.rb +37 -37
- data/lib/chartmogul/api/actions/destroy.rb +28 -14
- data/lib/chartmogul/api/actions/update.rb +19 -19
- data/lib/chartmogul/api_resource.rb +68 -68
- data/lib/chartmogul/concerns/entries.rb +39 -39
- data/lib/chartmogul/concerns/pageable.rb +13 -13
- data/lib/chartmogul/concerns/pageable2.rb +12 -12
- data/lib/chartmogul/concerns/summary.rb +20 -20
- data/lib/chartmogul/config_attributes.rb +15 -15
- data/lib/chartmogul/configuration.rb +6 -6
- data/lib/chartmogul/customer.rb +155 -155
- data/lib/chartmogul/customer_invoices.rb +44 -44
- data/lib/chartmogul/data_source.rb +38 -38
- data/lib/chartmogul/enrichment/customer.rb +141 -141
- data/lib/chartmogul/errors/chartmogul_error.rb +19 -19
- data/lib/chartmogul/errors/configuration_error.rb +4 -4
- data/lib/chartmogul/errors/forbidden_error.rb +4 -4
- data/lib/chartmogul/errors/not_found_error.rb +4 -4
- data/lib/chartmogul/errors/resource_invalid_error.rb +4 -4
- data/lib/chartmogul/errors/schema_invalid_error.rb +4 -4
- data/lib/chartmogul/errors/unauthorized_error.rb +4 -4
- data/lib/chartmogul/invoice.rb +83 -78
- data/lib/chartmogul/line_items/one_time.rb +23 -23
- data/lib/chartmogul/line_items/subscription.rb +29 -29
- data/lib/chartmogul/metrics/activity.rb +34 -34
- data/lib/chartmogul/metrics/all_key_metrics.rb +25 -25
- data/lib/chartmogul/metrics/arpa.rb +19 -19
- data/lib/chartmogul/metrics/arr.rb +19 -19
- data/lib/chartmogul/metrics/asp.rb +19 -19
- data/lib/chartmogul/metrics/base.rb +56 -56
- data/lib/chartmogul/metrics/customer_churn_rate.rb +19 -19
- data/lib/chartmogul/metrics/customer_count.rb +19 -19
- data/lib/chartmogul/metrics/ltv.rb +19 -19
- data/lib/chartmogul/metrics/mrr.rb +26 -26
- data/lib/chartmogul/metrics/mrr_churn_rate.rb +19 -19
- data/lib/chartmogul/metrics/subscription.rb +37 -37
- data/lib/chartmogul/object.rb +119 -119
- data/lib/chartmogul/ping.rb +14 -14
- data/lib/chartmogul/plan.rb +41 -41
- data/lib/chartmogul/resource_path.rb +42 -42
- data/lib/chartmogul/subscription.rb +48 -48
- data/lib/chartmogul/summary.rb +7 -7
- data/lib/chartmogul/transactions/payment.rb +24 -24
- data/lib/chartmogul/transactions/refund.rb +24 -24
- data/lib/chartmogul/utils/hash_snake_caser.rb +50 -50
- data/lib/chartmogul/utils/json_parser.rb +11 -11
- data/lib/chartmogul/version.rb +3 -3
- metadata +5 -2
data/fixtures/vcr_cassettes/ChartMogul_Metrics_Activity/behaves_like_Pageable/should_be_pageable.yml
CHANGED
@@ -1,41 +1,41 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: get
|
5
|
-
uri: https://api.chartmogul.com/v1/customers/cus_91af761e-9d0a-11e5-b514-1feab446feac/activities
|
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 YzU0NjYwNDU5ZTMzODBkYzUyNmVhYjNiZjlhZGIyOGQ6N2MyMDEzOTYzZjQ2NGZiMmQ3ZjVjOTJkZDZiMjk2NDQ=
|
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:49 GMT
|
25
|
-
content-type:
|
26
|
-
- application/json
|
27
|
-
content-length:
|
28
|
-
- '278'
|
29
|
-
connection:
|
30
|
-
- close
|
31
|
-
status:
|
32
|
-
- 200 OK
|
33
|
-
access-control-allow-credentials:
|
34
|
-
- 'true'
|
35
|
-
body:
|
36
|
-
encoding: UTF-8
|
37
|
-
string: '{"entries":[{"id":16664702,"description":"purchased the Yael Cohen
|
38
|
-
plan","activity-mrr-movement":10871,"activity-mrr":10871,"activity-arr":130452,"date":"2015-04-16T13:38:29+00:00","type":"new_biz","currency":"USD","currency-sign":"$"}],"has_more":false,"per_page":200,"page":1}'
|
39
|
-
http_version:
|
40
|
-
recorded_at: Fri, 01 Jul 2016 14:47:49 GMT
|
41
|
-
recorded_with: VCR 3.0.3
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://api.chartmogul.com/v1/customers/cus_91af761e-9d0a-11e5-b514-1feab446feac/activities
|
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 YzU0NjYwNDU5ZTMzODBkYzUyNmVhYjNiZjlhZGIyOGQ6N2MyMDEzOTYzZjQ2NGZiMmQ3ZjVjOTJkZDZiMjk2NDQ=
|
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:49 GMT
|
25
|
+
content-type:
|
26
|
+
- application/json
|
27
|
+
content-length:
|
28
|
+
- '278'
|
29
|
+
connection:
|
30
|
+
- close
|
31
|
+
status:
|
32
|
+
- 200 OK
|
33
|
+
access-control-allow-credentials:
|
34
|
+
- 'true'
|
35
|
+
body:
|
36
|
+
encoding: UTF-8
|
37
|
+
string: '{"entries":[{"id":16664702,"description":"purchased the Yael Cohen
|
38
|
+
plan","activity-mrr-movement":10871,"activity-mrr":10871,"activity-arr":130452,"date":"2015-04-16T13:38:29+00:00","type":"new_biz","currency":"USD","currency-sign":"$"}],"has_more":false,"per_page":200,"page":1}'
|
39
|
+
http_version:
|
40
|
+
recorded_at: Fri, 01 Jul 2016 14:47:49 GMT
|
41
|
+
recorded_with: VCR 3.0.3
|
@@ -1,41 +1,41 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: get
|
5
|
-
uri: https://api.chartmogul.com/v1/customers/cus_91af761e-9d0a-11e5-b514-1feab446feac/activities
|
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 YzU0NjYwNDU5ZTMzODBkYzUyNmVhYjNiZjlhZGIyOGQ6N2MyMDEzOTYzZjQ2NGZiMmQ3ZjVjOTJkZDZiMjk2NDQ=
|
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:49 GMT
|
25
|
-
content-type:
|
26
|
-
- application/json
|
27
|
-
content-length:
|
28
|
-
- '278'
|
29
|
-
connection:
|
30
|
-
- close
|
31
|
-
status:
|
32
|
-
- 200 OK
|
33
|
-
access-control-allow-credentials:
|
34
|
-
- 'true'
|
35
|
-
body:
|
36
|
-
encoding: UTF-8
|
37
|
-
string: '{"entries":[{"id":16664702,"description":"purchased the Yael Cohen
|
38
|
-
plan","activity-mrr-movement":10871,"activity-mrr":10871,"activity-arr":130452,"date":"2015-04-16T13:38:29+00:00","type":"new_biz","currency":"USD","currency-sign":"$"}],"has_more":false,"per_page":200,"page":1}'
|
39
|
-
http_version:
|
40
|
-
recorded_at: Fri, 01 Jul 2016 14:47:49 GMT
|
41
|
-
recorded_with: VCR 3.0.3
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://api.chartmogul.com/v1/customers/cus_91af761e-9d0a-11e5-b514-1feab446feac/activities
|
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 YzU0NjYwNDU5ZTMzODBkYzUyNmVhYjNiZjlhZGIyOGQ6N2MyMDEzOTYzZjQ2NGZiMmQ3ZjVjOTJkZDZiMjk2NDQ=
|
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:49 GMT
|
25
|
+
content-type:
|
26
|
+
- application/json
|
27
|
+
content-length:
|
28
|
+
- '278'
|
29
|
+
connection:
|
30
|
+
- close
|
31
|
+
status:
|
32
|
+
- 200 OK
|
33
|
+
access-control-allow-credentials:
|
34
|
+
- 'true'
|
35
|
+
body:
|
36
|
+
encoding: UTF-8
|
37
|
+
string: '{"entries":[{"id":16664702,"description":"purchased the Yael Cohen
|
38
|
+
plan","activity-mrr-movement":10871,"activity-mrr":10871,"activity-arr":130452,"date":"2015-04-16T13:38:29+00:00","type":"new_biz","currency":"USD","currency-sign":"$"}],"has_more":false,"per_page":200,"page":1}'
|
39
|
+
http_version:
|
40
|
+
recorded_at: Fri, 01 Jul 2016 14:47:49 GMT
|
41
|
+
recorded_with: VCR 3.0.3
|
@@ -1,42 +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 YzU0NjYwNDU5ZTMzODBkYzUyNmVhYjNiZjlhZGIyOGQ6N2MyMDEzOTYzZjQ2NGZiMmQ3ZjVjOTJkZDZiMjk2NDQ=
|
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":"2015-01-01","customer-churn-rate":0.0,"mrr-churn-rate":0.0,"ltv":0,"customers":0,"asp":12731,"arpa":0,"arr":0,"mrr":0},{"date":"2015-01-02","customer-churn-rate":0.0,"mrr-churn-rate":0.0,"ltv":0,"customers":0,"asp":12731,"arpa":0,"arr":0,"mrr":0},{"date":"2015-01-03","customer-churn-rate":0.0,"mrr-churn-rate":0.0,"ltv":0,"customers":0,"asp":12731,"arpa":0,"arr":0,"mrr":0},{"date":"2015-01-04","customer-churn-rate":0.0,"mrr-churn-rate":0.0,"ltv":0,"customers":0,"asp":12731,"arpa":0,"arr":0,"mrr":0},{"date":"2015-01-05","customer-churn-rate":0.0,"mrr-churn-rate":0.0,"ltv":0,"customers":0,"asp":12731,"arpa":0,"arr":0,"mrr":0},{"date":"2015-01-06","customer-churn-rate":0.0,"mrr-churn-rate":0.0,"ltv":0,"customers":0,"asp":12731,"arpa":0,"arr":0,"mrr":0},{"date":"2015-01-07","customer-churn-rate":0.0,"mrr-churn-rate":0.0,"ltv":0,"customers":0,"asp":12731,"arpa":0,"arr":0,"mrr":0},{"date":"2015-01-08","customer-churn-rate":0.0,"mrr-churn-rate":0.0,"ltv":0,"customers":0,"asp":12731,"arpa":0,"arr":0,"mrr":0},{"date":"2015-01-09","customer-churn-rate":0.0,"mrr-churn-rate":0.0,"ltv":0,"customers":3,"asp":12731,"arpa":11371,"arr":409344,"mrr":34112},{"date":"2015-01-10","customer-churn-rate":0.0,"mrr-churn-rate":0.0,"ltv":0,"customers":3,"asp":12731,"arpa":11371,"arr":409344,"mrr":34112},{"date":"2015-01-11","customer-churn-rate":0.0,"mrr-churn-rate":0.0,"ltv":0,"customers":3,"asp":12731,"arpa":11371,"arr":409344,"mrr":34112},{"date":"2015-01-12","customer-churn-rate":0.0,"mrr-churn-rate":0.0,"ltv":0,"customers":4,"asp":12731,"arpa":16092,"arr":772392,"mrr":64366},{"date":"2015-01-13","customer-churn-rate":0.0,"mrr-churn-rate":0.0,"ltv":0,"customers":4,"asp":12731,"arpa":16092,"arr":772392,"mrr":64366},{"date":"2015-01-14","customer-churn-rate":0.0,"mrr-churn-rate":0.0,"ltv":0,"customers":4,"asp":12731,"arpa":13963,"arr":670236,"mrr":55853},{"date":"2015-01-15","customer-churn-rate":0.0,"mrr-churn-rate":0.0,"ltv":0,"customers":4,"asp":12731,"arpa":13963,"arr":670236,"mrr":55853},{"date":"2015-01-16","customer-churn-rate":0.0,"mrr-churn-rate":0.0,"ltv":0,"customers":4,"asp":12731,"arpa":13963,"arr":670236,"mrr":55853},{"date":"2015-01-17","customer-churn-rate":0.0,"mrr-churn-rate":0.0,"ltv":0,"customers":4,"asp":12731,"arpa":13963,"arr":670236,"mrr":55853},{"date":"2015-01-18","customer-churn-rate":0.0,"mrr-churn-rate":0.0,"ltv":0,"customers":5,"asp":12731,"arpa":13171,"arr":790236,"mrr":65853},{"date":"2015-01-19","customer-churn-rate":0.0,"mrr-churn-rate":0.0,"ltv":0,"customers":5,"asp":12731,"arpa":13171,"arr":790236,"mrr":65853},{"date":"2015-01-20","customer-churn-rate":0.0,"mrr-churn-rate":0.0,"ltv":0,"customers":5,"asp":12731,"arpa":13171,"arr":790236,"mrr":65853},{"date":"2015-01-21","customer-churn-rate":0.0,"mrr-churn-rate":0.0,"ltv":0,"customers":5,"asp":12731,"arpa":13171,"arr":790236,"mrr":65853},{"date":"2015-01-22","customer-churn-rate":0.0,"mrr-churn-rate":0.0,"ltv":0,"customers":4,"asp":12731,"arpa":10996,"arr":659784,"mrr":54982},{"date":"2015-01-23","customer-churn-rate":0.0,"mrr-churn-rate":0.0,"ltv":0,"customers":4,"asp":12731,"arpa":13474,"arr":646740,"mrr":53895},{"date":"2015-01-24","customer-churn-rate":0.0,"mrr-churn-rate":0.0,"ltv":0,"customers":4,"asp":12731,"arpa":13474,"arr":646740,"mrr":53895},{"date":"2015-01-25","customer-churn-rate":0.0,"mrr-churn-rate":0.0,"ltv":0,"customers":4,"asp":12731,"arpa":13474,"arr":646740,"mrr":53895},{"date":"2015-01-26","customer-churn-rate":0.0,"mrr-churn-rate":0.0,"ltv":0,"customers":0,"asp":12731,"arpa":0,"arr":0,"mrr":0},{"date":"2015-01-27","customer-churn-rate":0.0,"mrr-churn-rate":0.0,"ltv":0,"customers":1,"asp":12731,"arpa":10000,"arr":120000,"mrr":10000},{"date":"2015-01-28","customer-churn-rate":0.0,"mrr-churn-rate":0.0,"ltv":0,"customers":1,"asp":12731,"arpa":10000,"arr":120000,"mrr":10000},{"date":"2015-01-29","customer-churn-rate":0.0,"mrr-churn-rate":0.0,"ltv":0,"customers":1,"asp":12731,"arpa":3436,"arr":82452,"mrr":6871},{"date":"2015-01-30","customer-churn-rate":0.0,"mrr-churn-rate":0.0,"ltv":0,"customers":1,"asp":12731,"arpa":15620,"arr":187440,"mrr":15620},{"date":"2015-01-31","customer-churn-rate":0.0,"mrr-churn-rate":0.0,"ltv":0,"customers":1,"asp":12731,"arpa":15620,"arr":187440,"mrr":15620},{"date":"2015-02-01","customer-churn-rate":0.0,"mrr-churn-rate":0.0,"ltv":15620.0,"customers":1,"asp":0,"arpa":15620,"arr":187440,"mrr":15620}]}'
|
40
|
-
http_version:
|
41
|
-
recorded_at: Fri, 01 Jul 2016 14:47:46 GMT
|
42
|
-
recorded_with: VCR 3.0.3
|
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 YzU0NjYwNDU5ZTMzODBkYzUyNmVhYjNiZjlhZGIyOGQ6N2MyMDEzOTYzZjQ2NGZiMmQ3ZjVjOTJkZDZiMjk2NDQ=
|
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":"2015-01-01","customer-churn-rate":0.0,"mrr-churn-rate":0.0,"ltv":0,"customers":0,"asp":12731,"arpa":0,"arr":0,"mrr":0},{"date":"2015-01-02","customer-churn-rate":0.0,"mrr-churn-rate":0.0,"ltv":0,"customers":0,"asp":12731,"arpa":0,"arr":0,"mrr":0},{"date":"2015-01-03","customer-churn-rate":0.0,"mrr-churn-rate":0.0,"ltv":0,"customers":0,"asp":12731,"arpa":0,"arr":0,"mrr":0},{"date":"2015-01-04","customer-churn-rate":0.0,"mrr-churn-rate":0.0,"ltv":0,"customers":0,"asp":12731,"arpa":0,"arr":0,"mrr":0},{"date":"2015-01-05","customer-churn-rate":0.0,"mrr-churn-rate":0.0,"ltv":0,"customers":0,"asp":12731,"arpa":0,"arr":0,"mrr":0},{"date":"2015-01-06","customer-churn-rate":0.0,"mrr-churn-rate":0.0,"ltv":0,"customers":0,"asp":12731,"arpa":0,"arr":0,"mrr":0},{"date":"2015-01-07","customer-churn-rate":0.0,"mrr-churn-rate":0.0,"ltv":0,"customers":0,"asp":12731,"arpa":0,"arr":0,"mrr":0},{"date":"2015-01-08","customer-churn-rate":0.0,"mrr-churn-rate":0.0,"ltv":0,"customers":0,"asp":12731,"arpa":0,"arr":0,"mrr":0},{"date":"2015-01-09","customer-churn-rate":0.0,"mrr-churn-rate":0.0,"ltv":0,"customers":3,"asp":12731,"arpa":11371,"arr":409344,"mrr":34112},{"date":"2015-01-10","customer-churn-rate":0.0,"mrr-churn-rate":0.0,"ltv":0,"customers":3,"asp":12731,"arpa":11371,"arr":409344,"mrr":34112},{"date":"2015-01-11","customer-churn-rate":0.0,"mrr-churn-rate":0.0,"ltv":0,"customers":3,"asp":12731,"arpa":11371,"arr":409344,"mrr":34112},{"date":"2015-01-12","customer-churn-rate":0.0,"mrr-churn-rate":0.0,"ltv":0,"customers":4,"asp":12731,"arpa":16092,"arr":772392,"mrr":64366},{"date":"2015-01-13","customer-churn-rate":0.0,"mrr-churn-rate":0.0,"ltv":0,"customers":4,"asp":12731,"arpa":16092,"arr":772392,"mrr":64366},{"date":"2015-01-14","customer-churn-rate":0.0,"mrr-churn-rate":0.0,"ltv":0,"customers":4,"asp":12731,"arpa":13963,"arr":670236,"mrr":55853},{"date":"2015-01-15","customer-churn-rate":0.0,"mrr-churn-rate":0.0,"ltv":0,"customers":4,"asp":12731,"arpa":13963,"arr":670236,"mrr":55853},{"date":"2015-01-16","customer-churn-rate":0.0,"mrr-churn-rate":0.0,"ltv":0,"customers":4,"asp":12731,"arpa":13963,"arr":670236,"mrr":55853},{"date":"2015-01-17","customer-churn-rate":0.0,"mrr-churn-rate":0.0,"ltv":0,"customers":4,"asp":12731,"arpa":13963,"arr":670236,"mrr":55853},{"date":"2015-01-18","customer-churn-rate":0.0,"mrr-churn-rate":0.0,"ltv":0,"customers":5,"asp":12731,"arpa":13171,"arr":790236,"mrr":65853},{"date":"2015-01-19","customer-churn-rate":0.0,"mrr-churn-rate":0.0,"ltv":0,"customers":5,"asp":12731,"arpa":13171,"arr":790236,"mrr":65853},{"date":"2015-01-20","customer-churn-rate":0.0,"mrr-churn-rate":0.0,"ltv":0,"customers":5,"asp":12731,"arpa":13171,"arr":790236,"mrr":65853},{"date":"2015-01-21","customer-churn-rate":0.0,"mrr-churn-rate":0.0,"ltv":0,"customers":5,"asp":12731,"arpa":13171,"arr":790236,"mrr":65853},{"date":"2015-01-22","customer-churn-rate":0.0,"mrr-churn-rate":0.0,"ltv":0,"customers":4,"asp":12731,"arpa":10996,"arr":659784,"mrr":54982},{"date":"2015-01-23","customer-churn-rate":0.0,"mrr-churn-rate":0.0,"ltv":0,"customers":4,"asp":12731,"arpa":13474,"arr":646740,"mrr":53895},{"date":"2015-01-24","customer-churn-rate":0.0,"mrr-churn-rate":0.0,"ltv":0,"customers":4,"asp":12731,"arpa":13474,"arr":646740,"mrr":53895},{"date":"2015-01-25","customer-churn-rate":0.0,"mrr-churn-rate":0.0,"ltv":0,"customers":4,"asp":12731,"arpa":13474,"arr":646740,"mrr":53895},{"date":"2015-01-26","customer-churn-rate":0.0,"mrr-churn-rate":0.0,"ltv":0,"customers":0,"asp":12731,"arpa":0,"arr":0,"mrr":0},{"date":"2015-01-27","customer-churn-rate":0.0,"mrr-churn-rate":0.0,"ltv":0,"customers":1,"asp":12731,"arpa":10000,"arr":120000,"mrr":10000},{"date":"2015-01-28","customer-churn-rate":0.0,"mrr-churn-rate":0.0,"ltv":0,"customers":1,"asp":12731,"arpa":10000,"arr":120000,"mrr":10000},{"date":"2015-01-29","customer-churn-rate":0.0,"mrr-churn-rate":0.0,"ltv":0,"customers":1,"asp":12731,"arpa":3436,"arr":82452,"mrr":6871},{"date":"2015-01-30","customer-churn-rate":0.0,"mrr-churn-rate":0.0,"ltv":0,"customers":1,"asp":12731,"arpa":15620,"arr":187440,"mrr":15620},{"date":"2015-01-31","customer-churn-rate":0.0,"mrr-churn-rate":0.0,"ltv":0,"customers":1,"asp":12731,"arpa":15620,"arr":187440,"mrr":15620},{"date":"2015-02-01","customer-churn-rate":0.0,"mrr-churn-rate":0.0,"ltv":15620.0,"customers":1,"asp":0,"arpa":15620,"arr":187440,"mrr":15620}]}'
|
40
|
+
http_version:
|
41
|
+
recorded_at: Fri, 01 Jul 2016 14:47:46 GMT
|
42
|
+
recorded_with: VCR 3.0.3
|
@@ -1,40 +1,40 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: get
|
5
|
-
uri: https://api.chartmogul.com/v1/metrics/customer-churn-rate?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 YzU0NjYwNDU5ZTMzODBkYzUyNmVhYjNiZjlhZGIyOGQ6N2MyMDEzOTYzZjQ2NGZiMmQ3ZjVjOTJkZDZiMjk2NDQ=
|
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:50 GMT
|
25
|
-
content-type:
|
26
|
-
- application/json
|
27
|
-
content-length:
|
28
|
-
- '170'
|
29
|
-
connection:
|
30
|
-
- close
|
31
|
-
status:
|
32
|
-
- 200 OK
|
33
|
-
access-control-allow-credentials:
|
34
|
-
- 'true'
|
35
|
-
body:
|
36
|
-
encoding: UTF-8
|
37
|
-
string: '{"entries":[{"date":"2015-01-31","customer-churn-rate":0.0},{"date":"2015-02-01","customer-churn-rate":0.0}],"summary":{"current":0,"previous":0,"percentage-change":0.0}}'
|
38
|
-
http_version:
|
39
|
-
recorded_at: Fri, 01 Jul 2016 14:47:50 GMT
|
40
|
-
recorded_with: VCR 3.0.3
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://api.chartmogul.com/v1/metrics/customer-churn-rate?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 YzU0NjYwNDU5ZTMzODBkYzUyNmVhYjNiZjlhZGIyOGQ6N2MyMDEzOTYzZjQ2NGZiMmQ3ZjVjOTJkZDZiMjk2NDQ=
|
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:50 GMT
|
25
|
+
content-type:
|
26
|
+
- application/json
|
27
|
+
content-length:
|
28
|
+
- '170'
|
29
|
+
connection:
|
30
|
+
- close
|
31
|
+
status:
|
32
|
+
- 200 OK
|
33
|
+
access-control-allow-credentials:
|
34
|
+
- 'true'
|
35
|
+
body:
|
36
|
+
encoding: UTF-8
|
37
|
+
string: '{"entries":[{"date":"2015-01-31","customer-churn-rate":0.0},{"date":"2015-02-01","customer-churn-rate":0.0}],"summary":{"current":0,"previous":0,"percentage-change":0.0}}'
|
38
|
+
http_version:
|
39
|
+
recorded_at: Fri, 01 Jul 2016 14:47:50 GMT
|
40
|
+
recorded_with: VCR 3.0.3
|
@@ -1,40 +1,40 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: get
|
5
|
-
uri: https://api.chartmogul.com/v1/metrics/customer-churn-rate?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 YzU0NjYwNDU5ZTMzODBkYzUyNmVhYjNiZjlhZGIyOGQ6N2MyMDEzOTYzZjQ2NGZiMmQ3ZjVjOTJkZDZiMjk2NDQ=
|
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:49 GMT
|
25
|
-
content-type:
|
26
|
-
- application/json
|
27
|
-
content-length:
|
28
|
-
- '170'
|
29
|
-
connection:
|
30
|
-
- close
|
31
|
-
status:
|
32
|
-
- 200 OK
|
33
|
-
access-control-allow-credentials:
|
34
|
-
- 'true'
|
35
|
-
body:
|
36
|
-
encoding: UTF-8
|
37
|
-
string: '{"entries":[{"date":"2015-01-31","customer-churn-rate":0.0},{"date":"2015-02-01","customer-churn-rate":0.0}],"summary":{"current":0,"previous":0,"percentage-change":0.0}}'
|
38
|
-
http_version:
|
39
|
-
recorded_at: Fri, 01 Jul 2016 14:47:49 GMT
|
40
|
-
recorded_with: VCR 3.0.3
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://api.chartmogul.com/v1/metrics/customer-churn-rate?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 YzU0NjYwNDU5ZTMzODBkYzUyNmVhYjNiZjlhZGIyOGQ6N2MyMDEzOTYzZjQ2NGZiMmQ3ZjVjOTJkZDZiMjk2NDQ=
|
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:49 GMT
|
25
|
+
content-type:
|
26
|
+
- application/json
|
27
|
+
content-length:
|
28
|
+
- '170'
|
29
|
+
connection:
|
30
|
+
- close
|
31
|
+
status:
|
32
|
+
- 200 OK
|
33
|
+
access-control-allow-credentials:
|
34
|
+
- 'true'
|
35
|
+
body:
|
36
|
+
encoding: UTF-8
|
37
|
+
string: '{"entries":[{"date":"2015-01-31","customer-churn-rate":0.0},{"date":"2015-02-01","customer-churn-rate":0.0}],"summary":{"current":0,"previous":0,"percentage-change":0.0}}'
|
38
|
+
http_version:
|
39
|
+
recorded_at: Fri, 01 Jul 2016 14:47:49 GMT
|
40
|
+
recorded_with: VCR 3.0.3
|
@@ -1,42 +1,42 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: get
|
5
|
-
uri: https://api.chartmogul.com/v1/metrics/customer-count?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 YzU0NjYwNDU5ZTMzODBkYzUyNmVhYjNiZjlhZGIyOGQ6N2MyMDEzOTYzZjQ2NGZiMmQ3ZjVjOTJkZDZiMjk2NDQ=
|
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:51 GMT
|
25
|
-
content-type:
|
26
|
-
- application/json
|
27
|
-
content-length:
|
28
|
-
- '1226'
|
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":"2015-01-01","customers":0},{"date":"2015-01-02","customers":0},{"date":"2015-01-03","customers":0},{"date":"2015-01-04","customers":0},{"date":"2015-01-05","customers":0},{"date":"2015-01-06","customers":0},{"date":"2015-01-07","customers":0},{"date":"2015-01-08","customers":0},{"date":"2015-01-09","customers":3},{"date":"2015-01-10","customers":3},{"date":"2015-01-11","customers":3},{"date":"2015-01-12","customers":4},{"date":"2015-01-13","customers":4},{"date":"2015-01-14","customers":4},{"date":"2015-01-15","customers":4},{"date":"2015-01-16","customers":4},{"date":"2015-01-17","customers":4},{"date":"2015-01-18","customers":5},{"date":"2015-01-19","customers":5},{"date":"2015-01-20","customers":5},{"date":"2015-01-21","customers":5},{"date":"2015-01-22","customers":4},{"date":"2015-01-23","customers":4},{"date":"2015-01-24","customers":4},{"date":"2015-01-25","customers":4},{"date":"2015-01-26","customers":0},{"date":"2015-01-27","customers":1},{"date":"2015-01-28","customers":1},{"date":"2015-01-29","customers":1},{"date":"2015-01-30","customers":1},{"date":"2015-01-31","customers":1},{"date":"2015-02-01","customers":1}],"summary":{"current":4,"previous":4,"percentage-change":0.0}}'
|
40
|
-
http_version:
|
41
|
-
recorded_at: Fri, 01 Jul 2016 14:47:51 GMT
|
42
|
-
recorded_with: VCR 3.0.3
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://api.chartmogul.com/v1/metrics/customer-count?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 YzU0NjYwNDU5ZTMzODBkYzUyNmVhYjNiZjlhZGIyOGQ6N2MyMDEzOTYzZjQ2NGZiMmQ3ZjVjOTJkZDZiMjk2NDQ=
|
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:51 GMT
|
25
|
+
content-type:
|
26
|
+
- application/json
|
27
|
+
content-length:
|
28
|
+
- '1226'
|
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":"2015-01-01","customers":0},{"date":"2015-01-02","customers":0},{"date":"2015-01-03","customers":0},{"date":"2015-01-04","customers":0},{"date":"2015-01-05","customers":0},{"date":"2015-01-06","customers":0},{"date":"2015-01-07","customers":0},{"date":"2015-01-08","customers":0},{"date":"2015-01-09","customers":3},{"date":"2015-01-10","customers":3},{"date":"2015-01-11","customers":3},{"date":"2015-01-12","customers":4},{"date":"2015-01-13","customers":4},{"date":"2015-01-14","customers":4},{"date":"2015-01-15","customers":4},{"date":"2015-01-16","customers":4},{"date":"2015-01-17","customers":4},{"date":"2015-01-18","customers":5},{"date":"2015-01-19","customers":5},{"date":"2015-01-20","customers":5},{"date":"2015-01-21","customers":5},{"date":"2015-01-22","customers":4},{"date":"2015-01-23","customers":4},{"date":"2015-01-24","customers":4},{"date":"2015-01-25","customers":4},{"date":"2015-01-26","customers":0},{"date":"2015-01-27","customers":1},{"date":"2015-01-28","customers":1},{"date":"2015-01-29","customers":1},{"date":"2015-01-30","customers":1},{"date":"2015-01-31","customers":1},{"date":"2015-02-01","customers":1}],"summary":{"current":4,"previous":4,"percentage-change":0.0}}'
|
40
|
+
http_version:
|
41
|
+
recorded_at: Fri, 01 Jul 2016 14:47:51 GMT
|
42
|
+
recorded_with: VCR 3.0.3
|