restforce-db 2.0.1 → 2.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.
Files changed (75) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +3 -0
  3. data/lib/restforce/db/associations/base.rb +7 -7
  4. data/lib/restforce/db/associations/belongs_to.rb +6 -10
  5. data/lib/restforce/db/associations/foreign_key.rb +1 -2
  6. data/lib/restforce/db/associations/has_many.rb +2 -1
  7. data/lib/restforce/db/associations/has_one.rb +2 -1
  8. data/lib/restforce/db/cleaner.rb +25 -3
  9. data/lib/restforce/db/configuration.rb +7 -0
  10. data/lib/restforce/db/record_types/active_record.rb +5 -1
  11. data/lib/restforce/db/version.rb +1 -1
  12. data/lib/restforce/db.rb +1 -0
  13. data/test/cassettes/Restforce_DB/accessing_Salesforce/uses_the_configured_credentials.yml +1 -1
  14. data/test/cassettes/Restforce_DB_Associations_BelongsTo/with_an_inverse_mapping/_build/returns_an_associated_record_populated_with_the_Salesforce_attributes.yml +17 -17
  15. data/test/cassettes/Restforce_DB_Associations_BelongsTo/with_an_inverse_mapping/_build/when_no_salesforce_record_is_found_for_the_association/proceeds_without_constructing_any_records.yml +11 -11
  16. data/test/cassettes/Restforce_DB_Associations_BelongsTo/with_an_inverse_mapping/_build/when_the_associated_record_has_already_been_persisted/assigns_the_existing_record.yml +17 -17
  17. data/test/cassettes/Restforce_DB_Associations_BelongsTo/with_an_inverse_mapping/_build/when_the_associated_record_has_been_cached/uses_the_cached_record.yml +17 -17
  18. data/test/cassettes/Restforce_DB_Associations_BelongsTo/with_an_inverse_mapping/_build/when_the_association_is_non-building/proceeds_without_constructing_any_records.yml +14 -14
  19. data/test/cassettes/Restforce_DB_Associations_BelongsTo/with_an_inverse_mapping/_build/with_an_unrelated_association_mapping/proceeds_without_raising_an_error.yml +17 -17
  20. data/test/cassettes/Restforce_DB_Associations_BelongsTo/with_an_inverse_mapping/_lookups/returns_a_hash_of_the_associated_records_lookup_IDs.yml +11 -11
  21. data/test/cassettes/Restforce_DB_Associations_BelongsTo/with_an_inverse_mapping/_lookups/when_there_is_currently_no_associated_record/and_the_underlying_association_is_one-to-many/still_returns_a_nil_lookup_value_in_the_hash.yml +119 -0
  22. data/test/cassettes/Restforce_DB_Associations_BelongsTo/with_an_inverse_mapping/_lookups/when_there_is_currently_no_associated_record/returns_a_nil_lookup_value_in_the_hash.yml +6 -6
  23. data/test/cassettes/Restforce_DB_Associations_BelongsTo/with_an_inverse_mapping/_synced_for_/when_a_matching_associated_record_has_been_synchronized/returns_true.yml +17 -17
  24. data/test/cassettes/Restforce_DB_Associations_BelongsTo/with_an_inverse_mapping/_synced_for_/when_no_matching_associated_record_has_been_synchronized/returns_false.yml +17 -17
  25. data/test/cassettes/Restforce_DB_Associations_HasMany/with_an_inverse_mapping/_build/builds_a_number_of_associated_records_from_the_data_in_Salesforce.yml +29 -29
  26. data/test/cassettes/Restforce_DB_Associations_HasMany/with_an_inverse_mapping/_build/when_no_salesforce_record_is_found_for_the_association/proceeds_without_constructing_any_records.yml +11 -11
  27. data/test/cassettes/Restforce_DB_Associations_HasMany/with_an_inverse_mapping/_build/when_the_associated_records_have_alrady_been_persisted/constructs_the_association_from_the_existing_records.yml +29 -29
  28. data/test/cassettes/Restforce_DB_Associations_HasMany/with_an_inverse_mapping/_build/when_the_associated_records_have_been_cached/uses_the_cached_records.yml +29 -29
  29. data/test/cassettes/Restforce_DB_Associations_HasMany/with_an_inverse_mapping/_build/when_the_association_is_non-building/proceeds_without_constructing_any_records.yml +9 -9
  30. data/test/cassettes/Restforce_DB_Associations_HasMany/with_an_inverse_mapping/_synced_for_/when_a_matching_associated_record_has_been_synchronized/returns_true.yml +29 -29
  31. data/test/cassettes/Restforce_DB_Associations_HasMany/with_an_inverse_mapping/_synced_for_/when_no_matching_associated_record_has_been_synchronized/returns_false.yml +11 -11
  32. data/test/cassettes/Restforce_DB_Associations_HasOne/with_an_inverse_mapping/_build/and_a_nested_association_on_the_associated_mapping/recursively_builds_all_associations.yml +25 -25
  33. data/test/cassettes/Restforce_DB_Associations_HasOne/with_an_inverse_mapping/_build/returns_an_associated_record_populated_with_the_Salesforce_attributes.yml +17 -17
  34. data/test/cassettes/Restforce_DB_Associations_HasOne/with_an_inverse_mapping/_build/when_no_salesforce_record_is_found_for_the_association/proceeds_without_constructing_any_records.yml +11 -11
  35. data/test/cassettes/Restforce_DB_Associations_HasOne/with_an_inverse_mapping/_build/when_the_associated_record_has_already_been_persisted/assigns_the_existing_record.yml +17 -17
  36. data/test/cassettes/Restforce_DB_Associations_HasOne/with_an_inverse_mapping/_build/when_the_associated_record_has_been_cached/uses_the_cached_record.yml +17 -17
  37. data/test/cassettes/Restforce_DB_Associations_HasOne/with_an_inverse_mapping/_build/when_the_association_is_non-building/proceeds_without_constructing_any_records.yml +14 -14
  38. data/test/cassettes/Restforce_DB_Associations_HasOne/with_an_inverse_mapping/_synced_for_/when_a_matching_associated_record_has_been_synchronized/returns_true.yml +17 -17
  39. data/test/cassettes/Restforce_DB_Associations_HasOne/with_an_inverse_mapping/_synced_for_/when_no_matching_associated_record_has_been_synchronized/returns_false.yml +17 -17
  40. data/test/cassettes/Restforce_DB_Associator/_run/given_a_BelongsTo_association/given_another_record_for_association/when_the_Salesforce_association_is_out_of_date/updates_the_association_ID_in_Salesforce.yml +30 -30
  41. data/test/cassettes/Restforce_DB_Associator/_run/given_a_BelongsTo_association/given_another_record_for_association/when_the_database_association_is_out_of_date/updates_the_associated_record_in_the_database.yml +33 -33
  42. data/test/cassettes/Restforce_DB_Cleaner/_run/given_a_synchronized_Salesforce_record/when_the_mapping_has_no_conditions/does_not_drop_the_synchronized_database_record.yml +6 -6
  43. data/test/cassettes/Restforce_DB_Cleaner/_run/given_a_synchronized_Salesforce_record/when_the_record_does_not_meet_the_mapping_conditions/but_meets_conditions_for_a_parallel_mapping/does_not_drop_the_synchronized_database_record.yml +238 -0
  44. data/test/cassettes/Restforce_DB_Cleaner/_run/given_a_synchronized_Salesforce_record/when_the_record_does_not_meet_the_mapping_conditions/{for_a_non-Passive_strategy/drops_the_synchronized_database_record.yml → drops_the_synchronized_database_record.yml} +11 -11
  45. data/test/cassettes/Restforce_DB_Cleaner/_run/given_a_synchronized_Salesforce_record/when_the_record_meets_the_mapping_conditions/does_not_drop_the_synchronized_database_record.yml +12 -12
  46. data/test/cassettes/Restforce_DB_Collector/_run/given_a_Salesforce_record_with_an_associated_database_record/returns_the_attributes_from_both_records.yml +12 -12
  47. data/test/cassettes/Restforce_DB_Collector/_run/given_an_existing_Salesforce_record/returns_the_attributes_from_the_Salesforce_record.yml +12 -12
  48. data/test/cassettes/Restforce_DB_Collector/_run/given_an_existing_database_record/returns_the_attributes_from_the_database_record.yml +3 -3
  49. data/test/cassettes/Restforce_DB_Initializer/_run/given_an_existing_Salesforce_record/for_a_Passive_strategy/does_not_create_a_database_record.yml +6 -6
  50. data/test/cassettes/Restforce_DB_Initializer/_run/given_an_existing_Salesforce_record/for_an_Always_strategy/creates_a_matching_database_record.yml +10 -10
  51. data/test/cassettes/Restforce_DB_Initializer/_run/given_an_existing_database_record/for_an_Always_strategy/populates_Salesforce_with_the_new_record.yml +17 -17
  52. data/test/cassettes/Restforce_DB_Instances_Salesforce/_synced_/when_a_matching_database_record_exists/returns_true.yml +9 -9
  53. data/test/cassettes/Restforce_DB_Instances_Salesforce/_synced_/when_no_matching_database_record_exists/returns_false.yml +9 -9
  54. data/test/cassettes/Restforce_DB_Instances_Salesforce/_update_/updates_the_local_record_with_the_passed_attributes.yml +14 -14
  55. data/test/cassettes/Restforce_DB_Instances_Salesforce/_update_/updates_the_record_in_Salesforce_with_the_passed_attributes.yml +17 -17
  56. data/test/cassettes/Restforce_DB_RecordTypes_Salesforce/_all/returns_a_list_of_the_existing_records_in_Salesforce.yml +9 -9
  57. data/test/cassettes/Restforce_DB_RecordTypes_Salesforce/_create_/creates_a_record_in_Salesforce_from_the_passed_database_record_s_attributes.yml +12 -12
  58. data/test/cassettes/Restforce_DB_RecordTypes_Salesforce/_create_/updates_the_database_record_with_the_Salesforce_record_s_ID.yml +12 -12
  59. data/test/cassettes/Restforce_DB_RecordTypes_Salesforce/_find/finds_existing_records_in_Salesforce.yml +9 -9
  60. data/test/cassettes/Restforce_DB_RecordTypes_Salesforce/_find/given_a_set_of_mapping_conditions/when_a_record_does_not_meet_the_conditions/does_not_find_the_record.yml +8 -8
  61. data/test/cassettes/Restforce_DB_RecordTypes_Salesforce/_find/given_a_set_of_mapping_conditions/when_a_record_meets_the_conditions/finds_the_record.yml +9 -9
  62. data/test/cassettes/Restforce_DB_RecordTypes_Salesforce/_find/returns_nil_when_no_matching_record_exists.yml +3 -3
  63. data/test/cassettes/Restforce_DB_Strategies_Always/_build_/given_a_Salesforce_record/wants_to_build_a_new_matching_record.yml +9 -9
  64. data/test/cassettes/Restforce_DB_Strategies_Always/_build_/given_a_Salesforce_record/with_a_corresponding_database_record/does_not_want_to_build_a_new_record.yml +9 -9
  65. data/test/cassettes/Restforce_DB_Strategies_Associated/_build_/given_an_inverse_mapping/with_a_synchronized_association_record/wants_to_build_a_new_record.yml +17 -17
  66. data/test/cassettes/Restforce_DB_Strategies_Associated/_build_/given_an_inverse_mapping/with_an_existing_database_record/does_not_want_to_build_a_new_record.yml +14 -14
  67. data/test/cassettes/Restforce_DB_Strategies_Associated/_build_/given_an_inverse_mapping/with_no_synchronized_association_record/does_not_want_to_build_a_new_record.yml +17 -17
  68. data/test/cassettes/Restforce_DB_Synchronizer/_run/given_a_Salesforce_record_with_an_associated_database_record/updates_the_database_record.yml +14 -14
  69. data/test/cassettes/Restforce_DB_Synchronizer/_run/given_a_Salesforce_record_with_an_associated_database_record/updates_the_salesforce_record.yml +17 -17
  70. data/test/cassettes/Restforce_DB_Synchronizer/_run/given_a_Salesforce_record_with_no_associated_database_record/does_nothing_for_this_specific_mapping.yml +12 -12
  71. data/test/lib/restforce/db/associations/belongs_to_test.rb +17 -0
  72. data/test/lib/restforce/db/cleaner_test.rb +20 -4
  73. data/test/support/active_record.rb +3 -0
  74. data/test/support/vcr.rb +8 -0
  75. metadata +5 -3
