ruby-transmitsms 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (70) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +4 -0
  3. data/Gemfile.lock +49 -0
  4. data/LICENSE +22 -0
  5. data/README.md +62 -0
  6. data/Rakefile +7 -0
  7. data/fixtures/vcr_cassettes/account_api_get_balance.yml +49 -0
  8. data/fixtures/vcr_cassettes/email_sms_api_add_email.yml +49 -0
  9. data/fixtures/vcr_cassettes/email_sms_api_delete_email.yml +49 -0
  10. data/fixtures/vcr_cassettes/keywords_api_add_keyword.yml +49 -0
  11. data/fixtures/vcr_cassettes/keywords_api_edit_keyword.yml +49 -0
  12. data/fixtures/vcr_cassettes/keywords_api_get_keywords.yml +50 -0
  13. data/fixtures/vcr_cassettes/lists_api_add_list.yml +49 -0
  14. data/fixtures/vcr_cassettes/lists_api_add_to_list.yml +50 -0
  15. data/fixtures/vcr_cassettes/lists_api_delete_from_list.yml +49 -0
  16. data/fixtures/vcr_cassettes/lists_api_edit_list_member.yml +50 -0
  17. data/fixtures/vcr_cassettes/lists_api_get_list.yml +60 -0
  18. data/fixtures/vcr_cassettes/lists_api_get_lists.yml +61 -0
  19. data/fixtures/vcr_cassettes/lists_api_optout_list_member.yml +49 -0
  20. data/fixtures/vcr_cassettes/lists_api_remove_list.yml +49 -0
  21. data/fixtures/vcr_cassettes/numbers_api_get_number.yml +49 -0
  22. data/fixtures/vcr_cassettes/numbers_api_get_numbers.yml +49 -0
  23. data/fixtures/vcr_cassettes/numbers_api_lease_number.yml +50 -0
  24. data/fixtures/vcr_cassettes/resellers_api_add_client.yml +49 -0
  25. data/fixtures/vcr_cassettes/resellers_api_edit_client.yml +40 -0
  26. data/fixtures/vcr_cassettes/resellers_api_get_client.yml +50 -0
  27. data/fixtures/vcr_cassettes/resellers_api_get_clients.yml +59 -0
  28. data/fixtures/vcr_cassettes/resellers_api_get_transaction.yml +51 -0
  29. data/fixtures/vcr_cassettes/resellers_api_get_transactions.yml +61 -0
  30. data/fixtures/vcr_cassettes/sms_api_test_cancel_sms.yml +50 -0
  31. data/fixtures/vcr_cassettes/sms_api_test_format_number.yml +49 -0
  32. data/fixtures/vcr_cassettes/sms_api_test_format_number_fail_in_missing_msisdn.yml +50 -0
  33. data/fixtures/vcr_cassettes/sms_api_test_get_message_log.yml +50 -0
  34. data/fixtures/vcr_cassettes/sms_api_test_get_sms_info.yml +49 -0
  35. data/fixtures/vcr_cassettes/sms_api_test_get_sms_info_fail_for_not_existing_message_id.yml +50 -0
  36. data/fixtures/vcr_cassettes/sms_api_test_get_sms_responses.yml +53 -0
  37. data/fixtures/vcr_cassettes/sms_api_test_get_sms_sent.yml +50 -0
  38. data/fixtures/vcr_cassettes/sms_api_test_get_user_sms_responses.yml +49 -0
  39. data/fixtures/vcr_cassettes/sms_api_test_message_reply.yml +49 -0
  40. data/fixtures/vcr_cassettes/sms_api_test_send.yml +49 -0
  41. data/fixtures/vcr_cassettes/sms_api_test_send_missing_to_and_list_id.yml +50 -0
  42. data/fixtures/vcr_cassettes/sms_api_test_send_with_list_id.yml +50 -0
  43. data/geminstall.sh +1 -0
  44. data/lib/account_api.rb +80 -0
  45. data/lib/email_api.rb +137 -0
  46. data/lib/keywords_api.rb +224 -0
  47. data/lib/lists_api.rb +523 -0
  48. data/lib/monkey.rb +90 -0
  49. data/lib/numbers_api.rb +188 -0
  50. data/lib/resellers_api.rb +379 -0
  51. data/lib/ruby-transmitsms.rb +16 -0
  52. data/lib/sms_api.rb +550 -0
  53. data/lib/swagger.rb +84 -0
  54. data/lib/swagger/configuration.rb +22 -0
  55. data/lib/swagger/request.rb +212 -0
  56. data/lib/swagger/response.rb +70 -0
  57. data/lib/swagger/version.rb +4 -0
  58. data/ruby-transmitsms.gemspec +33 -0
  59. data/runtest.sh +8 -0
  60. data/setup.sh +1 -0
  61. data/spec/.resellers_api_spec.rb.swp +0 -0
  62. data/spec/account_api_spec.rb +30 -0
  63. data/spec/email_sms_api_spec.rb +40 -0
  64. data/spec/keywords_api_spec.rb +56 -0
  65. data/spec/lists_api_spec.rb +117 -0
  66. data/spec/numbers_api_spec.rb +53 -0
  67. data/spec/resellers_api_spec.rb +85 -0
  68. data/spec/sms_api_spec.rb +174 -0
  69. data/spec/spec.opts +4 -0
  70. metadata +219 -0
