chartmogul-ruby 1.6.6 → 1.7.2
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/changelog.md +16 -0
- data/fixtures/vcr_cassettes/ChartMogul_APIResource/connection/works_in_a_threaded_environment.yml +3 -3
- data/fixtures/vcr_cassettes/ChartMogul_APIResource/connection/works_when_credentials_are_updated.yml +2 -2
- data/fixtures/vcr_cassettes/ChartMogul_Account/returns_details_of_current_account.yml +64 -0
- data/fixtures/vcr_cassettes/ChartMogul_Customer/API_Interactions/adds_custom_attributes.yml +4 -4
- data/fixtures/vcr_cassettes/ChartMogul_Customer/API_Interactions/adds_required_tags.yml +2 -2
- data/fixtures/vcr_cassettes/ChartMogul_Customer/API_Interactions/can_page_through_search_endpoint.yml +1 -1
- data/fixtures/vcr_cassettes/ChartMogul_Customer/API_Interactions/correctly_handles_a_422_response.yml +1 -1
- data/fixtures/vcr_cassettes/ChartMogul_Customer/API_Interactions/correctly_interracts_with_the_API.yml +72 -124
- data/fixtures/vcr_cassettes/ChartMogul_Customer/API_Interactions/merges_customers.yml +5 -5
- data/fixtures/vcr_cassettes/ChartMogul_Customer/API_Interactions/raises_401_if_invalid_credentials.yml +1 -1
- data/fixtures/vcr_cassettes/ChartMogul_Customer/API_Interactions/raises_404_if_no_customers_found.yml +1 -1
- data/fixtures/vcr_cassettes/ChartMogul_Customer/API_Interactions/raises_422_for_update_with_invalid_data.yml +2 -2
- data/fixtures/vcr_cassettes/ChartMogul_Customer/API_Interactions/removes_custom_attributes.yml +2 -2
- data/fixtures/vcr_cassettes/ChartMogul_Customer/API_Interactions/removes_tags.yml +2 -2
- data/fixtures/vcr_cassettes/ChartMogul_Customer/API_Interactions/respects_camel_case_for_all_customers_endpoint.yml +45 -0
- data/fixtures/vcr_cassettes/ChartMogul_Customer/API_Interactions/returns_all_customers_through_list_all_endpoint.yml +1 -1
- data/fixtures/vcr_cassettes/ChartMogul_Customer/API_Interactions/returns_customer_through_retrieve_endpoint.yml +1 -1
- data/fixtures/vcr_cassettes/ChartMogul_Customer/API_Interactions/returns_right_customers_through_search_endpoint.yml +1 -1
- data/fixtures/vcr_cassettes/ChartMogul_Customer/API_Interactions/updates_custom_attributes.yml +4 -4
- data/fixtures/vcr_cassettes/ChartMogul_Customer/API_Interactions/updates_customer.yml +3 -3
- data/fixtures/vcr_cassettes/ChartMogul_Customer/API_Interactions/updates_customer_using_class_method.yml +1 -1
- data/fixtures/vcr_cassettes/ChartMogul_Customer/_find_by_external_id/when_external_id_is_provided/returns_matching_user_if_exists.yml +2 -2
- data/fixtures/vcr_cassettes/ChartMogul_Customer/_find_by_external_id/when_external_id_is_provided/returns_nil_if_customer_does_not_exist.yml +2 -2
- data/fixtures/vcr_cassettes/ChartMogul_CustomerInvoices/API_Interactions/correctly_interracts_with_the_API.yml +7 -7
- data/fixtures/vcr_cassettes/ChartMogul_DataSource/API_Interactions/correctly_interracts_with_the_API.yml +4 -4
- data/fixtures/vcr_cassettes/ChartMogul_DataSource/API_Interactions/correctly_raises_errors_on_404.yml +1 -1
- data/fixtures/vcr_cassettes/ChartMogul_DataSource/API_Interactions/correctly_raises_errors_on_422.yml +1 -1
- data/fixtures/vcr_cassettes/ChartMogul_DataSource/API_Interactions/retrieves_existing_data_source_matching_uuid.yml +2 -2
- data/fixtures/vcr_cassettes/ChartMogul_Invoice/API_Interactions/deletes_an_invoice.yml +1 -1
- data/fixtures/vcr_cassettes/ChartMogul_Invoice/API_Interactions/deletes_an_invoice_with_class_method.yml +1 -1
- data/fixtures/vcr_cassettes/ChartMogul_Invoice/API_Interactions/raises_error_on_deleting_non-existing_invoice.yml +1 -1
- data/fixtures/vcr_cassettes/ChartMogul_Invoice/API_Interactions/retrieves_existing_invoice_by_uuid.yml +1 -1
- data/fixtures/vcr_cassettes/ChartMogul_Invoice/API_Interactions/returns_all_invoices_through_list_all_endpoint.yml +1 -1
- data/fixtures/vcr_cassettes/ChartMogul_Metrics_ARPA/behaves_like_Metrics_API_resource/behaves_like_Summary/should_have_summary.yml +1 -1
- 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/behaves_like_Summary/should_have_summary.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/behaves_like_Summary/should_have_summary.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_Activity/behaves_like_Pageable/should_be_pageable.yml +2 -2
- data/fixtures/vcr_cassettes/ChartMogul_Metrics_Activity/should_have_Activity_entries.yml +2 -2
- data/fixtures/vcr_cassettes/ChartMogul_Metrics_AllKeyMetric/should_have_entries.yml +1 -1
- data/fixtures/vcr_cassettes/ChartMogul_Metrics_CustomerChurnRate/behaves_like_Metrics_API_resource/behaves_like_Summary/should_have_summary.yml +1 -1
- 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/behaves_like_Summary/should_have_summary.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/behaves_like_Summary/should_have_summary.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/behaves_like_Summary/should_have_summary.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/behaves_like_Summary/should_have_summary.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_Metrics_Subscription/behaves_like_Pageable/should_be_pageable.yml +1 -1
- data/fixtures/vcr_cassettes/ChartMogul_Metrics_Subscription/should_have_Subscription_entries.yml +1 -1
- data/fixtures/vcr_cassettes/ChartMogul_Ping/pings/and_fails_on_incorrect_credentials.yml +1 -1
- data/fixtures/vcr_cassettes/ChartMogul_Ping/pings/and_fails_with_500_internal_server_error.yml +1 -1
- data/fixtures/vcr_cassettes/ChartMogul_Ping/pings/and_fails_with_504_gateway_timeout_error.yml +1 -1
- data/fixtures/vcr_cassettes/ChartMogul_Ping/pings/when_credentials_correct.yml +1 -1
- data/fixtures/vcr_cassettes/ChartMogul_Plan/API_Interactions/correctly_handles_a_422_error.yml +1 -1
- data/fixtures/vcr_cassettes/ChartMogul_Plan/API_Interactions/correctly_interacts_with_the_API.yml +3 -3
- data/fixtures/vcr_cassettes/ChartMogul_Plan/API_Interactions/deletes_existing_plan.yml +4 -4
- data/fixtures/vcr_cassettes/ChartMogul_Plan/API_Interactions/retrieves_existing_plan_by_uuid.yml +3 -3
- data/fixtures/vcr_cassettes/ChartMogul_Plan/API_Interactions/updates_existing_plan.yml +4 -4
- data/fixtures/vcr_cassettes/ChartMogul_Plan/API_Interactions/updates_existing_plan_using_class_method.yml +3 -3
- data/fixtures/vcr_cassettes/ChartMogul_PlanGroup/API_interactions/correctly_handles_a_422_error.yml +1 -1
- data/fixtures/vcr_cassettes/ChartMogul_PlanGroup/API_interactions/deletes_a_plan_group.yml +6 -6
- data/fixtures/vcr_cassettes/ChartMogul_PlanGroup/API_interactions/retrieves_existing_plan_group_by_uuid.yml +5 -5
- data/fixtures/vcr_cassettes/ChartMogul_PlanGroup/API_interactions/returns_an_array_of_plan_groups.yml +7 -7
- data/fixtures/vcr_cassettes/ChartMogul_PlanGroup/API_interactions/updates_existing_plan_group_name.yml +6 -6
- data/fixtures/vcr_cassettes/ChartMogul_PlanGroup/API_interactions/updates_existing_plan_group_name_via_class_method.yml +5 -5
- data/fixtures/vcr_cassettes/ChartMogul_PlanGroup/API_interactions/updates_existing_plan_group_plans.yml +8 -8
- data/fixtures/vcr_cassettes/ChartMogul_PlanGroups_Plans/API_interactions/given_a_plan_group_uuid_returns_an_array_of_plans_in_the_plan_group.yml +5 -5
- data/fixtures/vcr_cassettes/ChartMogul_Subscription/API_Interactions/connects_subscriptions.yml +10 -10
- data/fixtures/vcr_cassettes/ChartMogul_Subscription/API_Interactions/correctly_interracts_with_the_API.yml +7 -7
- data/fixtures/vcr_cassettes/ChartMogul_Subscription/API_Interactions/has_multiple_aliases.yml +2 -2
- data/fixtures/vcr_cassettes/ChartMogul_Subscription/_update_cancellation_dates/when_array_has_time_objects/is_setting_the_cancellation_dates_of_the_subscription.yml +3 -3
- data/fixtures/vcr_cassettes/ChartMogul_Subscription/_update_cancellation_dates/when_array_includes_invalid_entries/raises_an_exception.yml +2 -2
- data/fixtures/vcr_cassettes/ChartMogul_Subscription/_update_cancellation_dates/when_array_includes_valid_entries/is_setting_the_cancellation_dates_of_the_subscription.yml +3 -3
- data/fixtures/vcr_cassettes/ChartMogul_Subscription/_update_cancellation_dates/when_array_is_empty/makes_an_API_call_and_removes_the_cancellation_dates.yml +3 -3
- data/fixtures/vcr_cassettes/ChartMogul_Transactions_Payment/API_Interactions/correctly_interracts_with_the_API.yml +5 -5
- data/lib/chartmogul.rb +1 -0
- data/lib/chartmogul/account.rb +19 -0
- data/lib/chartmogul/api/actions/all.rb +2 -1
- data/lib/chartmogul/api/actions/create.rb +2 -2
- data/lib/chartmogul/api/actions/custom.rb +1 -1
- data/lib/chartmogul/api/actions/retrieve.rb +2 -1
- data/lib/chartmogul/api/actions/update.rb +3 -2
- data/lib/chartmogul/api_resource.rb +9 -0
- data/lib/chartmogul/customer.rb +2 -0
- data/lib/chartmogul/metrics/activity.rb +1 -0
- data/lib/chartmogul/transactions/payment.rb +1 -1
- data/lib/chartmogul/transactions/refund.rb +1 -1
- data/lib/chartmogul/utils/hash_snake_caser.rb +9 -2
- data/lib/chartmogul/utils/json_parser.rb +2 -2
- data/lib/chartmogul/version.rb +1 -1
- metadata +5 -2
|
@@ -12,7 +12,7 @@ http_interactions:
|
|
|
12
12
|
Content-Type:
|
|
13
13
|
- application/json
|
|
14
14
|
Authorization:
|
|
15
|
-
- Basic
|
|
15
|
+
- Basic hidden
|
|
16
16
|
Accept-Encoding:
|
|
17
17
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
|
18
18
|
Accept:
|
|
@@ -54,7 +54,7 @@ http_interactions:
|
|
|
54
54
|
Content-Type:
|
|
55
55
|
- application/json
|
|
56
56
|
Authorization:
|
|
57
|
-
- Basic
|
|
57
|
+
- Basic hidden
|
|
58
58
|
Accept-Encoding:
|
|
59
59
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
|
60
60
|
Accept:
|
|
@@ -115,7 +115,7 @@ http_interactions:
|
|
|
115
115
|
Content-Type:
|
|
116
116
|
- application/json
|
|
117
117
|
Authorization:
|
|
118
|
-
- Basic
|
|
118
|
+
- Basic hidden
|
|
119
119
|
Accept-Encoding:
|
|
120
120
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
|
121
121
|
Accept:
|
|
@@ -12,7 +12,7 @@ http_interactions:
|
|
|
12
12
|
Content-Type:
|
|
13
13
|
- application/json
|
|
14
14
|
Authorization:
|
|
15
|
-
- Basic
|
|
15
|
+
- Basic hidden
|
|
16
16
|
response:
|
|
17
17
|
status:
|
|
18
18
|
code: 201
|
|
@@ -50,7 +50,7 @@ http_interactions:
|
|
|
50
50
|
Content-Type:
|
|
51
51
|
- application/json
|
|
52
52
|
Authorization:
|
|
53
|
-
- Basic
|
|
53
|
+
- Basic hidden
|
|
54
54
|
response:
|
|
55
55
|
status:
|
|
56
56
|
code: 201
|
|
@@ -102,7 +102,7 @@ http_interactions:
|
|
|
102
102
|
Content-Type:
|
|
103
103
|
- application/json
|
|
104
104
|
Authorization:
|
|
105
|
-
- Basic
|
|
105
|
+
- Basic hidden
|
|
106
106
|
response:
|
|
107
107
|
status:
|
|
108
108
|
code: 201
|
|
@@ -154,7 +154,7 @@ http_interactions:
|
|
|
154
154
|
Content-Type:
|
|
155
155
|
- application/json
|
|
156
156
|
Authorization:
|
|
157
|
-
- Basic
|
|
157
|
+
- Basic hidden
|
|
158
158
|
response:
|
|
159
159
|
status:
|
|
160
160
|
code: 200
|
|
@@ -207,7 +207,7 @@ http_interactions:
|
|
|
207
207
|
User-Agent:
|
|
208
208
|
- Faraday v0.15.4
|
|
209
209
|
Authorization:
|
|
210
|
-
- Basic
|
|
210
|
+
- Basic hidden
|
|
211
211
|
response:
|
|
212
212
|
status:
|
|
213
213
|
code: 204
|
|
@@ -252,7 +252,7 @@ http_interactions:
|
|
|
252
252
|
Content-Type:
|
|
253
253
|
- application/json
|
|
254
254
|
Authorization:
|
|
255
|
-
- Basic
|
|
255
|
+
- Basic hidden
|
|
256
256
|
response:
|
|
257
257
|
status:
|
|
258
258
|
code: 404
|
|
@@ -12,7 +12,7 @@ http_interactions:
|
|
|
12
12
|
Content-Type:
|
|
13
13
|
- application/json
|
|
14
14
|
Authorization:
|
|
15
|
-
- Basic
|
|
15
|
+
- Basic hidden
|
|
16
16
|
response:
|
|
17
17
|
status:
|
|
18
18
|
code: 201
|
|
@@ -50,7 +50,7 @@ http_interactions:
|
|
|
50
50
|
Content-Type:
|
|
51
51
|
- application/json
|
|
52
52
|
Authorization:
|
|
53
|
-
- Basic
|
|
53
|
+
- Basic hidden
|
|
54
54
|
response:
|
|
55
55
|
status:
|
|
56
56
|
code: 201
|
|
@@ -102,7 +102,7 @@ http_interactions:
|
|
|
102
102
|
Content-Type:
|
|
103
103
|
- application/json
|
|
104
104
|
Authorization:
|
|
105
|
-
- Basic
|
|
105
|
+
- Basic hidden
|
|
106
106
|
response:
|
|
107
107
|
status:
|
|
108
108
|
code: 201
|
|
@@ -154,7 +154,7 @@ http_interactions:
|
|
|
154
154
|
Content-Type:
|
|
155
155
|
- application/json
|
|
156
156
|
Authorization:
|
|
157
|
-
- Basic
|
|
157
|
+
- Basic hidden
|
|
158
158
|
response:
|
|
159
159
|
status:
|
|
160
160
|
code: 200
|
|
@@ -207,7 +207,7 @@ http_interactions:
|
|
|
207
207
|
Content-Type:
|
|
208
208
|
- application/json
|
|
209
209
|
Authorization:
|
|
210
|
-
- Basic
|
|
210
|
+
- Basic hidden
|
|
211
211
|
response:
|
|
212
212
|
status:
|
|
213
213
|
code: 200
|
|
@@ -12,7 +12,7 @@ http_interactions:
|
|
|
12
12
|
Content-Type:
|
|
13
13
|
- application/json
|
|
14
14
|
Authorization:
|
|
15
|
-
- Basic
|
|
15
|
+
- Basic hidden
|
|
16
16
|
response:
|
|
17
17
|
status:
|
|
18
18
|
code: 201
|
|
@@ -50,7 +50,7 @@ http_interactions:
|
|
|
50
50
|
Content-Type:
|
|
51
51
|
- application/json
|
|
52
52
|
Authorization:
|
|
53
|
-
- Basic
|
|
53
|
+
- Basic hidden
|
|
54
54
|
response:
|
|
55
55
|
status:
|
|
56
56
|
code: 201
|
|
@@ -102,7 +102,7 @@ http_interactions:
|
|
|
102
102
|
Content-Type:
|
|
103
103
|
- application/json
|
|
104
104
|
Authorization:
|
|
105
|
-
- Basic
|
|
105
|
+
- Basic hidden
|
|
106
106
|
response:
|
|
107
107
|
status:
|
|
108
108
|
code: 201
|
|
@@ -154,7 +154,7 @@ http_interactions:
|
|
|
154
154
|
Content-Type:
|
|
155
155
|
- application/json
|
|
156
156
|
Authorization:
|
|
157
|
-
- Basic
|
|
157
|
+
- Basic hidden
|
|
158
158
|
response:
|
|
159
159
|
status:
|
|
160
160
|
code: 200
|
|
@@ -207,7 +207,7 @@ http_interactions:
|
|
|
207
207
|
Content-Type:
|
|
208
208
|
- application/json
|
|
209
209
|
Authorization:
|
|
210
|
-
- Basic
|
|
210
|
+
- Basic hidden
|
|
211
211
|
response:
|
|
212
212
|
status:
|
|
213
213
|
code: 201
|
|
@@ -259,7 +259,7 @@ http_interactions:
|
|
|
259
259
|
Content-Type:
|
|
260
260
|
- application/json
|
|
261
261
|
Authorization:
|
|
262
|
-
- Basic
|
|
262
|
+
- Basic hidden
|
|
263
263
|
response:
|
|
264
264
|
status:
|
|
265
265
|
code: 200
|
|
@@ -312,7 +312,7 @@ http_interactions:
|
|
|
312
312
|
Content-Type:
|
|
313
313
|
- application/json
|
|
314
314
|
Authorization:
|
|
315
|
-
- Basic
|
|
315
|
+
- Basic hidden
|
|
316
316
|
response:
|
|
317
317
|
status:
|
|
318
318
|
code: 200
|
|
@@ -12,7 +12,7 @@ http_interactions:
|
|
|
12
12
|
Content-Type:
|
|
13
13
|
- application/json
|
|
14
14
|
Authorization:
|
|
15
|
-
- Basic
|
|
15
|
+
- Basic hidden
|
|
16
16
|
response:
|
|
17
17
|
status:
|
|
18
18
|
code: 201
|
|
@@ -50,7 +50,7 @@ http_interactions:
|
|
|
50
50
|
Content-Type:
|
|
51
51
|
- application/json
|
|
52
52
|
Authorization:
|
|
53
|
-
- Basic
|
|
53
|
+
- Basic hidden
|
|
54
54
|
response:
|
|
55
55
|
status:
|
|
56
56
|
code: 201
|
|
@@ -102,7 +102,7 @@ http_interactions:
|
|
|
102
102
|
Content-Type:
|
|
103
103
|
- application/json
|
|
104
104
|
Authorization:
|
|
105
|
-
- Basic
|
|
105
|
+
- Basic hidden
|
|
106
106
|
response:
|
|
107
107
|
status:
|
|
108
108
|
code: 201
|
|
@@ -154,7 +154,7 @@ http_interactions:
|
|
|
154
154
|
Content-Type:
|
|
155
155
|
- application/json
|
|
156
156
|
Authorization:
|
|
157
|
-
- Basic
|
|
157
|
+
- Basic hidden
|
|
158
158
|
response:
|
|
159
159
|
status:
|
|
160
160
|
code: 200
|
|
@@ -207,7 +207,7 @@ http_interactions:
|
|
|
207
207
|
Content-Type:
|
|
208
208
|
- application/json
|
|
209
209
|
Authorization:
|
|
210
|
-
- Basic
|
|
210
|
+
- Basic hidden
|
|
211
211
|
response:
|
|
212
212
|
status:
|
|
213
213
|
code: 200
|
|
@@ -260,7 +260,7 @@ http_interactions:
|
|
|
260
260
|
Content-Type:
|
|
261
261
|
- application/json
|
|
262
262
|
Authorization:
|
|
263
|
-
- Basic
|
|
263
|
+
- Basic hidden
|
|
264
264
|
response:
|
|
265
265
|
status:
|
|
266
266
|
code: 200
|
|
@@ -12,7 +12,7 @@ http_interactions:
|
|
|
12
12
|
Content-Type:
|
|
13
13
|
- application/json
|
|
14
14
|
Authorization:
|
|
15
|
-
- Basic
|
|
15
|
+
- Basic hidden
|
|
16
16
|
Accept-Encoding:
|
|
17
17
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
|
18
18
|
Accept:
|
|
@@ -54,7 +54,7 @@ http_interactions:
|
|
|
54
54
|
Content-Type:
|
|
55
55
|
- application/json
|
|
56
56
|
Authorization:
|
|
57
|
-
- Basic
|
|
57
|
+
- Basic hidden
|
|
58
58
|
Accept-Encoding:
|
|
59
59
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
|
60
60
|
Accept:
|
|
@@ -116,7 +116,7 @@ http_interactions:
|
|
|
116
116
|
Content-Type:
|
|
117
117
|
- application/json
|
|
118
118
|
Authorization:
|
|
119
|
-
- Basic
|
|
119
|
+
- Basic hidden
|
|
120
120
|
Accept-Encoding:
|
|
121
121
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
|
122
122
|
Accept:
|
|
@@ -178,7 +178,7 @@ http_interactions:
|
|
|
178
178
|
Content-Type:
|
|
179
179
|
- application/json
|
|
180
180
|
Authorization:
|
|
181
|
-
- Basic
|
|
181
|
+
- Basic hidden
|
|
182
182
|
Accept-Encoding:
|
|
183
183
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
|
184
184
|
Accept:
|
|
@@ -242,7 +242,7 @@ http_interactions:
|
|
|
242
242
|
Content-Type:
|
|
243
243
|
- application/json
|
|
244
244
|
Authorization:
|
|
245
|
-
- Basic
|
|
245
|
+
- Basic hidden
|
|
246
246
|
Accept-Encoding:
|
|
247
247
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
|
248
248
|
Accept:
|
|
@@ -12,7 +12,7 @@ http_interactions:
|
|
|
12
12
|
Content-Type:
|
|
13
13
|
- application/json
|
|
14
14
|
Authorization:
|
|
15
|
-
- Basic
|
|
15
|
+
- Basic hidden
|
|
16
16
|
response:
|
|
17
17
|
status:
|
|
18
18
|
code: 201
|
|
@@ -50,7 +50,7 @@ http_interactions:
|
|
|
50
50
|
Content-Type:
|
|
51
51
|
- application/json
|
|
52
52
|
Authorization:
|
|
53
|
-
- Basic
|
|
53
|
+
- Basic hidden
|
|
54
54
|
response:
|
|
55
55
|
status:
|
|
56
56
|
code: 201
|
|
@@ -102,7 +102,7 @@ http_interactions:
|
|
|
102
102
|
Content-Type:
|
|
103
103
|
- application/json
|
|
104
104
|
Authorization:
|
|
105
|
-
- Basic
|
|
105
|
+
- Basic hidden
|
|
106
106
|
response:
|
|
107
107
|
status:
|
|
108
108
|
code: 201
|
|
@@ -154,7 +154,7 @@ http_interactions:
|
|
|
154
154
|
Content-Type:
|
|
155
155
|
- application/json
|
|
156
156
|
Authorization:
|
|
157
|
-
- Basic
|
|
157
|
+
- Basic hidden
|
|
158
158
|
response:
|
|
159
159
|
status:
|
|
160
160
|
code: 201
|
|
@@ -206,7 +206,7 @@ http_interactions:
|
|
|
206
206
|
Content-Type:
|
|
207
207
|
- application/json
|
|
208
208
|
Authorization:
|
|
209
|
-
- Basic
|
|
209
|
+
- Basic hidden
|
|
210
210
|
response:
|
|
211
211
|
status:
|
|
212
212
|
code: 200
|
|
@@ -259,7 +259,7 @@ http_interactions:
|
|
|
259
259
|
Content-Type:
|
|
260
260
|
- application/json
|
|
261
261
|
Authorization:
|
|
262
|
-
- Basic
|
|
262
|
+
- Basic hidden
|
|
263
263
|
response:
|
|
264
264
|
status:
|
|
265
265
|
code: 200
|
|
@@ -312,7 +312,7 @@ http_interactions:
|
|
|
312
312
|
Content-Type:
|
|
313
313
|
- application/json
|
|
314
314
|
Authorization:
|
|
315
|
-
- Basic
|
|
315
|
+
- Basic hidden
|
|
316
316
|
response:
|
|
317
317
|
status:
|
|
318
318
|
code: 200
|
|
@@ -365,7 +365,7 @@ http_interactions:
|
|
|
365
365
|
Content-Type:
|
|
366
366
|
- application/json
|
|
367
367
|
Authorization:
|
|
368
|
-
- Basic
|
|
368
|
+
- Basic hidden
|
|
369
369
|
response:
|
|
370
370
|
status:
|
|
371
371
|
code: 200
|
|
@@ -12,7 +12,7 @@ http_interactions:
|
|
|
12
12
|
Content-Type:
|
|
13
13
|
- application/json
|
|
14
14
|
Authorization:
|
|
15
|
-
- Basic
|
|
15
|
+
- Basic hidden
|
|
16
16
|
response:
|
|
17
17
|
status:
|
|
18
18
|
code: 201
|
|
@@ -50,7 +50,7 @@ http_interactions:
|
|
|
50
50
|
Content-Type:
|
|
51
51
|
- application/json
|
|
52
52
|
Authorization:
|
|
53
|
-
- Basic
|
|
53
|
+
- Basic hidden
|
|
54
54
|
response:
|
|
55
55
|
status:
|
|
56
56
|
code: 201
|
|
@@ -102,7 +102,7 @@ http_interactions:
|
|
|
102
102
|
Content-Type:
|
|
103
103
|
- application/json
|
|
104
104
|
Authorization:
|
|
105
|
-
- Basic
|
|
105
|
+
- Basic hidden
|
|
106
106
|
response:
|
|
107
107
|
status:
|
|
108
108
|
code: 201
|
|
@@ -154,7 +154,7 @@ http_interactions:
|
|
|
154
154
|
Content-Type:
|
|
155
155
|
- application/json
|
|
156
156
|
Authorization:
|
|
157
|
-
- Basic
|
|
157
|
+
- Basic hidden
|
|
158
158
|
response:
|
|
159
159
|
status:
|
|
160
160
|
code: 200
|
|
@@ -207,7 +207,7 @@ http_interactions:
|
|
|
207
207
|
Content-Type:
|
|
208
208
|
- application/json
|
|
209
209
|
Authorization:
|
|
210
|
-
- Basic
|
|
210
|
+
- Basic hidden
|
|
211
211
|
response:
|
|
212
212
|
status:
|
|
213
213
|
code: 200
|
data/fixtures/vcr_cassettes/ChartMogul_Subscription/API_Interactions/connects_subscriptions.yml
CHANGED
|
@@ -12,7 +12,7 @@ http_interactions:
|
|
|
12
12
|
Content-Type:
|
|
13
13
|
- application/json
|
|
14
14
|
Authorization:
|
|
15
|
-
- Basic
|
|
15
|
+
- Basic hidden
|
|
16
16
|
response:
|
|
17
17
|
status:
|
|
18
18
|
code: 201
|
|
@@ -50,7 +50,7 @@ http_interactions:
|
|
|
50
50
|
Content-Type:
|
|
51
51
|
- application/json
|
|
52
52
|
Authorization:
|
|
53
|
-
- Basic
|
|
53
|
+
- Basic hidden
|
|
54
54
|
response:
|
|
55
55
|
status:
|
|
56
56
|
code: 201
|
|
@@ -89,7 +89,7 @@ http_interactions:
|
|
|
89
89
|
Content-Type:
|
|
90
90
|
- application/json
|
|
91
91
|
Authorization:
|
|
92
|
-
- Basic
|
|
92
|
+
- Basic hidden
|
|
93
93
|
response:
|
|
94
94
|
status:
|
|
95
95
|
code: 201
|
|
@@ -141,7 +141,7 @@ http_interactions:
|
|
|
141
141
|
Content-Type:
|
|
142
142
|
- application/json
|
|
143
143
|
Authorization:
|
|
144
|
-
- Basic
|
|
144
|
+
- Basic hidden
|
|
145
145
|
response:
|
|
146
146
|
status:
|
|
147
147
|
code: 201
|
|
@@ -196,7 +196,7 @@ http_interactions:
|
|
|
196
196
|
Content-Type:
|
|
197
197
|
- application/json
|
|
198
198
|
Authorization:
|
|
199
|
-
- Basic
|
|
199
|
+
- Basic hidden
|
|
200
200
|
response:
|
|
201
201
|
status:
|
|
202
202
|
code: 201
|
|
@@ -245,7 +245,7 @@ http_interactions:
|
|
|
245
245
|
Content-Type:
|
|
246
246
|
- application/json
|
|
247
247
|
Authorization:
|
|
248
|
-
- Basic
|
|
248
|
+
- Basic hidden
|
|
249
249
|
response:
|
|
250
250
|
status:
|
|
251
251
|
code: 200
|
|
@@ -296,7 +296,7 @@ http_interactions:
|
|
|
296
296
|
Content-Type:
|
|
297
297
|
- application/json
|
|
298
298
|
Authorization:
|
|
299
|
-
- Basic
|
|
299
|
+
- Basic hidden
|
|
300
300
|
response:
|
|
301
301
|
status:
|
|
302
302
|
code: 202
|
|
@@ -341,7 +341,7 @@ http_interactions:
|
|
|
341
341
|
Content-Type:
|
|
342
342
|
- application/json
|
|
343
343
|
Authorization:
|
|
344
|
-
- Basic
|
|
344
|
+
- Basic hidden
|
|
345
345
|
response:
|
|
346
346
|
status:
|
|
347
347
|
code: 202
|
|
@@ -376,7 +376,7 @@ http_interactions:
|
|
|
376
376
|
Content-Type:
|
|
377
377
|
- application/json
|
|
378
378
|
Authorization:
|
|
379
|
-
- Basic
|
|
379
|
+
- Basic hidden
|
|
380
380
|
response:
|
|
381
381
|
status:
|
|
382
382
|
code: 200
|
|
@@ -412,7 +412,7 @@ http_interactions:
|
|
|
412
412
|
User-Agent:
|
|
413
413
|
- Faraday v0.15.4
|
|
414
414
|
Authorization:
|
|
415
|
-
- Basic
|
|
415
|
+
- Basic hidden
|
|
416
416
|
response:
|
|
417
417
|
status:
|
|
418
418
|
code: 204
|