@@ -38,11 +38,11 @@ http_interactions:
38
38
  body:
39
39
  encoding: ASCII-8BIT
40
40
  string: '{"id":"https://login.salesforce.com/id/00D1a000000H3O9EAK/0051a000000UGT8AAO","issued_at":"1429810822356","token_type":"Bearer","instance_url":"https://<host>","signature":"KsYGkglGxb+rYOwCQ8vWPs/HDGolddk5RrRN6T/WDMw=","access_token":"00D1a000000H3O9!AQ4AQFoglftCDJPkzXd0wAZ6dnUwrMZEyIrpgn8BUhjwsElswNHT_M5IOJSysNJCZXw6QPBjjHcAYLoUX8bFjnXkaUCdvO1l"}'
41
- http_version:
41
+ http_version:
42
42
  recorded_at: Thu, 23 Apr 2015 17:40:22 GMT
43
43
  - request:
44
44
  method: post
45
- uri: https://<host>/services/data/v26.0/sobjects/CustomObject__c
45
+ uri: https://<host>/services/data/<api_version>/sobjects/CustomObject__c
46
46
  body:
47
47
  encoding: UTF-8
48
48
  string: '{"Name":"Sample object"}'
@@ -72,7 +72,7 @@ http_interactions:
72
72
  Sforce-Limit-Info:
73
73
  - api-usage=19/15000
74
74
  Location:
75
- - "/services/data/v26.0/sobjects/CustomObject__c/a001a000001QmhvAAC"
75
+ - "/services/data/<api_version>/sobjects/CustomObject__c/a001a000001QmhvAAC"
76
76
  Content-Type:
77
77
  - application/json;charset=UTF-8
78
78
  Transfer-Encoding:
@@ -80,11 +80,11 @@ http_interactions:
80
80
  body:
81
81
  encoding: ASCII-8BIT