@@ -0,0 +1,49 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: http://api.burst.dev.local/add-list.json?name=my_list
6
+ body:
7
+ encoding: UTF-8
8
+ string: 'null'
9
+ headers:
10
+ User-Agent:
11
+ - ruby-swagger-4.06.08
12
+ Content-Type:
13
+ - application/x-www-form-urlencoded
14
+ Api-Key:
15
+ - ''
16
+ Authorization:
17
+ - |
18
+ Basic MTVhZDI2NmM1MzhmYjM2YzRkOTBmMDEwNTVhZWY0OTQ6bW9vc2U=
19
+ response:
20
+ status:
21
+ code: 200
22
+ message: OK
23
+ headers:
24
+ Server:
25
+ - nginx/1.1.19
26
+ Date:
27
+ - Tue, 28 Apr 2015 23:16:24 GMT
28
+ Content-Type:
29
+ - application/json; charset=utf-8
30
+ Transfer-Encoding:
31
+ - chunked
32
+ Connection:
33
+ - keep-alive
34
+ X-Powered-By:
35
+ - PHP/5.4.39-1+deb.sury.org~precise+2
36
+ Expires:
37
+ - Thu, 19 Nov 1981 08:52:00 GMT
38
+ Cache-Control:
39
+ - no-store, no-cache, must-revalidate, post-check=0, pre-check=0
40
+ Pragma:
41
+ - no-cache
42
+ X-Mashape-Billing:
43
+ - Queries=1
44
+ body:
45
+ encoding: UTF-8
46
+ string: '{"id":55320,"name":"my_list","created":"2015-04-28 23:16:24","members_active":0,"fields":[],"error":{"code":"SUCCESS","description":"OK"}}'
47
+ http_version:
48
+ recorded_at: Tue, 28 Apr 2015 23:16:25 GMT
49
+ recorded_with: VCR 2.9.3
@@ -0,0 +1,50 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: http://api.burst.dev.local/add-to-list.json?list_id=55314&msisdn=61491570158
6
+ body:
7
+ encoding: UTF-8
8
+ string: 'null'
9
+ headers:
10
+ User-Agent:
11
+ - ruby-swagger-4.06.08
12
+ Content-Type:
13
+ - application/x-www-form-urlencoded
14
+ Api-Key:
15
+ - ''
16
+ Authorization:
17
+ - |
18
+ Basic MTVhZDI2NmM1MzhmYjM2YzRkOTBmMDEwNTVhZWY0OTQ6bW9vc2U=
19
+ response:
20
+ status:
21
+ code: 200
22
+ message: OK
23
+ headers:
24
+ Server:
25
+ - nginx/1.1.19
26
+ Date:
27
+ - Tue, 28 Apr 2015 23:21:50 GMT
28
+ Content-Type:
29
+ - application/json; charset=utf-8
30
+ Transfer-Encoding:
31
+ - chunked
32
+ Connection:
33
+ - keep-alive
34
+ X-Powered-By:
35
+ - PHP/5.4.39-1+deb.sury.org~precise+2
36
+ Expires:
37
+ - Thu, 19 Nov 1981 08:52:00 GMT
38
+ Cache-Control:
39
+ - no-store, no-cache, must-revalidate, post-check=0, pre-check=0
40
+ Pragma:
41
+ - no-cache
42
+ X-Mashape-Billing:
43
+ - Queries=1
44
+ body:
45
+ encoding: UTF-8
46
+ string: '{"list_id":55314,"msisdn":61491570158,"first_name":null,"last_name":null,"created_at":"2015-04-28
47
+ 23:21:50","status":"active","error":{"code":"SUCCESS","description":"OK"}}'
48
+ http_version:
49
+ recorded_at: Tue, 28 Apr 2015 23:21:51 GMT
50
+ recorded_with: VCR 2.9.3
@@ -0,0 +1,49 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: http://api.burst.dev.local/delete-from-list.json?list_id=55314&msisdn=61491570158
6
+ body:
7
+ encoding: UTF-8
8
+ string: 'null'
9
+ headers:
10
+ User-Agent:
11
+ - ruby-swagger-4.06.08
12
+ Content-Type:
13
+ - application/x-www-form-urlencoded
14
+ Api-Key:
15
+ - ''
16
+ Authorization:
17
+ - |
18
+ Basic MTVhZDI2NmM1MzhmYjM2YzRkOTBmMDEwNTVhZWY0OTQ6bW9vc2U=
19
+ response:
20
+ status:
21
+ code: 200
22
+ message: OK
23
+ headers:
24
+ Server:
25
+ - nginx/1.1.19
26
+ Date:
27
+ - Tue, 28 Apr 2015 23:31:50 GMT
28
+ Content-Type:
29
+ - application/json; charset=utf-8
30
+ Transfer-Encoding:
31
+ - chunked
32
+ Connection:
33
+ - keep-alive
34
+ X-Powered-By:
35
+ - PHP/5.4.39-1+deb.sury.org~precise+2
36
+ Expires:
37
+ - Thu, 19 Nov 1981 08:52:00 GMT
38
+ Cache-Control:
39
+ - no-store, no-cache, must-revalidate, post-check=0, pre-check=0
40
+ Pragma:
41
+ - no-cache
42
+ X-Mashape-Billing:
43
+ - Queries=1
44
+ body:
45
+ encoding: UTF-8
46
+ string: '{"list_ids":[55314],"error":{"code":"SUCCESS","description":"OK"}}'
47
+ http_version:
48
+ recorded_at: Tue, 28 Apr 2015 23:31:51 GMT
49
+ recorded_with: VCR 2.9.3
@@ -0,0 +1,50 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: http://api.burst.dev.local/edit-list-member.json?list_id=55314&msisdn=61400124714
6
+ body:
7
+ encoding: UTF-8
8
+ string: 'null'
9
+ headers:
10
+ User-Agent:
11
+ - ruby-swagger-4.06.08
12
+ Content-Type:
13
+ - application/x-www-form-urlencoded
14
+ Api-Key:
15
+ - ''
16
+ Authorization:
17
+ - |
18
+ Basic MTVhZDI2NmM1MzhmYjM2YzRkOTBmMDEwNTVhZWY0OTQ6bW9vc2U=
19
+ response:
20
+ status:
21
+ code: 200
22
+ message: OK
23
+ headers:
24
+ Server:
25
+ - nginx/1.1.19
26
+ Date:
27
+ - Tue, 28 Apr 2015 23:59:00 GMT
28
+ Content-Type:
29
+ - application/json; charset=utf-8
30
+ Transfer-Encoding:
31
+ - chunked
32
+ Connection:
33
+ - keep-alive
34
+ X-Powered-By:
35
+ - PHP/5.4.39-1+deb.sury.org~precise+2
36
+ Expires:
37
+ - Thu, 19 Nov 1981 08:52:00 GMT
38
+ Cache-Control:
39
+ - no-store, no-cache, must-revalidate, post-check=0, pre-check=0
40
+ Pragma:
41
+ - no-cache
42
+ X-Mashape-Billing:
43
+ - Queries=1
44
+ body:
45
+ encoding: UTF-8
46
+ string: '{"list_id":55314,"msisdn":61400124714,"first_name":"Hugh","last_name":"Heller","created_at":"2014-11-19
47
+ 00:52:53","status":"active","error":{"code":"SUCCESS","description":"OK"}}'
48
+ http_version:
49
+ recorded_at: Tue, 28 Apr 2015 23:59:00 GMT
50
+ recorded_with: VCR 2.9.3
@@ -0,0 +1,60 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: http://api.burst.dev.local/get-list.json?list_id=55314
6
+ body:
7
+ encoding: UTF-8
8
+ string: 'null'
9
+ headers:
10
+ User-Agent:
11
+ - ruby-swagger-4.06.08
12
+ Content-Type:
13
+ - application/x-www-form-urlencoded
14
+ Api-Key:
15
+ - ''
16
+ Authorization:
17
+ - |
18
+ Basic MTVhZDI2NmM1MzhmYjM2YzRkOTBmMDEwNTVhZWY0OTQ6bW9vc2U=
19
+ response:
20
+ status:
21
+ code: 200
22
+ message: OK
23
+ headers:
24
+ Server:
25
+ - nginx/1.1.19
26
+ Date:
27
+ - Tue, 28 Apr 2015 07:59:33 GMT
28
+ Content-Type:
29
+ - application/json; charset=utf-8
30
+ Transfer-Encoding:
31
+ - chunked
32
+ Connection:
33
+ - keep-alive
34
+ X-Powered-By:
35
+ - PHP/5.4.39-1+deb.sury.org~precise+2
36
+ Expires:
37
+ - Thu, 19 Nov 1981 08:52:00 GMT
38
+ Cache-Control:
39
+ - no-store, no-cache, must-revalidate, post-check=0, pre-check=0
40
+ Pragma:
41
+ - no-cache
42
+ X-Mashape-Billing:
43
+ - Queries=1
44
+ body:
45
+ encoding: UTF-8
46
+ string: '{"page":{"count":108,"number":1},"members_total":1075,"id":55314,"name":"untitled
47
+ list","created":"2014-10-29 04:44:31","members_active":1075,"fields":[],"members":[{"list_id":55314,"msisdn":61400031418,"first_name":"Janice","last_name":"Florence","created_at":"2014-11-19
48
+ 00:52:54","status":"active"},{"list_id":55314,"msisdn":61400048835,"first_name":"Elizabeth","last_name":"McKenna","created_at":"2014-11-19
49
+ 00:52:53","status":"active"},{"list_id":55314,"msisdn":61400070667,"first_name":"Michael","last_name":"Karabatsos","created_at":"2014-11-19
50
+ 00:52:55","status":"active"},{"list_id":55314,"msisdn":61400077544,"first_name":"Vanessa","last_name":"Saccuzzo","created_at":"2014-11-19
51
+ 00:52:53","status":"active"},{"list_id":55314,"msisdn":61400088109,"first_name":"Aiden","last_name":"Murphy","created_at":"2014-11-19
52
+ 00:52:55","status":"active"},{"list_id":55314,"msisdn":61400103325,"first_name":"Dettsy","last_name":"Schopf","created_at":"2014-11-19
53
+ 00:52:54","status":"active"},{"list_id":55314,"msisdn":61400110195,"first_name":"Jasmine","last_name":"Smith","created_at":"2014-11-19
54
+ 00:52:53","status":"active"},{"list_id":55314,"msisdn":61400124714,"first_name":"Hugh","last_name":"Heller","created_at":"2014-11-19
55
+ 00:52:53","status":"active"},{"list_id":55314,"msisdn":61400201091,"first_name":"Marina","last_name":"Corda","created_at":"2014-11-19
56
+ 00:52:54","status":"active"},{"list_id":55314,"msisdn":61400233560,"first_name":"Filippo","last_name":"De
57
+ Santis","created_at":"2014-11-19 00:52:54","status":"active"}],"error":{"code":"SUCCESS","description":"OK"}}'
58
+ http_version:
59
+ recorded_at: Tue, 28 Apr 2015 07:59:33 GMT
60
+ recorded_with: VCR 2.9.3
@@ -0,0 +1,61 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: http://api.burst.dev.local/get-lists.json
6
+ body:
7
+ encoding: UTF-8
8
+ string: 'null'
9
+ headers:
10
+ User-Agent:
11
+ - ruby-swagger-4.06.08
12
+ Content-Type:
13
+ - application/x-www-form-urlencoded
14
+ Api-Key:
15
+ - ''
16
+ Authorization:
17
+ - |
18
+ Basic MTVhZDI2NmM1MzhmYjM2YzRkOTBmMDEwNTVhZWY0OTQ6bW9vc2U=
19
+ response:
20
+ status:
21
+ code: 200
22
+ message: OK
23
+ headers:
24
+ Server:
25
+ - nginx/1.1.19
26
+ Date:
27
+ - Tue, 28 Apr 2015 23:11:31 GMT
28
+ Content-Type:
29
+ - application/json; charset=utf-8
30
+ Transfer-Encoding:
31
+ - chunked
32
+ Connection:
33
+ - keep-alive
34
+ X-Powered-By:
35
+ - PHP/5.4.39-1+deb.sury.org~precise+2
36
+ Expires:
37
+ - Thu, 19 Nov 1981 08:52:00 GMT
38
+ Cache-Control:
39
+ - no-store, no-cache, must-revalidate, post-check=0, pre-check=0
40
+ Pragma:
41
+ - no-cache
42
+ X-Mashape-Billing:
43
+ - Queries=1
44
+ body:
45
+ encoding: UTF-8
46
+ string: '{"page":{"count":2,"number":1},"lists_total":12,"lists":[{"id":55214,"name":"test
47
+ list 2","created":"2013-11-06 04:23:27","members_active":2,"fields":[],"members_total":2},{"id":55218,"name":"My
48
+ Test List","created":"2013-11-10 22:03:55","members_active":0,"fields":[],"members_total":1},{"id":55219,"name":"fred","created":"2013-11-11
49
+ 00:47:06","members_active":9,"fields":[],"members_total":14},{"id":55225,"name":"moose1","created":"2013-11-21
50
+ 00:44:09","members_active":1,"fields":[],"members_total":1},{"id":55235,"name":"untitled
51
+ list","created":"2013-12-03 22:40:35","members_active":8,"fields":{"field_1":"Date
52
+ Added"},"members_total":13},{"id":55244,"name":"untitled list 7","created":"2014-01-28
53
+ 00:14:58","members_active":1075,"fields":{"field_1":"Last Name","field_2":"Date
54
+ of Birth","field_3":"Gender","field_4":"Email","field_10":"Address1"},"members_total":1103},{"id":55260,"name":"untitled
55
+ list 8","created":"2014-05-30 01:17:42","members_active":1,"fields":{"field_2":"message"},"members_total":2},{"id":55291,"name":"Virgin
56
+ List","created":"2014-07-23 01:57:03","members_active":104237,"fields":[],"members_total":104238},{"id":55292,"name":"Virgin
57
+ And None","created":"2014-07-23 04:54:11","members_active":1,"fields":[],"members_total":2},{"id":55293,"name":"for
58
+ victory","created":"2014-07-31 04:26:32","members_active":4,"fields":{"field_1":"BIrthday"},"members_total":4}],"error":{"code":"SUCCESS","description":"OK"}}'
59
+ http_version:
60
+ recorded_at: Tue, 28 Apr 2015 23:11:32 GMT
61
+ recorded_with: VCR 2.9.3
@@ -0,0 +1,49 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: http://api.burst.dev.local/optout-list-member.json?list_id=55314&msisdn=61400233560
6
+ body:
7
+ encoding: UTF-8
8
+ string: 'null'
9
+ headers:
10
+ User-Agent:
11
+ - ruby-swagger-4.06.08
12
+ Content-Type:
13
+ - application/x-www-form-urlencoded
14
+ Api-Key:
15
+ - ''
16
+ Authorization:
17
+ - |
18
+ Basic MTVhZDI2NmM1MzhmYjM2YzRkOTBmMDEwNTVhZWY0OTQ6bW9vc2U=
19
+ response:
20
+ status:
21
+ code: 200
22
+ message: OK
23
+ headers:
24
+ Server:
25
+ - nginx/1.1.19
26
+ Date:
27
+ - Tue, 28 Apr 2015 23:55:49 GMT
28
+ Content-Type:
29
+ - application/json; charset=utf-8
30
+ Transfer-Encoding:
31
+ - chunked
32
+ Connection:
33
+ - keep-alive
34
+ X-Powered-By:
35
+ - PHP/5.4.39-1+deb.sury.org~precise+2
36
+ Expires:
37
+ - Thu, 19 Nov 1981 08:52:00 GMT
38
+ Cache-Control:
39
+ - no-store, no-cache, must-revalidate, post-check=0, pre-check=0
40
+ Pragma:
41
+ - no-cache
42
+ X-Mashape-Billing:
43
+ - Queries=1
44
+ body:
45
+ encoding: UTF-8
46
+ string: '{"list_ids":[55314],"error":{"code":"SUCCESS","description":"OK"}}'
47
+ http_version:
48
+ recorded_at: Tue, 28 Apr 2015 23:55:49 GMT
49
+ recorded_with: VCR 2.9.3
@@ -0,0 +1,49 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: http://api.burst.dev.local/remove-list.json?list_id=55329
6
+ body:
7
+ encoding: UTF-8
8
+ string: 'null'
9
+ headers:
10
+ User-Agent:
11
+ - ruby-swagger-4.06.08
12
+ Content-Type:
13
+ - application/x-www-form-urlencoded
14
+ Api-Key:
15
+ - ''
16
+ Authorization:
17
+ - |
18
+ Basic MTVhZDI2NmM1MzhmYjM2YzRkOTBmMDEwNTVhZWY0OTQ6bW9vc2U=
19
+ response:
20
+ status:
21
+ code: 200
22
+ message: OK
23
+ headers:
24
+ Server:
25
+ - nginx/1.1.19
26
+ Date:
27
+ - Mon, 20 Jul 2015 07:33:41 GMT
28
+ Content-Type:
29
+ - application/json; charset=utf-8
30
+ Transfer-Encoding:
31
+ - chunked
32
+ Connection:
33
+ - keep-alive
34
+ X-Powered-By:
35
+ - PHP/5.4.43-1+deb.sury.org~precise+1
36
+ Expires:
37
+ - Thu, 19 Nov 1981 08:52:00 GMT
38
+ Cache-Control:
39
+ - no-store, no-cache, must-revalidate, post-check=0, pre-check=0
40
+ Pragma:
41
+ - no-cache
42
+ X-Mashape-Billing:
43
+ - Queries=1
44
+ body:
45
+ encoding: UTF-8
46
+ string: '{"error":{"code":"SUCCESS","description":"OK"}}'
47
+ http_version:
48
+ recorded_at: Mon, 20 Jul 2015 07:33:41 GMT
49
+ recorded_with: VCR 2.9.3
@@ -0,0 +1,49 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: http://api.burst.dev.local/get-number.json?number=%2B61422222222
6
+ body:
7
+ encoding: UTF-8
8
+ string: 'null'
9
+ headers:
10
+ User-Agent:
11
+ - ruby-swagger-4.06.08
12
+ Content-Type:
13
+ - application/x-www-form-urlencoded
14
+ Api-Key:
15
+ - ''
16
+ Authorization:
17
+ - |
18
+ Basic MTVhZDI2NmM1MzhmYjM2YzRkOTBmMDEwNTVhZWY0OTQ6bW9vc2U=
19
+ response:
20
+ status:
21
+ code: 200
22
+ message: OK
23
+ headers:
24
+ Server:
25
+ - nginx/1.1.19
26
+ Date:
27
+ - Tue, 28 Apr 2015 03:20:05 GMT
28
+ Content-Type:
29
+ - application/json; charset=utf-8
30
+ Transfer-Encoding:
31
+ - chunked
32
+ Connection:
33
+ - keep-alive
34
+ X-Powered-By:
35
+ - PHP/5.4.39-1+deb.sury.org~precise+2
36
+ Expires:
37
+ - Thu, 19 Nov 1981 08:52:00 GMT
38
+ Cache-Control:
39
+ - no-store, no-cache, must-revalidate, post-check=0, pre-check=0
40
+ Pragma:
41
+ - no-cache
42
+ X-Mashape-Billing:
43
+ - Queries=1
44
+ body:
45
+ encoding: UTF-8
46
+ string: '{"number":61422222222,"price":17,"next_charge":null,"auto_renew":true,"status":"inactive","error":{"code":"SUCCESS","description":"OK"}}'
47
+ http_version:
48
+ recorded_at: Tue, 28 Apr 2015 03:20:05 GMT
49
+ recorded_with: VCR 2.9.3