82
82
  string: '{"id":"a001a000001QmhvAAC","success":true,"errors":[]}'
83
- http_version:
83
+ http_version:
84
84
  recorded_at: Thu, 23 Apr 2015 17:40:23 GMT
85
85
  - request:
86
86
  method: post
87
- uri: https://<host>/services/data/v26.0/sobjects/CustomObjectDetail__c
87
+ uri: https://<host>/services/data/<api_version>/sobjects/CustomObjectDetail__c
88
88
  body:
89
89
  encoding: UTF-8
90
90
  string: '{"Name":"First Detail","CustomObject__c":"a001a000001QmhvAAC"}'
@@ -114,7 +114,7 @@ http_interactions:
114
114
  Sforce-Limit-Info:
115
115
  - api-usage=19/15000
116
116
  Location:
117
- - "/services/data/v26.0/sobjects/CustomObjectDetail__c/a011a000000i200AAA"
117
+ - "/services/data/<api_version>/sobjects/CustomObjectDetail__c/a011a000000i200AAA"
118
118
  Content-Type:
119
119
  - application/json;charset=UTF-8
120
120
  Transfer-Encoding:
@@ -122,11 +122,11 @@ http_interactions:
122
122
  body:
123
123
  encoding: ASCII-8BIT
124
124
  string: '{"id":"a011a000000i200AAA","success":true,"errors":[]}'
125
- http_version:
125
+ http_version:
126
126
  recorded_at: Thu, 23 Apr 2015 17:40:25 GMT
127
127
  - request:
128
128
  method: post
129
- uri: https://<host>/services/data/v26.0/sobjects/CustomObjectDetail__c
129
+ uri: https://<host>/services/data/<api_version>/sobjects/CustomObjectDetail__c
130
130
  body:
131
131
  encoding: UTF-8
132
132
  string: '{"Name":"Second Detail","CustomObject__c":"a001a000001QmhvAAC"}'
@@ -156,7 +156,7 @@ http_interactions:
156
156
  Sforce-Limit-Info:
157
157
  - api-usage=19/15000
158
158
  Location:
159
- - "/services/data/v26.0/sobjects/CustomObjectDetail__c/a011a000000i205AAA"
159
+ - "/services/data/<api_version>/sobjects/CustomObjectDetail__c/a011a000000i205AAA"
160
160
  Content-Type:
161
161
  - application/json;charset=UTF-8
162
162
  Transfer-Encoding:
@@ -164,11 +164,11 @@ http_interactions:
164
164
  body:
165
165
  encoding: ASCII-8BIT
166
166
  string: '{"id":"a011a000000i205AAA","success":true,"errors":[]}'
167
- http_version:
167
+ http_version:
168
168
  recorded_at: Thu, 23 Apr 2015 17:40:26 GMT
169
169
  - request:
170
170
  method: post
171
- uri: https://<host>/services/data/v26.0/sobjects/CustomObjectDetail__c
171
+ uri: https://<host>/services/data/<api_version>/sobjects/CustomObjectDetail__c
172
172
  body:
173
173
  encoding: UTF-8
174
174
  string: '{"Name":"Third Detail","CustomObject__c":"a001a000001QmhvAAC"}'
@@ -198,7 +198,7 @@ http_interactions:
198
198
  Sforce-Limit-Info:
199
199
  - api-usage=20/15000
200
200
  Location:
201
- - "/services/data/v26.0/sobjects/CustomObjectDetail__c/a011a000000i20AAAQ"
201
+ - "/services/data/<api_version>/sobjects/CustomObjectDetail__c/a011a000000i20AAAQ"
202
202
  Content-Type:
203
203
  - application/json;charset=UTF-8
204
204
  Transfer-Encoding:
@@ -206,11 +206,11 @@ http_interactions:
206
206
  body:
207
207
  encoding: ASCII-8BIT
208
208
  string: '{"id":"a011a000000i20AAAQ","success":true,"errors":[]}'
209
- http_version:
209
+ http_version:
210
210
  recorded_at: Thu, 23 Apr 2015 17:40:27 GMT
211
211
  - request:
212
212
  method: get
213
- uri: https://<host>/services/data/v26.0/query?q=select%20Id,%20SystemModstamp,%20Name,%20Example_Field__c%20from%20CustomObject__c%20where%20Id%20=%20%27a001a000001QmhvAAC%27
213
+ uri: https://<host>/services/data/<api_version>/query?q=select%20Id,%20SystemModstamp,%20Name,%20Example_Field__c%20from%20CustomObject__c%20where%20Id%20=%20%27a001a000001QmhvAAC%27
214
214
  body:
215
215
  encoding: US-ASCII
216
216
  string: ''
@@ -243,13 +243,13 @@ http_interactions:
243
243
  - chunked
244
244
  body:
245
245
  encoding: ASCII-8BIT
246
- string: '{"totalSize":1,"done":true,"records":[{"attributes":{"type":"CustomObject__c","url":"/services/data/v26.0/sobjects/CustomObject__c/a001a000001QmhvAAC"},"Id":"a001a000001QmhvAAC","SystemModstamp":"2015-04-23T17:40:23.000+0000","Name":"Sample
246
+ string: '{"totalSize":1,"done":true,"records":[{"attributes":{"type":"CustomObject__c","url":"/services/data/<api_version>/sobjects/CustomObject__c/a001a000001QmhvAAC"},"Id":"a001a000001QmhvAAC","SystemModstamp":"2015-04-23T17:40:23.000+0000","Name":"Sample
247
247
  object","Example_Field__c":null}]}'
248
- http_version:
248
+ http_version:
249
249
  recorded_at: Thu, 23 Apr 2015 17:40:28 GMT
250
250
  - request:
251
251
  method: get
252
- uri: https://<host>/services/data/v26.0/query?q=select%20Id,%20SystemModstamp,%20Name,%20CustomObject__c%20from%20CustomObjectDetail__c%20where%20CustomObject__c%20=%20%27a001a000001QmhvAAC%27
252
+ uri: https://<host>/services/data/<api_version>/query?q=select%20Id,%20SystemModstamp,%20Name,%20CustomObject__c%20from%20CustomObjectDetail__c%20where%20CustomObject__c%20=%20%27a001a000001QmhvAAC%27
253
253
  body:
254
254
  encoding: US-ASCII
255
255
  string: ''
@@ -282,15 +282,15 @@ http_interactions:
282
282
  - chunked
283
283
  body:
284
284
  encoding: ASCII-8BIT
285
- string: '{"totalSize":3,"done":true,"records":[{"attributes":{"type":"CustomObjectDetail__c","url":"/services/data/v26.0/sobjects/CustomObjectDetail__c/a011a000000i200AAA"},"Id":"a011a000000i200AAA","SystemModstamp":"2015-04-23T17:40:24.000+0000","Name":"First
286
- Detail","CustomObject__c":"a001a000001QmhvAAC"},{"attributes":{"type":"CustomObjectDetail__c","url":"/services/data/v26.0/sobjects/CustomObjectDetail__c/a011a000000i20AAAQ"},"Id":"a011a000000i20AAAQ","SystemModstamp":"2015-04-23T17:40:27.000+0000","Name":"Third
287
- Detail","CustomObject__c":"a001a000001QmhvAAC"},{"attributes":{"type":"CustomObjectDetail__c","url":"/services/data/v26.0/sobjects/CustomObjectDetail__c/a011a000000i205AAA"},"Id":"a011a000000i205AAA","SystemModstamp":"2015-04-23T17:40:26.000+0000","Name":"Second
285
+ string: '{"totalSize":3,"done":true,"records":[{"attributes":{"type":"CustomObjectDetail__c","url":"/services/data/<api_version>/sobjects/CustomObjectDetail__c/a011a000000i200AAA"},"Id":"a011a000000i200AAA","SystemModstamp":"2015-04-23T17:40:24.000+0000","Name":"First
286
+ Detail","CustomObject__c":"a001a000001QmhvAAC"},{"attributes":{"type":"CustomObjectDetail__c","url":"/services/data/<api_version>/sobjects/CustomObjectDetail__c/a011a000000i20AAAQ"},"Id":"a011a000000i20AAAQ","SystemModstamp":"2015-04-23T17:40:27.000+0000","Name":"Third
287
+ Detail","CustomObject__c":"a001a000001QmhvAAC"},{"attributes":{"type":"CustomObjectDetail__c","url":"/services/data/<api_version>/sobjects/CustomObjectDetail__c/a011a000000i205AAA"},"Id":"a011a000000i205AAA","SystemModstamp":"2015-04-23T17:40:26.000+0000","Name":"Second
288
288
  Detail","CustomObject__c":"a001a000001QmhvAAC"}]}'
289
- http_version:
289
+ http_version:
290
290
  recorded_at: Thu, 23 Apr 2015 17:40:29 GMT
291
291
  - request:
292
292
  method: delete
293
- uri: https://<host>/services/data/v26.0/sobjects/CustomObject__c/a001a000001QmhvAAC
293
+ uri: https://<host>/services/data/<api_version>/sobjects/CustomObject__c/a001a000001QmhvAAC
294
294
  body:
295
295
  encoding: US-ASCII
296
296
  string: ''
@@ -320,11 +320,11 @@ http_interactions:
320
320
  body:
321
321
  encoding: UTF-8
322
322
  string: ''
323
- http_version:
323
+ http_version:
324
324
  recorded_at: Thu, 23 Apr 2015 17:40:30 GMT
325
325
  - request:
326
326
  method: delete
327
- uri: https://<host>/services/data/v26.0/sobjects/CustomObjectDetail__c/a011a000000i200AAA
327
+ uri: https://<host>/services/data/<api_version>/sobjects/CustomObjectDetail__c/a011a000000i200AAA
328
328
  body:
329
329
  encoding: US-ASCII
330
330
  string: ''
@@ -358,11 +358,11 @@ http_interactions:
358
358
  body:
359
359
  encoding: UTF-8
360
360
  string: '[{"message":"entity is deleted","errorCode":"ENTITY_IS_DELETED","fields":[]}]'
361
- http_version:
361
+ http_version:
362
362
  recorded_at: Thu, 23 Apr 2015 17:40:31 GMT
363
363
  - request:
364
364
  method: delete
365
- uri: https://<host>/services/data/v26.0/sobjects/CustomObjectDetail__c/a011a000000i205AAA
365
+ uri: https://<host>/services/data/<api_version>/sobjects/CustomObjectDetail__c/a011a000000i205AAA
366
366
  body:
367
367
  encoding: US-ASCII
368
368
  string: ''
@@ -396,11 +396,11 @@ http_interactions:
396
396
  body:
397
397
  encoding: UTF-8
398
398
  string: '[{"message":"entity is deleted","errorCode":"ENTITY_IS_DELETED","fields":[]}]'
399
- http_version:
399
+ http_version:
400
400
  recorded_at: Thu, 23 Apr 2015 17:40:32 GMT
401
401
  - request:
402
402
  method: delete
403
- uri: https://<host>/services/data/v26.0/sobjects/CustomObjectDetail__c/a011a000000i20AAAQ
403
+ uri: https://<host>/services/data/<api_version>/sobjects/CustomObjectDetail__c/a011a000000i20AAAQ
404
404
  body:
405
405
  encoding: US-ASCII
406
406
  string: ''
@@ -434,6 +434,6 @@ http_interactions:
434
434
  body:
435
435
  encoding: UTF-8
436
436
  string: '[{"message":"entity is deleted","errorCode":"ENTITY_IS_DELETED","fields":[]}]'
437
- http_version:
437
+ http_version:
438
438
  recorded_at: Thu, 23 Apr 2015 17:40:33 GMT
439
439
  recorded_with: VCR 2.9.3
@@ -38,11 +38,11 @@ http_interactions:
38
38
  body:
39
39
  encoding: ASCII-8BIT
40
40
  string: '{"id":"https://login.salesforce.com/id/00D1a000000H3O9EAK/0051a000000UGT8AAO","issued_at":"1430497646270","token_type":"Bearer","instance_url":"https://<host>","signature":"fJPCXmLPScmZ35fJC8zeUl/q4GP4NMEjirHl+vGtLcs=","access_token":"00D1a000000H3O9!AQ4AQDv3Hk9TRSKHVK.6TQHDjiXPpFDEH7AxoxdK.ytZcKr4gkBGokBh2ZhUcaf0_eFqhFa6YVCzmfP.bUKsz9xIJOy41iQD"}'
41
- http_version:
41
+ http_version:
42
42
  recorded_at: Fri, 01 May 2015 16:27:26 GMT
43
43
  - request:
44
44
  method: post
45
- uri: https://<host>/services/data/v26.0/sobjects/CustomObject__c
45
+ uri: https://<host>/services/data/<api_version>/sobjects/CustomObject__c
46
46
  body:
47
47
  encoding: UTF-8
48
48
  string: '{"Name":"Sample object"}'
@@ -72,7 +72,7 @@ http_interactions:
72
72
  Sforce-Limit-Info:
73
73
  - api-usage=1/15000
74
74
  Location:
75
- - "/services/data/v26.0/sobjects/CustomObject__c/a001a000001TuOxAAK"
75
+ - "/services/data/<api_version>/sobjects/CustomObject__c/a001a000001TuOxAAK"
76
76
  Content-Type:
77
77
  - application/json;charset=UTF-8
78
78
  Transfer-Encoding:
@@ -80,11 +80,11 @@ http_interactions:
80
80
  body:
81
81
  encoding: ASCII-8BIT
82
82
  string: '{"id":"a001a000001TuOxAAK","success":true,"errors":[]}'
83
- http_version:
83
+ http_version:
84
84
  recorded_at: Fri, 01 May 2015 16:27:27 GMT
85
85
  - request:
86
86
  method: post
87
- uri: https://<host>/services/data/v26.0/sobjects/CustomObjectDetail__c
87
+ uri: https://<host>/services/data/<api_version>/sobjects/CustomObjectDetail__c
88
88
  body:
89
89
  encoding: UTF-8
90
90
  string: '{"Name":"First Detail","CustomObject__c":"a001a000001TuOxAAK"}'
@@ -114,7 +114,7 @@ http_interactions:
114
114
  Sforce-Limit-Info:
115
115
  - api-usage=1/15000
116
116
  Location:
117
- - "/services/data/v26.0/sobjects/CustomObjectDetail__c/a011a000000ikfZAAQ"
117
+ - "/services/data/<api_version>/sobjects/CustomObjectDetail__c/a011a000000ikfZAAQ"
118
118
  Content-Type:
119
119
  - application/json;charset=UTF-8
120
120
  Transfer-Encoding:
@@ -122,11 +122,11 @@ http_interactions:
122
122
  body:
123
123
  encoding: ASCII-8BIT
124
124
  string: '{"id":"a011a000000ikfZAAQ","success":true,"errors":[]}'
125
- http_version:
125
+ http_version:
126
126
  recorded_at: Fri, 01 May 2015 16:27:27 GMT
127
127
  - request:
128
128
  method: post
129
- uri: https://<host>/services/data/v26.0/sobjects/CustomObjectDetail__c
129
+ uri: https://<host>/services/data/<api_version>/sobjects/CustomObjectDetail__c
130
130
  body:
131
131
  encoding: UTF-8
132
132
  string: '{"Name":"Second Detail","CustomObject__c":"a001a000001TuOxAAK"}'
@@ -156,7 +156,7 @@ http_interactions:
156
156
  Sforce-Limit-Info:
157
157
  - api-usage=1/15000
158
158
  Location:
159
- - "/services/data/v26.0/sobjects/CustomObjectDetail__c/a011a000000ikfeAAA"
159
+ - "/services/data/<api_version>/sobjects/CustomObjectDetail__c/a011a000000ikfeAAA"
160
160
  Content-Type:
161
161
  - application/json;charset=UTF-8
162
162
  Transfer-Encoding:
@@ -164,11 +164,11 @@ http_interactions:
164
164
  body:
165
165
  encoding: ASCII-8BIT
166
166
  string: '{"id":"a011a000000ikfeAAA","success":true,"errors":[]}'
167
- http_version:
167
+ http_version:
168
168
  recorded_at: Fri, 01 May 2015 16:27:27 GMT
169
169
  - request:
170
170
  method: post
171
- uri: https://<host>/services/data/v26.0/sobjects/CustomObjectDetail__c
171
+ uri: https://<host>/services/data/<api_version>/sobjects/CustomObjectDetail__c
172
172
  body:
173
173
  encoding: UTF-8
174
174
  string: '{"Name":"Third Detail","CustomObject__c":"a001a000001TuOxAAK"}'
@@ -198,7 +198,7 @@ http_interactions:
198
198
  Sforce-Limit-Info:
199
199
  - api-usage=1/15000
200
200
  Location:
201
- - "/services/data/v26.0/sobjects/CustomObjectDetail__c/a011a000000ikfjAAA"
201
+ - "/services/data/<api_version>/sobjects/CustomObjectDetail__c/a011a000000ikfjAAA"
202
202
  Content-Type:
203
203
  - application/json;charset=UTF-8
204
204
  Transfer-Encoding:
@@ -206,11 +206,11 @@ http_interactions:
206
206
  body:
207
207
  encoding: ASCII-8BIT
208
208
  string: '{"id":"a011a000000ikfjAAA","success":true,"errors":[]}'
209
- http_version:
209
+ http_version:
210
210
  recorded_at: Fri, 01 May 2015 16:27:28 GMT
211
211
  - request:
212
212
  method: get
213
- uri: https://<host>/services/data/v26.0/query?q=select%20Id,%20SystemModstamp,%20Name,%20Example_Field__c%20from%20CustomObject__c%20where%20Id%20=%20%27a001a000001TuOxAAK%27
213
+ uri: https://<host>/services/data/<api_version>/query?q=select%20Id,%20SystemModstamp,%20Name,%20Example_Field__c%20from%20CustomObject__c%20where%20Id%20=%20%27a001a000001TuOxAAK%27
214
214
  body:
215
215
  encoding: US-ASCII
216
216
  string: ''
@@ -243,13 +243,13 @@ http_interactions:
243
243
  - chunked
244
244
  body:
245
245
  encoding: ASCII-8BIT
246
- string: '{"totalSize":1,"done":true,"records":[{"attributes":{"type":"CustomObject__c","url":"/services/data/v26.0/sobjects/CustomObject__c/a001a000001TuOxAAK"},"Id":"a001a000001TuOxAAK","SystemModstamp":"2015-05-01T16:27:26.000+0000","Name":"Sample
246
+ string: '{"totalSize":1,"done":true,"records":[{"attributes":{"type":"CustomObject__c","url":"/services/data/<api_version>/sobjects/CustomObject__c/a001a000001TuOxAAK"},"Id":"a001a000001TuOxAAK","SystemModstamp":"2015-05-01T16:27:26.000+0000","Name":"Sample
247
247
  object","Example_Field__c":null}]}'
248
- http_version:
248
+ http_version:
249
249
  recorded_at: Fri, 01 May 2015 16:27:28 GMT
250
250
  - request:
251
251
  method: get
252
- uri: https://<host>/services/data/v26.0/query?q=select%20Id,%20SystemModstamp,%20Name,%20CustomObject__c%20from%20CustomObjectDetail__c%20where%20CustomObject__c%20=%20%27a001a000001TuOxAAK%27
252
+ uri: https://<host>/services/data/<api_version>/query?q=select%20Id,%20SystemModstamp,%20Name,%20CustomObject__c%20from%20CustomObjectDetail__c%20where%20CustomObject__c%20=%20%27a001a000001TuOxAAK%27
253
253
  body:
254
254
  encoding: US-ASCII
255
255
  string: ''
@@ -282,15 +282,15 @@ http_interactions:
282
282
  - chunked
283
283
  body:
284
284
  encoding: ASCII-8BIT
285
- string: '{"totalSize":3,"done":true,"records":[{"attributes":{"type":"CustomObjectDetail__c","url":"/services/data/v26.0/sobjects/CustomObjectDetail__c/a011a000000ikfjAAA"},"Id":"a011a000000ikfjAAA","SystemModstamp":"2015-05-01T16:27:27.000+0000","Name":"Third
286
- Detail","CustomObject__c":"a001a000001TuOxAAK"},{"attributes":{"type":"CustomObjectDetail__c","url":"/services/data/v26.0/sobjects/CustomObjectDetail__c/a011a000000ikfZAAQ"},"Id":"a011a000000ikfZAAQ","SystemModstamp":"2015-05-01T16:27:27.000+0000","Name":"First
287
- Detail","CustomObject__c":"a001a000001TuOxAAK"},{"attributes":{"type":"CustomObjectDetail__c","url":"/services/data/v26.0/sobjects/CustomObjectDetail__c/a011a000000ikfeAAA"},"Id":"a011a000000ikfeAAA","SystemModstamp":"2015-05-01T16:27:27.000+0000","Name":"Second
285
+ string: '{"totalSize":3,"done":true,"records":[{"attributes":{"type":"CustomObjectDetail__c","url":"/services/data/<api_version>/sobjects/CustomObjectDetail__c/a011a000000ikfjAAA"},"Id":"a011a000000ikfjAAA","SystemModstamp":"2015-05-01T16:27:27.000+0000","Name":"Third
286
+ Detail","CustomObject__c":"a001a000001TuOxAAK"},{"attributes":{"type":"CustomObjectDetail__c","url":"/services/data/<api_version>/sobjects/CustomObjectDetail__c/a011a000000ikfZAAQ"},"Id":"a011a000000ikfZAAQ","SystemModstamp":"2015-05-01T16:27:27.000+0000","Name":"First
287
+ Detail","CustomObject__c":"a001a000001TuOxAAK"},{"attributes":{"type":"CustomObjectDetail__c","url":"/services/data/<api_version>/sobjects/CustomObjectDetail__c/a011a000000ikfeAAA"},"Id":"a011a000000ikfeAAA","SystemModstamp":"2015-05-01T16:27:27.000+0000","Name":"Second
288
288
  Detail","CustomObject__c":"a001a000001TuOxAAK"}]}'
289
- http_version:
289
+ http_version:
290
290
  recorded_at: Fri, 01 May 2015 16:27:28 GMT
291
291
  - request:
292
292
  method: delete
293
- uri: https://<host>/services/data/v26.0/sobjects/CustomObject__c/a001a000001TuOxAAK
293
+ uri: https://<host>/services/data/<api_version>/sobjects/CustomObject__c/a001a000001TuOxAAK
294
294
  body:
295
295
  encoding: US-ASCII
296
296
  string: ''
@@ -320,11 +320,11 @@ http_interactions:
320
320
  body:
321
321
  encoding: UTF-8
322
322
  string: ''
323
- http_version:
323
+ http_version:
324
324
  recorded_at: Fri, 01 May 2015 16:27:29 GMT
325
325
  - request:
326
326
  method: delete
327
- uri: https://<host>/services/data/v26.0/sobjects/CustomObjectDetail__c/a011a000000ikfZAAQ
327
+ uri: https://<host>/services/data/<api_version>/sobjects/CustomObjectDetail__c/a011a000000ikfZAAQ
328
328
  body:
329
329
  encoding: US-ASCII
330
330
  string: ''
@@ -358,11 +358,11 @@ http_interactions:
358
358
  body:
359
359
  encoding: UTF-8
360
360
  string: '[{"message":"entity is deleted","errorCode":"ENTITY_IS_DELETED","fields":[]}]'
361
- http_version:
361
+ http_version:
362
362
  recorded_at: Fri, 01 May 2015 16:27:29 GMT
363
363
  - request:
364
364
  method: delete
365
- uri: https://<host>/services/data/v26.0/sobjects/CustomObjectDetail__c/a011a000000ikfeAAA
365
+ uri: https://<host>/services/data/<api_version>/sobjects/CustomObjectDetail__c/a011a000000ikfeAAA
366
366
  body:
367
367
  encoding: US-ASCII
368
368
  string: ''
@@ -396,11 +396,11 @@ http_interactions:
396
396
  body:
397
397
  encoding: UTF-8
398
398
  string: '[{"message":"entity is deleted","errorCode":"ENTITY_IS_DELETED","fields":[]}]'
399
- http_version:
399
+ http_version:
400
400
  recorded_at: Fri, 01 May 2015 16:27:29 GMT
401
401
  - request:
402
402
  method: delete
403
- uri: https://<host>/services/data/v26.0/sobjects/CustomObjectDetail__c/a011a000000ikfjAAA
403
+ uri: https://<host>/services/data/<api_version>/sobjects/CustomObjectDetail__c/a011a000000ikfjAAA
404
404
  body:
405
405
  encoding: US-ASCII
406
406
  string: ''
@@ -434,6 +434,6 @@ http_interactions:
434
434
  body:
435
435
  encoding: UTF-8
436
436
  string: '[{"message":"entity is deleted","errorCode":"ENTITY_IS_DELETED","fields":[]}]'
437
- http_version:
437
+ http_version:
438
438
  recorded_at: Fri, 01 May 2015 16:27:29 GMT
439
439
  recorded_with: VCR 2.9.3
@@ -38,11 +38,11 @@ http_interactions:
38
38
  body:
39
39
  encoding: ASCII-8BIT
40
40
  string: '{"id":"https://login.salesforce.com/id/00D1a000000H3O9EAK/0051a000000UGT8AAO","issued_at":"1431460619986","token_type":"Bearer","instance_url":"https://<host>","signature":"u64BZdZBkpV7s2sYs1cc+mLttOxfG+RQh+VA+afErCc=","access_token":"00D1a000000H3O9!AQ4AQCN.EK5q2GqYClj_rprS9iFZEfWNjLjAqM_ql5mTUm5HJcVjXHY5YGQjvRhrTa_S8zNQyoc122zuBhcNpC6YS7qVpYuM"}'
41
- http_version:
41
+ http_version:
42
42
  recorded_at: Tue, 12 May 2015 19:56:59 GMT
43
43
  - request:
44
44
  method: post
45
- uri: https://<host>/services/data/v26.0/sobjects/CustomObject__c
45
+ uri: https://<host>/services/data/<api_version>/sobjects/CustomObject__c
46
46
  body:
47
47
  encoding: UTF-8
48
48
  string: '{"Name":"Sample object"}'
@@ -72,7 +72,7 @@ http_interactions:
72
72
  Sforce-Limit-Info:
73
73
  - api-usage=1/15000
74
74
  Location:
75
- - "/services/data/v26.0/sobjects/CustomObject__c/a001a000001ZKK3AAO"
75
+ - "/services/data/<api_version>/sobjects/CustomObject__c/a001a000001ZKK3AAO"
76
76
  Content-Type:
77
77
  - application/json;charset=UTF-8
78
78
  Transfer-Encoding:
@@ -80,11 +80,11 @@ http_interactions:
80
80
  body:
81
81
  encoding: ASCII-8BIT
82
82
  string: '{"id":"a001a000001ZKK3AAO","success":true,"errors":[]}'
83
- http_version:
83
+ http_version:
84
84
  recorded_at: Tue, 12 May 2015 19:57:01 GMT
85
85
  - request:
86
86
  method: get
87
- uri: https://<host>/services/data/v26.0/query?q=select%20Id,%20SystemModstamp,%20Name,%20Example_Field__c%20from%20CustomObject__c%20where%20Id%20=%20%27a001a000001ZKK3AAO%27
87
+ uri: https://<host>/services/data/<api_version>/query?q=select%20Id,%20SystemModstamp,%20Name,%20Example_Field__c%20from%20CustomObject__c%20where%20Id%20=%20%27a001a000001ZKK3AAO%27
88
88
  body:
89
89
  encoding: US-ASCII
90
90
  string: ''
@@ -117,13 +117,13 @@ http_interactions:
117
117
  - chunked
118
118
  body:
119
119
  encoding: ASCII-8BIT
120
- string: '{"totalSize":1,"done":true,"records":[{"attributes":{"type":"CustomObject__c","url":"/services/data/v26.0/sobjects/CustomObject__c/a001a000001ZKK3AAO"},"Id":"a001a000001ZKK3AAO","SystemModstamp":"2015-05-12T19:57:01.000+0000","Name":"Sample
120
+ string: '{"totalSize":1,"done":true,"records":[{"attributes":{"type":"CustomObject__c","url":"/services/data/<api_version>/sobjects/CustomObject__c/a001a000001ZKK3AAO"},"Id":"a001a000001ZKK3AAO","SystemModstamp":"2015-05-12T19:57:01.000+0000","Name":"Sample
121
121
  object","Example_Field__c":null}]}'
122
- http_version:
122
+ http_version:
123
123
  recorded_at: Tue, 12 May 2015 19:57:02 GMT
124
124
  - request:
125
125
  method: delete
126
- uri: https://<host>/services/data/v26.0/sobjects/CustomObject__c/a001a000001ZKK3AAO
126
+ uri: https://<host>/services/data/<api_version>/sobjects/CustomObject__c/a001a000001ZKK3AAO
127
127
  body:
128
128
  encoding: US-ASCII
129
129
  string: ''
@@ -153,6 +153,6 @@ http_interactions:
153
153
  body:
154
154
  encoding: UTF-8
155
155
  string: ''
156
- http_version:
156
+ http_version:
157
157
  recorded_at: Tue, 12 May 2015 19:57:03 GMT
158
158
  recorded_with: VCR 2.9.3
@@ -38,11 +38,11 @@ http_interactions:
38
38
  body:
39
39
  encoding: ASCII-8BIT
40
40
  string: '{"id":"https://login.salesforce.com/id/00D1a000000H3O9EAK/0051a000000UGT8AAO","issued_at":"1428715785563","token_type":"Bearer","instance_url":"https://<host>","signature":"CP3JKuG7/SQHR4Dam1HfpVtvW2QDAn8O0aTFO+2REEg=","access_token":"00D1a000000H3O9!AQ4AQKzh13pKuR2SlS.Cq04BnD.sliu.0jLuP2qUQvVfZBc5RaiRknImPjcZu5w_dvIzyN831OnqnR.o9XKdgX14n3l6dNnj"}'
41
- http_version:
41
+ http_version:
42
42
  recorded_at: Sat, 11 Apr 2015 01:29:46 GMT
43
43
  - request:
44
44
  method: post
45
- uri: https://<host>/services/data/v26.0/sobjects/CustomObject__c
45
+ uri: https://<host>/services/data/<api_version>/sobjects/CustomObject__c
46
46
  body:
47
47
  encoding: UTF-8
48
48
  string: '{"Name":"Sample object"}'
@@ -72,7 +72,7 @@ http_interactions:
72
72
  Sforce-Limit-Info:
73
73
  - api-usage=170/15000
74
74
  Location:
75
- - "/services/data/v26.0/sobjects/CustomObject__c/a001a000001LXgyAAG"
75
+ - "/services/data/<api_version>/sobjects/CustomObject__c/a001a000001LXgyAAG"
76
76
  Content-Type:
77
77
  - application/json;charset=UTF-8
78
78
  Transfer-Encoding:
@@ -80,11 +80,11 @@ http_interactions:
80
80
  body:
81
81
  encoding: ASCII-8BIT
82
82
  string: '{"id":"a001a000001LXgyAAG","success":true,"errors":[]}'
83
- http_version:
83
+ http_version:
84
84
  recorded_at: Sat, 11 Apr 2015 01:29:47 GMT
85
85
  - request:
86
86
  method: post
87
- uri: https://<host>/services/data/v26.0/sobjects/CustomObjectDetail__c
87
+ uri: https://<host>/services/data/<api_version>/sobjects/CustomObjectDetail__c
88
88
  body:
89
89
  encoding: UTF-8
90
90
  string: '{"Name":"First Detail","CustomObject__c":"a001a000001LXgyAAG"}'
@@ -114,7 +114,7 @@ http_interactions:
114
114
  Sforce-Limit-Info:
115
115
  - api-usage=170/15000
116
116
  Location:
117
- - "/services/data/v26.0/sobjects/CustomObjectDetail__c/a011a000000gym7AAA"
117
+ - "/services/data/<api_version>/sobjects/CustomObjectDetail__c/a011a000000gym7AAA"
118
118
  Content-Type:
119
119
  - application/json;charset=UTF-8
120
120
  Transfer-Encoding:
@@ -122,11 +122,11 @@ http_interactions:
122
122
  body:
123
123
  encoding: ASCII-8BIT
124
124
  string: '{"id":"a011a000000gym7AAA","success":true,"errors":[]}'
125
- http_version:
125
+ http_version:
126
126
  recorded_at: Sat, 11 Apr 2015 01:29:48 GMT
127
127
  - request:
128
128
  method: post
129
- uri: https://<host>/services/data/v26.0/sobjects/CustomObjectDetail__c
129
+ uri: https://<host>/services/data/<api_version>/sobjects/CustomObjectDetail__c
130
130
  body:
131
131
  encoding: UTF-8
132
132
  string: '{"Name":"Second Detail","CustomObject__c":"a001a000001LXgyAAG"}'
@@ -156,7 +156,7 @@ http_interactions:
156
156
  Sforce-Limit-Info:
157
157
  - api-usage=170/15000
158
158
  Location:
159
- - "/services/data/v26.0/sobjects/CustomObjectDetail__c/a011a000000gylUAAQ"
159
+ - "/services/data/<api_version>/sobjects/CustomObjectDetail__c/a011a000000gylUAAQ"
160
160
  Content-Type:
161
161
  - application/json;charset=UTF-8
162
162
  Transfer-Encoding:
@@ -164,11 +164,11 @@ http_interactions:
164
164
  body:
165
165
  encoding: ASCII-8BIT
166
166
  string: '{"id":"a011a000000gylUAAQ","success":true,"errors":[]}'
167
- http_version:
167
+ http_version:
168
168
  recorded_at: Sat, 11 Apr 2015 01:29:49 GMT
169
169
  - request:
170
170
  method: post
171
- uri: https://<host>/services/data/v26.0/sobjects/CustomObjectDetail__c
171
+ uri: https://<host>/services/data/<api_version>/sobjects/CustomObjectDetail__c
172
172
  body:
173
173
  encoding: UTF-8
174
174
  string: '{"Name":"Third Detail","CustomObject__c":"a001a000001LXgyAAG"}'
@@ -198,7 +198,7 @@ http_interactions:
198
198
  Sforce-Limit-Info:
199
199
  - api-usage=170/15000
200
200
  Location:
201
- - "/services/data/v26.0/sobjects/CustomObjectDetail__c/a011a000000gymCAAQ"
201
+ - "/services/data/<api_version>/sobjects/CustomObjectDetail__c/a011a000000gymCAAQ"
202
202
  Content-Type:
203
203
  - application/json;charset=UTF-8
204
204
  Transfer-Encoding:
@@ -206,11 +206,11 @@ http_interactions:
206
206
  body:
207
207
  encoding: ASCII-8BIT
208
208
  string: '{"id":"a011a000000gymCAAQ","success":true,"errors":[]}'
209
- http_version:
209
+ http_version:
210
210
  recorded_at: Sat, 11 Apr 2015 01:29:50 GMT
211
211
  - request:
212
212
  method: get
213
- uri: https://<host>/services/data/v26.0/query?q=select%20Id,%20SystemModstamp,%20Name,%20Example_Field__c%20from%20CustomObject__c%20where%20Id%20=%20%27a001a000001LXgyAAG%27
213
+ uri: https://<host>/services/data/<api_version>/query?q=select%20Id,%20SystemModstamp,%20Name,%20Example_Field__c%20from%20CustomObject__c%20where%20Id%20=%20%27a001a000001LXgyAAG%27
214
214
  body:
215
215
  encoding: US-ASCII
216
216
  string: ''
@@ -243,13 +243,13 @@ http_interactions:
243
243
  - chunked
244
244
  body:
245
245
  encoding: ASCII-8BIT
246
- string: '{"totalSize":1,"done":true,"records":[{"attributes":{"type":"CustomObject__c","url":"/services/data/v26.0/sobjects/CustomObject__c/a001a000001LXgyAAG"},"Id":"a001a000001LXgyAAG","SystemModstamp":"2015-04-11T01:29:46.000+0000","Name":"Sample
246
+ string: '{"totalSize":1,"done":true,"records":[{"attributes":{"type":"CustomObject__c","url":"/services/data/<api_version>/sobjects/CustomObject__c/a001a000001LXgyAAG"},"Id":"a001a000001LXgyAAG","SystemModstamp":"2015-04-11T01:29:46.000+0000","Name":"Sample
247
247
  object","Example_Field__c":null}]}'
248
- http_version:
248
+ http_version:
249
249
  recorded_at: Sat, 11 Apr 2015 01:29:51 GMT
250
250
  - request:
251
251
  method: get
252
- uri: https://<host>/services/data/v26.0/query?q=select%20Id,%20SystemModstamp,%20Name,%20CustomObject__c%20from%20CustomObjectDetail__c%20where%20CustomObject__c%20=%20%27a001a000001LXgyAAG%27
252
+ uri: https://<host>/services/data/<api_version>/query?q=select%20Id,%20SystemModstamp,%20Name,%20CustomObject__c%20from%20CustomObjectDetail__c%20where%20CustomObject__c%20=%20%27a001a000001LXgyAAG%27
253
253
  body:
254
254
  encoding: US-ASCII
255
255
  string: ''
@@ -282,15 +282,15 @@ http_interactions:
282
282
  - chunked
283
283
  body:
284
284
  encoding: ASCII-8BIT
285
- string: '{"totalSize":3,"done":true,"records":[{"attributes":{"type":"CustomObjectDetail__c","url":"/services/data/v26.0/sobjects/CustomObjectDetail__c/a011a000000gylUAAQ"},"Id":"a011a000000gylUAAQ","SystemModstamp":"2015-04-11T01:29:48.000+0000","Name":"Second
286
- Detail","CustomObject__c":"a001a000001LXgyAAG"},{"attributes":{"type":"CustomObjectDetail__c","url":"/services/data/v26.0/sobjects/CustomObjectDetail__c/a011a000000gym7AAA"},"Id":"a011a000000gym7AAA","SystemModstamp":"2015-04-11T01:29:47.000+0000","Name":"First
287
- Detail","CustomObject__c":"a001a000001LXgyAAG"},{"attributes":{"type":"CustomObjectDetail__c","url":"/services/data/v26.0/sobjects/CustomObjectDetail__c/a011a000000gymCAAQ"},"Id":"a011a000000gymCAAQ","SystemModstamp":"2015-04-11T01:29:49.000+0000","Name":"Third
285
+ string: '{"totalSize":3,"done":true,"records":[{"attributes":{"type":"CustomObjectDetail__c","url":"/services/data/<api_version>/sobjects/CustomObjectDetail__c/a011a000000gylUAAQ"},"Id":"a011a000000gylUAAQ","SystemModstamp":"2015-04-11T01:29:48.000+0000","Name":"Second
286
+ Detail","CustomObject__c":"a001a000001LXgyAAG"},{"attributes":{"type":"CustomObjectDetail__c","url":"/services/data/<api_version>/sobjects/CustomObjectDetail__c/a011a000000gym7AAA"},"Id":"a011a000000gym7AAA","SystemModstamp":"2015-04-11T01:29:47.000+0000","Name":"First
287
+ Detail","CustomObject__c":"a001a000001LXgyAAG"},{"attributes":{"type":"CustomObjectDetail__c","url":"/services/data/<api_version>/sobjects/CustomObjectDetail__c/a011a000000gymCAAQ"},"Id":"a011a000000gymCAAQ","SystemModstamp":"2015-04-11T01:29:49.000+0000","Name":"Third
288
288
  Detail","CustomObject__c":"a001a000001LXgyAAG"}]}'
289
- http_version:
289
+ http_version:
290
290
  recorded_at: Sat, 11 Apr 2015 01:29:52 GMT
291
291
  - request:
292
292
  method: delete
293
- uri: https://<host>/services/data/v26.0/sobjects/CustomObject__c/a001a000001LXgyAAG
293
+ uri: https://<host>/services/data/<api_version>/sobjects/CustomObject__c/a001a000001LXgyAAG
294
294
  body:
295
295
  encoding: US-ASCII
296
296
  string: ''
@@ -320,11 +320,11 @@ http_interactions:
320
320
  body:
321
321
  encoding: UTF-8
322
322
  string: ''
323
- http_version:
323
+ http_version:
324
324
  recorded_at: Sat, 11 Apr 2015 01:29:53 GMT
325
325
  - request:
326
326
  method: delete
327
- uri: https://<host>/services/data/v26.0/sobjects/CustomObjectDetail__c/a011a000000gym7AAA
327
+ uri: https://<host>/services/data/<api_version>/sobjects/CustomObjectDetail__c/a011a000000gym7AAA
328
328
  body:
329
329
  encoding: US-ASCII
330
330
  string: ''
@@ -358,11 +358,11 @@ http_interactions:
358
358
  body:
359
359
  encoding: UTF-8
360
360
  string: '[{"message":"entity is deleted","errorCode":"ENTITY_IS_DELETED","fields":[]}]'
361
- http_version:
361
+ http_version:
362
362
  recorded_at: Sat, 11 Apr 2015 01:29:54 GMT
363
363
  - request:
364
364
  method: delete
365
- uri: https://<host>/services/data/v26.0/sobjects/CustomObjectDetail__c/a011a000000gylUAAQ
365
+ uri: https://<host>/services/data/<api_version>/sobjects/CustomObjectDetail__c/a011a000000gylUAAQ
366
366
  body:
367
367
  encoding: US-ASCII
368
368
  string: ''
@@ -396,11 +396,11 @@ http_interactions:
396
396
  body:
397
397
  encoding: UTF-8
398
398
  string: '[{"message":"entity is deleted","errorCode":"ENTITY_IS_DELETED","fields":[]}]'
399
- http_version:
399
+ http_version:
400
400
  recorded_at: Sat, 11 Apr 2015 01:29:55 GMT
401
401
  - request:
402
402
  method: delete
403
- uri: https://<host>/services/data/v26.0/sobjects/CustomObjectDetail__c/a011a000000gymCAAQ
403
+ uri: https://<host>/services/data/<api_version>/sobjects/CustomObjectDetail__c/a011a000000gymCAAQ
404
404
  body:
405
405
  encoding: US-ASCII
406
406
  string: ''
@@ -434,6 +434,6 @@ http_interactions:
434
434
  body:
435
435
  encoding: UTF-8
436
436
  string: '[{"message":"entity is deleted","errorCode":"ENTITY_IS_DELETED","fields":[]}]'
437
- http_version:
437
+ http_version:
438
438
  recorded_at: Sat, 11 Apr 2015 01:29:57 GMT
439
439
  recorded_with: VCR 2.9.3