dnsimple-ruby 1.0.0 → 1.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (47) hide show
  1. data/.bundle/config +3 -2
  2. data/Gemfile +1 -0
  3. data/Gemfile.lock +38 -30
  4. data/README +5 -0
  5. data/README.rdoc +5 -0
  6. data/README.textile +18 -0
  7. data/VERSION +1 -1
  8. data/bin/dnsimple.rb +2 -0
  9. data/dnsimple-ruby.gemspec +64 -10
  10. data/fixtures/vcr_cassettes/DNSimple_Certificate/_all.yml +44 -0
  11. data/fixtures/vcr_cassettes/DNSimple_Certificate/_purchase.yml +44 -0
  12. data/fixtures/vcr_cassettes/DNSimple_Certificate/_submit.yml +44 -0
  13. data/fixtures/vcr_cassettes/DNSimple_Contact/a_new_contact.yml +16 -18
  14. data/fixtures/vcr_cassettes/DNSimple_Contact/an_existing_contact.yml +15 -17
  15. data/fixtures/vcr_cassettes/DNSimple_Domain/_all.yml +45 -96
  16. data/fixtures/vcr_cassettes/DNSimple_Domain/applying_templates.yml +69 -169
  17. data/fixtures/vcr_cassettes/DNSimple_Domain/creating_a_new_domain.yml +16 -18
  18. data/fixtures/vcr_cassettes/DNSimple_Domain/finding_an_existing_domain/by_id.yml +15 -17
  19. data/fixtures/vcr_cassettes/DNSimple_Domain/finding_an_existing_domain/by_name.yml +15 -17
  20. data/fixtures/vcr_cassettes/DNSimple_Domain/registration/with_a_new_registrant_contact.yml +16 -18
  21. data/fixtures/vcr_cassettes/DNSimple_Domain/registration/with_an_existing_contact.yml +16 -18
  22. data/fixtures/vcr_cassettes/DNSimple_ExtendedAttribute/list_extended_attributes/for_ca.yml +12 -14
  23. data/fixtures/vcr_cassettes/DNSimple_ExtendedAttribute/list_extended_attributes/for_com.yml +12 -14
  24. data/fixtures/vcr_cassettes/DNSimple_Record/_all.yml +59 -247
  25. data/fixtures/vcr_cassettes/DNSimple_Record/creating_a_new_record.yml +16 -63
  26. data/fixtures/vcr_cassettes/DNSimple_Record/find_a_record.yml +13 -60
  27. data/fixtures/vcr_cassettes/DNSimple_Template/a_template.yml +15 -17
  28. data/fixtures/vcr_cassettes/DNSimple_User/_me.yml +15 -17
  29. data/lib/dnsimple/certificate.rb +49 -6
  30. data/lib/dnsimple/command.rb +10 -0
  31. data/lib/dnsimple/commands/add_service.rb +4 -2
  32. data/lib/dnsimple/commands/purchase_certificate.rb +4 -2
  33. data/lib/dnsimple/commands/submit_certificate.rb +19 -0
  34. data/lib/dnsimple/domain.rb +5 -4
  35. data/lib/dnsimple/record.rb +11 -15
  36. data/spec/certificate_spec.rb +31 -3
  37. data/spec/command_spec.rb +19 -0
  38. data/spec/commands/add_service_spec.rb +29 -0
  39. data/spec/commands/purchase_certificate_spec.rb +14 -0
  40. data/spec/commands/submit_certificate_spec.rb +19 -0
  41. data/spec/contact_spec.rb +1 -1
  42. data/spec/domain_spec.rb +21 -19
  43. data/spec/record_spec.rb +10 -9
  44. data/spec/spec_helper.rb +1 -0
  45. data/spec/user_spec.rb +12 -12
  46. metadata +38 -12
  47. data/fixtures/vcr_cassettes/DNSimple_Domain/finding_an_existing_domain.yml +0 -46
@@ -2,8 +2,8 @@
2
2
  - !ruby/struct:VCR::HTTPInteraction
3
3
  request: !ruby/struct:VCR::Request
4
4
  method: :post
5
- uri: https://<USERNAME>:<PASSWORD>@test.dnsimple.com:443/contacts.json
6
- body: contact[first_name]=John&contact[country]=US&contact[last_name]=Doe&contact[email_address]=john.doe%40example.com&contact[address1]=1%20SW%201st%20Street&contact[phone]=305%20111%202222&contact[city]=Miami&contact[state_province]=FL&contact[postal_code]=33143
5
+ uri: http://<USERNAME>:<PASSWORD>@localhost:3000/contacts.json
6
+ body: contact[phone]=305%20111%202222&contact[city]=Miami&contact[first_name]=John&contact[state_province]=FL&contact[last_name]=Doe&contact[postal_code]=33143&contact[country]=US&contact[address1]=1%20SW%201st%20Street&contact[email_address]=john.doe%40example.com
7
7
  headers:
8
8
  authorization:
9
9
  - Basic YW50aG9ueWVkZW5AZ21haWwuY29tOmxldG1laW4=
@@ -13,32 +13,30 @@
13
13
  message: Created
14
14
  headers:
15
15
  x-ua-compatible:
16
- - IE=Edge,chrome=1
16
+ - IE=Edge
17
17
  access-control-allow-headers:
18
- - Authorization
18
+ - Authorization,Accepts,Content-Type
19
19
  x-dnsimple-api-version:
20
20
  - 1.0.0
21
21
  location:
22
- - /contacts/32
22
+ - http://localhost:3000/contacts/4
23
23
  access-control-allow-methods:
24
- - "[\"GET\", \"POST\", \"PUT\", \"DELETE\"]"
25
- access-control-allow-origin:
26
- - "*"
24
+ - OPTIONS
27
25
  content-type:
28
26
  - application/json; charset=utf-8
29
- x-runtime:
30
- - "0.012567"
27
+ access-control-allow-origin:
28
+ - "*"
31
29
  date:
32
- - Sun, 22 May 2011 18:58:40 GMT
30
+ - Fri, 11 Nov 2011 20:33:54 GMT
33
31
  server:
34
- - nginx/1.0.2
32
+ - WEBrick/1.3.1 (Ruby/1.9.2/2011-07-09)
33
+ x-runtime:
34
+ - "0.326136"
35
+ content-length:
36
+ - "406"
35
37
  set-cookie:
36
- - _dnsimple_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRiIlMDUwOGQ1YTRlMWYzZjhiNmQ0ZDQxMDM4YTU3NDg4YTlJIhV1c2VyX2NyZWRlbnRpYWxzBjsARkkiAYA4YzdkZTI4YjQ2MmY0YWI1MzMxMDM1ZDViM2UzZDRkZTVjMjQ0NTU1NTYzYjBhMzkxNWFjODk4MmQ5ZjBhZGM0YjRiODkwNTM1ZGQyYzYwNDIyNDUzNTRhOTU0YjhjZDc3M2IxNzdkNzgwNDhlNGU5ODhkNWNjMzQ2MGUwYTkzZgY7AFRJIhh1c2VyX2NyZWRlbnRpYWxzX2lkBjsARmkH--2534981ffa8a467be0f2ae42e656c6ae28141fb7; path=/; HttpOnly
38
+ - _dnsimple_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRiIlOTBjZWJmZjc2YmJkODEwODhkNzBmNmI3YWM2NWEwNjZJIhV1c2VyX2NyZWRlbnRpYWxzBjsARkkiAYA1YzI0ZTYzOGYwNjFkZWRmN2Y5YTNiYjY3MTdiZjUxMjliZmUwYjdjODg5OGZkZTVhNmEzNGMxZDkwOWUyMmNlNmIzMTc4MzRlZTdmY2RkYjllYjQ3ODdhYjZlMDM1Y2E0ZmEyYmY0MWVkYzJiOWMxZGEwNzYwZDdjMzhmNzY1OAY7AFRJIhh1c2VyX2NyZWRlbnRpYWxzX2lkBjsARmkG--3be5473018837faded15ad4b1e10c8a95c74edb1; path=/; HttpOnly
37
39
  cache-control:
38
40
  - no-cache
39
- status:
40
- - 201 Created
41
- transfer-encoding:
42
- - chunked
43
- body: "{\"contact\":{\"address1\":\"1 SW 1st Street\",\"address2\":null,\"city\":\"Miami\",\"country\":\"US\",\"created_at\":\"2011-05-22T18:58:40Z\",\"email_address\":\"john.doe@example.com\",\"fax\":null,\"first_name\":\"John\",\"id\":32,\"job_title\":null,\"label\":null,\"last_name\":\"Doe\",\"organization_name\":null,\"phone\":\"305 111 2222\",\"phone_ext\":null,\"postal_code\":\"33143\",\"state_province\":\"FL\",\"updated_at\":\"2011-05-22T18:58:40Z\",\"user_id\":2}}"
41
+ body: "{\"contact\":{\"address1\":\"1 SW 1st Street\",\"address2\":null,\"city\":\"Miami\",\"country\":\"US\",\"created_at\":\"2011-11-11T20:33:54Z\",\"email_address\":\"john.doe@example.com\",\"fax\":null,\"first_name\":\"John\",\"id\":4,\"job_title\":null,\"label\":null,\"last_name\":\"Doe\",\"organization_name\":null,\"phone\":\"305 111 2222\",\"phone_ext\":null,\"postal_code\":\"33143\",\"state_province\":\"FL\",\"updated_at\":\"2011-11-11T20:33:54Z\",\"user_id\":1}}"
44
42
  http_version: "1.1"
@@ -2,7 +2,7 @@
2
2
  - !ruby/struct:VCR::HTTPInteraction
3
3
  request: !ruby/struct:VCR::Request
4
4
  method: :get
5
- uri: https://<USERNAME>:<PASSWORD>@test.dnsimple.com:443/contacts/32.json
5
+ uri: http://<USERNAME>:<PASSWORD>@localhost:3000/contacts/1.json
6
6
  body:
7
7
  headers:
8
8
  authorization:
@@ -13,32 +13,30 @@
13
13
  message: OK
14
14
  headers:
15
15
  x-ua-compatible:
16
- - IE=Edge,chrome=1
16
+ - IE=Edge
17
17
  access-control-allow-headers:
18
- - Authorization
18
+ - Authorization,Accepts,Content-Type
19
19
  x-dnsimple-api-version:
20
20
  - 1.0.0
21
21
  etag:
22
- - "\"23aba24d88e7354793e00f6b9ab09c21\""
22
+ - "\"e311cdfc85cf816f955c96e6777b2960\""
23
23
  access-control-allow-methods:
24
- - "[\"GET\", \"POST\", \"PUT\", \"DELETE\"]"
25
- access-control-allow-origin:
26
- - "*"
24
+ - OPTIONS
27
25
  content-type:
28
26
  - application/json; charset=utf-8
29
- x-runtime:
30
- - "0.014863"
27
+ access-control-allow-origin:
28
+ - "*"
31
29
  date:
32
- - Sun, 22 May 2011 19:00:38 GMT
30
+ - Fri, 11 Nov 2011 20:34:48 GMT
33
31
  server:
34
- - nginx/1.0.2
32
+ - WEBrick/1.3.1 (Ruby/1.9.2/2011-07-09)
33
+ x-runtime:
34
+ - "0.435917"
35
+ content-length:
36
+ - "401"
35
37
  set-cookie:
36
- - _dnsimple_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRiIlMzkyYTM3OTk4MGJmZDQ2YmUzY2M2ODE2NDllMGM2NzhJIhV1c2VyX2NyZWRlbnRpYWxzBjsARkkiAYA4YzdkZTI4YjQ2MmY0YWI1MzMxMDM1ZDViM2UzZDRkZTVjMjQ0NTU1NTYzYjBhMzkxNWFjODk4MmQ5ZjBhZGM0YjRiODkwNTM1ZGQyYzYwNDIyNDUzNTRhOTU0YjhjZDc3M2IxNzdkNzgwNDhlNGU5ODhkNWNjMzQ2MGUwYTkzZgY7AFRJIhh1c2VyX2NyZWRlbnRpYWxzX2lkBjsARmkH--e732e70bb1665b1d3f20ac86b9bf863a49be3769; path=/; HttpOnly
38
+ - _dnsimple_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRiIlNjI1ZTcwODA3NzhjMzY2NDBmMzA4YzExOTQzZWZlYjNJIhV1c2VyX2NyZWRlbnRpYWxzBjsARkkiAYA1YzI0ZTYzOGYwNjFkZWRmN2Y5YTNiYjY3MTdiZjUxMjliZmUwYjdjODg5OGZkZTVhNmEzNGMxZDkwOWUyMmNlNmIzMTc4MzRlZTdmY2RkYjllYjQ3ODdhYjZlMDM1Y2E0ZmEyYmY0MWVkYzJiOWMxZGEwNzYwZDdjMzhmNzY1OAY7AFRJIhh1c2VyX2NyZWRlbnRpYWxzX2lkBjsARmkG--62ec9088d88ee5b5446a9e75637b33ef10ec8aed; path=/; HttpOnly
37
39
  cache-control:
38
40
  - max-age=0, private, must-revalidate
39
- status:
40
- - 200 OK
41
- transfer-encoding:
42
- - chunked
43
- body: "{\"contact\":{\"address1\":\"1 SW 1st Street\",\"address2\":null,\"city\":\"Miami\",\"country\":\"US\",\"created_at\":\"2011-05-22T18:58:40Z\",\"email_address\":\"john.doe@example.com\",\"fax\":null,\"first_name\":\"John\",\"id\":32,\"job_title\":null,\"label\":null,\"last_name\":\"Doe\",\"organization_name\":null,\"phone\":\"305 111 2222\",\"phone_ext\":null,\"postal_code\":\"33143\",\"state_province\":\"FL\",\"updated_at\":\"2011-05-22T18:58:40Z\",\"user_id\":2}}"
41
+ body: "{\"contact\":{\"address1\":\"2045 Corey Rd\",\"address2\":\"\",\"city\":\"Malabar\",\"country\":\"US\",\"created_at\":\"2011-10-16T16:46:55Z\",\"email_address\":\"anthonyeden@gmail.com\",\"fax\":\"\",\"first_name\":\"Anthony\",\"id\":1,\"job_title\":\"\",\"label\":\"\",\"last_name\":\"Eden\",\"organization_name\":\"\",\"phone\":\"321 505 0025\",\"phone_ext\":null,\"postal_code\":\"32950\",\"state_province\":\"FL\",\"updated_at\":\"2011-10-16T16:46:55Z\",\"user_id\":1}}"
44
42
  http_version: "1.1"
@@ -2,8 +2,8 @@
2
2
  - !ruby/struct:VCR::HTTPInteraction
3
3
  request: !ruby/struct:VCR::Request
4
4
  method: :post
5
- uri: https://<USERNAME>:<PASSWORD>@test.dnsimple.com:443/domains
6
- body: domain[name]=testdomain0.com
5
+ uri: http://<USERNAME>:<PASSWORD>@localhost:3000/domains
6
+ body: domain[name]=example0.com
7
7
  headers:
8
8
  accept:
9
9
  - application/json
@@ -15,85 +15,38 @@
15
15
  message: Created
16
16
  headers:
17
17
  x-ua-compatible:
18
- - IE=Edge,chrome=1
18
+ - IE=Edge
19
19
  access-control-allow-headers:
20
- - Authorization
20
+ - Authorization,Accepts,Content-Type
21
21
  x-dnsimple-api-version:
22
22
  - 1.0.0
23
23
  location:
24
- - /domains/144
24
+ - http://localhost:3000/domains/example0.com
25
25
  access-control-allow-methods:
26
- - "[\"GET\", \"POST\", \"PUT\", \"DELETE\"]"
27
- access-control-allow-origin:
28
- - "*"
26
+ - OPTIONS
29
27
  content-type:
30
28
  - application/json; charset=utf-8
31
- x-runtime:
32
- - "1.425659"
33
- date:
34
- - Sun, 22 May 2011 18:55:21 GMT
35
- server:
36
- - nginx/1.0.2
37
- set-cookie:
38
- - _dnsimple_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRiIlYjllMjBhM2EyZDEwNDk0OTVlNGZmMzIxNzVkYjU0ZjNJIhV1c2VyX2NyZWRlbnRpYWxzBjsARkkiAYA4YzdkZTI4YjQ2MmY0YWI1MzMxMDM1ZDViM2UzZDRkZTVjMjQ0NTU1NTYzYjBhMzkxNWFjODk4MmQ5ZjBhZGM0YjRiODkwNTM1ZGQyYzYwNDIyNDUzNTRhOTU0YjhjZDc3M2IxNzdkNzgwNDhlNGU5ODhkNWNjMzQ2MGUwYTkzZgY7AFRJIhh1c2VyX2NyZWRlbnRpYWxzX2lkBjsARmkH--32600317c2c4e230df777b8dfd7529b26cf2af2a; path=/; HttpOnly
39
- cache-control:
40
- - no-cache
41
- status:
42
- - 201 Created
43
- transfer-encoding:
44
- - chunked
45
- body: "{\"domain\":{\"created_at\":\"2011-05-22T18:55:19Z\",\"expires_at\":null,\"id\":144,\"lockable\":true,\"name\":\"testdomain0.com\",\"name_server_status\":\"unknown\",\"real_time\":true,\"registrant_id\":null,\"registration_status\":\"hosted\",\"updated_at\":\"2011-05-22T18:55:19Z\",\"user_id\":2,\"uses_external_name_servers\":null,\"record_count\":0}}"
46
- http_version: "1.1"
47
- - !ruby/struct:VCR::HTTPInteraction
48
- request: !ruby/struct:VCR::Request
49
- method: :post
50
- uri: https://<USERNAME>:<PASSWORD>@test.dnsimple.com:443/domains
51
- body: domain[name]=testdomain1.com
52
- headers:
53
- accept:
54
- - application/json
55
- authorization:
56
- - Basic YW50aG9ueWVkZW5AZ21haWwuY29tOmxldG1laW4=
57
- response: !ruby/struct:VCR::Response
58
- status: !ruby/struct:VCR::ResponseStatus
59
- code: 201
60
- message: Created
61
- headers:
62
- x-ua-compatible:
63
- - IE=Edge,chrome=1
64
- access-control-allow-headers:
65
- - Authorization
66
- x-dnsimple-api-version:
67
- - 1.0.0
68
- location:
69
- - /domains/145
70
- access-control-allow-methods:
71
- - "[\"GET\", \"POST\", \"PUT\", \"DELETE\"]"
72
29
  access-control-allow-origin:
73
30
  - "*"
74
- content-type:
75
- - application/json; charset=utf-8
76
- x-runtime:
77
- - "1.268965"
78
31
  date:
79
- - Sun, 22 May 2011 18:55:22 GMT
32
+ - Fri, 11 Nov 2011 20:13:05 GMT
80
33
  server:
81
- - nginx/1.0.2
34
+ - WEBrick/1.3.1 (Ruby/1.9.2/2011-07-09)
35
+ x-runtime:
36
+ - "5.103398"
37
+ content-length:
38
+ - "413"
82
39
  set-cookie:
83
- - _dnsimple_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRiIlYTVlOTA1ZmMzYmJhN2YwMTMzM2Q3MGFkMzZlY2VkOWVJIhV1c2VyX2NyZWRlbnRpYWxzBjsARkkiAYA4YzdkZTI4YjQ2MmY0YWI1MzMxMDM1ZDViM2UzZDRkZTVjMjQ0NTU1NTYzYjBhMzkxNWFjODk4MmQ5ZjBhZGM0YjRiODkwNTM1ZGQyYzYwNDIyNDUzNTRhOTU0YjhjZDc3M2IxNzdkNzgwNDhlNGU5ODhkNWNjMzQ2MGUwYTkzZgY7AFRJIhh1c2VyX2NyZWRlbnRpYWxzX2lkBjsARmkH--e6a2a32288c1e98e3e70bd6c9c71ab33e47e223b; path=/; HttpOnly
40
+ - _dnsimple_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRiIlMWJiOTg2ZWU2ZTdkYTkzMDFmOTRhODAwOGY2MzIxMjRJIhV1c2VyX2NyZWRlbnRpYWxzBjsARkkiAYA1YzI0ZTYzOGYwNjFkZWRmN2Y5YTNiYjY3MTdiZjUxMjliZmUwYjdjODg5OGZkZTVhNmEzNGMxZDkwOWUyMmNlNmIzMTc4MzRlZTdmY2RkYjllYjQ3ODdhYjZlMDM1Y2E0ZmEyYmY0MWVkYzJiOWMxZGEwNzYwZDdjMzhmNzY1OAY7AFRJIhh1c2VyX2NyZWRlbnRpYWxzX2lkBjsARmkG--f054d6190541c9e7551cf14f746ac29150a64a5a; path=/; HttpOnly
84
41
  cache-control:
85
42
  - no-cache
86
- status:
87
- - 201 Created
88
- transfer-encoding:
89
- - chunked
90
- body: "{\"domain\":{\"created_at\":\"2011-05-22T18:55:21Z\",\"expires_at\":null,\"id\":145,\"lockable\":true,\"name\":\"testdomain1.com\",\"name_server_status\":\"unknown\",\"real_time\":true,\"registrant_id\":null,\"registration_status\":\"hosted\",\"updated_at\":\"2011-05-22T18:55:21Z\",\"user_id\":2,\"uses_external_name_servers\":null,\"record_count\":0}}"
43
+ body: "{\"domain\":{\"auto_renew\":null,\"created_at\":\"2011-11-11T20:13:01Z\",\"expires_at\":null,\"id\":42,\"last_name_server_status_check\":null,\"lockable\":true,\"name\":\"example0.com\",\"name_server_status\":\"unknown\",\"parsed_expiration_date\":null,\"real_time\":true,\"registrant_id\":null,\"registration_status\":\"hosted\",\"state\":\"hosted\",\"updated_at\":\"2011-11-11T20:13:01Z\",\"user_id\":1,\"uses_external_name_servers\":null,\"record_count\":0}}"
91
44
  http_version: "1.1"
92
45
  - !ruby/struct:VCR::HTTPInteraction
93
46
  request: !ruby/struct:VCR::Request
94
47
  method: :post
95
- uri: https://<USERNAME>:<PASSWORD>@test.dnsimple.com:443/domains
96
- body: domain[name]=testdomain2.com
48
+ uri: http://<USERNAME>:<PASSWORD>@localhost:3000/domains
49
+ body: domain[name]=example1.com
97
50
  headers:
98
51
  accept:
99
52
  - application/json
@@ -105,39 +58,37 @@
105
58
  message: Created
106
59
  headers:
107
60
  x-ua-compatible:
108
- - IE=Edge,chrome=1
61
+ - IE=Edge
109
62
  access-control-allow-headers:
110
- - Authorization
63
+ - Authorization,Accepts,Content-Type
111
64
  x-dnsimple-api-version:
112
65
  - 1.0.0
113
66
  location:
114
- - /domains/146
67
+ - http://localhost:3000/domains/example1.com
115
68
  access-control-allow-methods:
116
- - "[\"GET\", \"POST\", \"PUT\", \"DELETE\"]"
117
- access-control-allow-origin:
118
- - "*"
69
+ - OPTIONS
119
70
  content-type:
120
71
  - application/json; charset=utf-8
121
- x-runtime:
122
- - "1.241919"
72
+ access-control-allow-origin:
73
+ - "*"
123
74
  date:
124
- - Sun, 22 May 2011 18:55:25 GMT
75
+ - Fri, 11 Nov 2011 20:13:11 GMT
125
76
  server:
126
- - nginx/1.0.2
77
+ - WEBrick/1.3.1 (Ruby/1.9.2/2011-07-09)
78
+ x-runtime:
79
+ - "6.008554"
80
+ content-length:
81
+ - "413"
127
82
  set-cookie:
128
- - _dnsimple_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRiIlZTM4OTU0ZWUwYzdlNDM0MTM4MWNjMTE4MTViZGQ0YTNJIhV1c2VyX2NyZWRlbnRpYWxzBjsARkkiAYA4YzdkZTI4YjQ2MmY0YWI1MzMxMDM1ZDViM2UzZDRkZTVjMjQ0NTU1NTYzYjBhMzkxNWFjODk4MmQ5ZjBhZGM0YjRiODkwNTM1ZGQyYzYwNDIyNDUzNTRhOTU0YjhjZDc3M2IxNzdkNzgwNDhlNGU5ODhkNWNjMzQ2MGUwYTkzZgY7AFRJIhh1c2VyX2NyZWRlbnRpYWxzX2lkBjsARmkH--ffeab98c6b2b076fbf17bfe7d524e4e98a93aa4c; path=/; HttpOnly
83
+ - _dnsimple_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRiIlOTA1OTE0NTdjNTQ0OTMwYTZkZmNhYzc2YjVmNzRlOWRJIhV1c2VyX2NyZWRlbnRpYWxzBjsARkkiAYA1YzI0ZTYzOGYwNjFkZWRmN2Y5YTNiYjY3MTdiZjUxMjliZmUwYjdjODg5OGZkZTVhNmEzNGMxZDkwOWUyMmNlNmIzMTc4MzRlZTdmY2RkYjllYjQ3ODdhYjZlMDM1Y2E0ZmEyYmY0MWVkYzJiOWMxZGEwNzYwZDdjMzhmNzY1OAY7AFRJIhh1c2VyX2NyZWRlbnRpYWxzX2lkBjsARmkG--a0b803488b056619e9c9a90b7d3d94d63d3bd27b; path=/; HttpOnly
129
84
  cache-control:
130
85
  - no-cache
131
- status:
132
- - 201 Created
133
- transfer-encoding:
134
- - chunked
135
- body: "{\"domain\":{\"created_at\":\"2011-05-22T18:55:24Z\",\"expires_at\":null,\"id\":146,\"lockable\":true,\"name\":\"testdomain2.com\",\"name_server_status\":\"unknown\",\"real_time\":true,\"registrant_id\":null,\"registration_status\":\"hosted\",\"updated_at\":\"2011-05-22T18:55:24Z\",\"user_id\":2,\"uses_external_name_servers\":null,\"record_count\":0}}"
86
+ body: "{\"domain\":{\"auto_renew\":null,\"created_at\":\"2011-11-11T20:13:06Z\",\"expires_at\":null,\"id\":43,\"last_name_server_status_check\":null,\"lockable\":true,\"name\":\"example1.com\",\"name_server_status\":\"unknown\",\"parsed_expiration_date\":null,\"real_time\":true,\"registrant_id\":null,\"registration_status\":\"hosted\",\"state\":\"hosted\",\"updated_at\":\"2011-11-11T20:13:06Z\",\"user_id\":1,\"uses_external_name_servers\":null,\"record_count\":0}}"
136
87
  http_version: "1.1"
137
88
  - !ruby/struct:VCR::HTTPInteraction
138
89
  request: !ruby/struct:VCR::Request
139
90
  method: :get
140
- uri: https://<USERNAME>:<PASSWORD>@test.dnsimple.com:443/domains
91
+ uri: http://<USERNAME>:<PASSWORD>@localhost:3000/domains
141
92
  body:
142
93
  headers:
143
94
  accept:
@@ -150,32 +101,30 @@
150
101
  message: OK
151
102
  headers:
152
103
  x-ua-compatible:
153
- - IE=Edge,chrome=1
104
+ - IE=Edge
154
105
  access-control-allow-headers:
155
- - Authorization
106
+ - Authorization,Accepts,Content-Type
156
107
  x-dnsimple-api-version:
157
108
  - 1.0.0
158
109
  etag:
159
- - "\"05aa52ec15cf5e3ebf83d6eb475be0a3\""
110
+ - "\"e20ab09f44139d8c9a7cb836af8412de\""
160
111
  access-control-allow-methods:
161
- - "[\"GET\", \"POST\", \"PUT\", \"DELETE\"]"
162
- access-control-allow-origin:
163
- - "*"
112
+ - OPTIONS
164
113
  content-type:
165
114
  - application/json; charset=utf-8
166
- x-runtime:
167
- - "0.053866"
115
+ access-control-allow-origin:
116
+ - "*"
168
117
  date:
169
- - Sun, 22 May 2011 18:55:26 GMT
118
+ - Fri, 11 Nov 2011 20:13:12 GMT
170
119
  server:
171
- - nginx/1.0.2
120
+ - WEBrick/1.3.1 (Ruby/1.9.2/2011-07-09)
121
+ x-runtime:
122
+ - "0.710570"
123
+ content-length:
124
+ - "2194"
172
125
  set-cookie:
173
- - _dnsimple_session=BAh7CUkiD3Nlc3Npb25faWQGOgZFRiIlMjMxYjBlYjUwNGU4Mjg1NjllMjFlODc0NmVjZTM1NWNJIg5yZXR1cm5fdG8GOwBGIg0vZG9tYWluc0kiFXVzZXJfY3JlZGVudGlhbHMGOwBGSSIBgDhjN2RlMjhiNDYyZjRhYjUzMzEwMzVkNWIzZTNkNGRlNWMyNDQ1NTU1NjNiMGEzOTE1YWM4OTgyZDlmMGFkYzRiNGI4OTA1MzVkZDJjNjA0MjI0NTM1NGE5NTRiOGNkNzczYjE3N2Q3ODA0OGU0ZTk4OGQ1Y2MzNDYwZTBhOTNmBjsAVEkiGHVzZXJfY3JlZGVudGlhbHNfaWQGOwBGaQc%3D--2c7ccd54b66c7d705773ede0502b1aff762a663c; path=/; HttpOnly
126
+ - _dnsimple_session=BAh7CUkiD3Nlc3Npb25faWQGOgZFRiIlZTQ3NTM4OWMyZTI2NTYyY2Q3YzIyYzk1ZjRkMDYyYjJJIg5yZXR1cm5fdG8GOwBGSSINL2RvbWFpbnMGOwBGSSIVdXNlcl9jcmVkZW50aWFscwY7AEZJIgGANWMyNGU2MzhmMDYxZGVkZjdmOWEzYmI2NzE3YmY1MTI5YmZlMGI3Yzg4OThmZGU1YTZhMzRjMWQ5MDllMjJjZTZiMzE3ODM0ZWU3ZmNkZGI5ZWI0Nzg3YWI2ZTAzNWNhNGZhMmJmNDFlZGMyYjljMWRhMDc2MGQ3YzM4Zjc2NTgGOwBUSSIYdXNlcl9jcmVkZW50aWFsc19pZAY7AEZpBg%3D%3D--bc44fcfe069cfcad0aa4bdee121f273b6ba6fd25; path=/; HttpOnly
174
127
  cache-control:
175
128
  - max-age=0, private, must-revalidate
176
- status:
177
- - 200 OK
178
- transfer-encoding:
179
- - chunked
180
- body: "[{\"domain\":{\"created_at\":\"2011-05-22T16:26:21Z\",\"expires_at\":\"5/22/2012 12:26:00 PM\",\"id\":81,\"lockable\":true,\"name\":\"cli-test-1306081574.com\",\"name_server_status\":\"inactive\",\"real_time\":true,\"registrant_id\":2,\"registration_status\":\"registered\",\"updated_at\":\"2011-05-22T18:10:32Z\",\"user_id\":2,\"uses_external_name_servers\":null,\"record_count\":0}},{\"domain\":{\"created_at\":\"2011-05-22T16:29:48Z\",\"expires_at\":\"5/22/2012 12:29:00 PM\",\"id\":86,\"lockable\":true,\"name\":\"cli-test-1306081781.com\",\"name_server_status\":\"inactive\",\"real_time\":true,\"registrant_id\":2,\"registration_status\":\"registered\",\"updated_at\":\"2011-05-22T18:10:32Z\",\"user_id\":2,\"uses_external_name_servers\":null,\"record_count\":0}},{\"domain\":{\"created_at\":\"2011-05-22T18:55:19Z\",\"expires_at\":null,\"id\":144,\"lockable\":true,\"name\":\"testdomain0.com\",\"name_server_status\":\"unknown\",\"real_time\":true,\"registrant_id\":null,\"registration_status\":\"hosted\",\"updated_at\":\"2011-05-22T18:55:25Z\",\"user_id\":2,\"uses_external_name_servers\":null,\"record_count\":0}},{\"domain\":{\"created_at\":\"2011-05-22T15:10:53Z\",\"expires_at\":\"5/22/2012 11:10:00 AM\",\"id\":14,\"lockable\":true,\"name\":\"testdomain-1306077040.net\",\"name_server_status\":\"inactive\",\"real_time\":true,\"registrant_id\":1,\"registration_status\":\"registered\",\"updated_at\":\"2011-05-22T16:10:14Z\",\"user_id\":2,\"uses_external_name_servers\":null,\"record_count\":0}},{\"domain\":{\"created_at\":\"2011-05-22T15:31:56Z\",\"expires_at\":\"5/22/2012 11:31:00 AM\",\"id\":25,\"lockable\":true,\"name\":\"testdomain-1306078307.net\",\"name_server_status\":\"inactive\",\"real_time\":true,\"registrant_id\":1,\"registration_status\":\"registered\",\"updated_at\":\"2011-05-22T16:10:15Z\",\"user_id\":2,\"uses_external_name_servers\":null,\"record_count\":0}},{\"domain\":{\"created_at\":\"2011-05-22T15:37:22Z\",\"expires_at\":\"5/22/2012 11:37:00 AM\",\"id\":36,\"lockable\":true,\"name\":\"testdomain-1306078636.net\",\"name_server_status\":\"inactive\",\"real_time\":true,\"registrant_id\":1,\"registration_status\":\"registered\",\"updated_at\":\"2011-05-22T16:10:16Z\",\"user_id\":2,\"uses_external_name_servers\":null,\"record_count\":0}},{\"domain\":{\"created_at\":\"2011-05-22T15:39:21Z\",\"expires_at\":\"5/22/2012 11:39:00 AM\",\"id\":47,\"lockable\":true,\"name\":\"testdomain-1306078754.net\",\"name_server_status\":\"inactive\",\"real_time\":true,\"registrant_id\":1,\"registration_status\":\"registered\",\"updated_at\":\"2011-05-22T16:10:17Z\",\"user_id\":2,\"uses_external_name_servers\":null,\"record_count\":0}},{\"domain\":{\"created_at\":\"2011-05-22T15:41:09Z\",\"expires_at\":\"5/22/2012 11:41:00 AM\",\"id\":55,\"lockable\":true,\"name\":\"testdomain-1306078860.net\",\"name_server_status\":\"inactive\",\"real_time\":true,\"registrant_id\":1,\"registration_status\":\"registered\",\"updated_at\":\"2011-05-22T16:10:17Z\",\"user_id\":2,\"uses_external_name_servers\":null,\"record_count\":0}},{\"domain\":{\"created_at\":\"2011-05-22T15:41:23Z\",\"expires_at\":\"5/22/2012 11:41:00 AM\",\"id\":56,\"lockable\":true,\"name\":\"testdomain-1306078875.net\",\"name_server_status\":\"inactive\",\"real_time\":true,\"registrant_id\":9,\"registration_status\":\"registered\",\"updated_at\":\"2011-05-22T16:10:18Z\",\"user_id\":2,\"uses_external_name_servers\":null,\"record_count\":0}},{\"domain\":{\"created_at\":\"2011-05-22T15:53:24Z\",\"expires_at\":\"5/22/2012 11:53:00 AM\",\"id\":74,\"lockable\":true,\"name\":\"testdomain-1306079596.net\",\"name_server_status\":\"inactive\",\"real_time\":true,\"registrant_id\":1,\"registration_status\":\"registered\",\"updated_at\":\"2011-05-22T16:10:19Z\",\"user_id\":2,\"uses_external_name_servers\":null,\"record_count\":0}},{\"domain\":{\"created_at\":\"2011-05-22T15:53:35Z\",\"expires_at\":\"5/22/2012 11:53:00 AM\",\"id\":75,\"lockable\":true,\"name\":\"testdomain-1306079608.net\",\"name_server_status\":\"inactive\",\"real_time\":true,\"registrant_id\":12,\"registration_status\":\"registered\",\"updated_at\":\"2011-05-22T16:10:20Z\",\"user_id\":2,\"uses_external_name_servers\":null,\"record_count\":0}},{\"domain\":{\"created_at\":\"2011-05-22T16:58:09Z\",\"expires_at\":\"5/22/2012 12:58:00 PM\",\"id\":117,\"lockable\":true,\"name\":\"testdomain-1306083481.net\",\"name_server_status\":\"inactive\",\"real_time\":true,\"registrant_id\":1,\"registration_status\":\"registered\",\"updated_at\":\"2011-05-22T18:10:33Z\",\"user_id\":2,\"uses_external_name_servers\":null,\"record_count\":0}},{\"domain\":{\"created_at\":\"2011-05-22T16:58:21Z\",\"expires_at\":\"5/22/2012 12:58:00 PM\",\"id\":118,\"lockable\":true,\"name\":\"testdomain-1306083494.net\",\"name_server_status\":\"inactive\",\"real_time\":true,\"registrant_id\":21,\"registration_status\":\"registered\",\"updated_at\":\"2011-05-22T18:10:34Z\",\"user_id\":2,\"uses_external_name_servers\":null,\"record_count\":0}},{\"domain\":{\"created_at\":\"2011-05-22T18:51:30Z\",\"expires_at\":\"5/22/2012 2:51:00 PM\",\"id\":142,\"lockable\":true,\"name\":\"testdomain-1306090283.net\",\"name_server_status\":\"unknown\",\"real_time\":true,\"registrant_id\":30,\"registration_status\":\"registered\",\"updated_at\":\"2011-05-22T18:51:37Z\",\"user_id\":2,\"uses_external_name_servers\":null,\"record_count\":0}},{\"domain\":{\"created_at\":\"2011-05-22T18:53:30Z\",\"expires_at\":\"5/22/2012 2:53:00 PM\",\"id\":143,\"lockable\":true,\"name\":\"testdomain-1306090402.net\",\"name_server_status\":\"unknown\",\"real_time\":true,\"registrant_id\":2,\"registration_status\":\"registered\",\"updated_at\":\"2011-05-22T18:53:34Z\",\"user_id\":2,\"uses_external_name_servers\":null,\"record_count\":0}},{\"domain\":{\"created_at\":\"2011-05-22T18:55:21Z\",\"expires_at\":null,\"id\":145,\"lockable\":true,\"name\":\"testdomain1.com\",\"name_server_status\":\"unknown\",\"real_time\":true,\"registrant_id\":null,\"registration_status\":\"hosted\",\"updated_at\":\"2011-05-22T18:55:21Z\",\"user_id\":2,\"uses_external_name_servers\":null,\"record_count\":0}},{\"domain\":{\"created_at\":\"2011-05-22T18:55:24Z\",\"expires_at\":null,\"id\":146,\"lockable\":true,\"name\":\"testdomain2.com\",\"name_server_status\":\"unknown\",\"real_time\":true,\"registrant_id\":null,\"registration_status\":\"hosted\",\"updated_at\":\"2011-05-22T18:55:24Z\",\"user_id\":2,\"uses_external_name_servers\":null,\"record_count\":0}},{\"domain\":{\"created_at\":\"2011-05-22T18:40:47Z\",\"expires_at\":null,\"id\":141,\"lockable\":true,\"name\":\"testdomain.com\",\"name_server_status\":\"unknown\",\"real_time\":true,\"registrant_id\":null,\"registration_status\":\"hosted\",\"updated_at\":\"2011-05-22T18:40:51Z\",\"user_id\":2,\"uses_external_name_servers\":null,\"record_count\":0}}]"
129
+ body: "[{\"domain\":{\"auto_renew\":null,\"created_at\":\"2011-11-11T20:10:46Z\",\"expires_at\":\"11/11/2012 12:10:00 PM\",\"id\":40,\"last_name_server_status_check\":null,\"lockable\":true,\"name\":\"dnsimple-example-1321042237.com\",\"name_server_status\":\"unknown\",\"parsed_expiration_date\":\"2012-11-11T12:10:00Z\",\"real_time\":true,\"registrant_id\":1,\"registration_status\":\"registered\",\"state\":\"registered\",\"updated_at\":\"2011-11-11T20:11:09Z\",\"user_id\":1,\"uses_external_name_servers\":null,\"record_count\":0}},{\"domain\":{\"auto_renew\":null,\"created_at\":\"2011-11-11T20:11:34Z\",\"expires_at\":\"11/11/2012 12:11:00 PM\",\"id\":41,\"last_name_server_status_check\":null,\"lockable\":true,\"name\":\"dnsimple-example-1321042288.com\",\"name_server_status\":\"unknown\",\"parsed_expiration_date\":\"2012-11-11T12:11:00Z\",\"real_time\":true,\"registrant_id\":3,\"registration_status\":\"registered\",\"state\":\"registered\",\"updated_at\":\"2011-11-11T20:12:00Z\",\"user_id\":1,\"uses_external_name_servers\":null,\"record_count\":0}},{\"domain\":{\"auto_renew\":null,\"created_at\":\"2011-11-11T20:05:07Z\",\"expires_at\":null,\"id\":39,\"last_name_server_status_check\":null,\"lockable\":true,\"name\":\"example.com\",\"name_server_status\":\"unknown\",\"parsed_expiration_date\":null,\"real_time\":true,\"registrant_id\":null,\"registration_status\":\"hosted\",\"state\":\"hosted\",\"updated_at\":\"2011-11-11T20:05:07Z\",\"user_id\":1,\"uses_external_name_servers\":null,\"record_count\":0}},{\"domain\":{\"auto_renew\":null,\"created_at\":\"2011-11-11T20:13:01Z\",\"expires_at\":null,\"id\":42,\"last_name_server_status_check\":null,\"lockable\":true,\"name\":\"example0.com\",\"name_server_status\":\"unknown\",\"parsed_expiration_date\":null,\"real_time\":true,\"registrant_id\":null,\"registration_status\":\"hosted\",\"state\":\"hosted\",\"updated_at\":\"2011-11-11T20:13:01Z\",\"user_id\":1,\"uses_external_name_servers\":null,\"record_count\":0}},{\"domain\":{\"auto_renew\":null,\"created_at\":\"2011-11-11T20:13:06Z\",\"expires_at\":null,\"id\":43,\"last_name_server_status_check\":null,\"lockable\":true,\"name\":\"example1.com\",\"name_server_status\":\"unknown\",\"parsed_expiration_date\":null,\"real_time\":true,\"registrant_id\":null,\"registration_status\":\"hosted\",\"state\":\"hosted\",\"updated_at\":\"2011-11-11T20:13:06Z\",\"user_id\":1,\"uses_external_name_servers\":null,\"record_count\":0}}]"
181
130
  http_version: "1.1"
@@ -2,7 +2,7 @@
2
2
  - !ruby/struct:VCR::HTTPInteraction
3
3
  request: !ruby/struct:VCR::Request
4
4
  method: :get
5
- uri: https://<USERNAME>:<PASSWORD>@test.dnsimple.com:443/domains/testdomain.com
5
+ uri: http://<USERNAME>:<PASSWORD>@localhost:3000/domains/example.com
6
6
  body:
7
7
  headers:
8
8
  accept:
@@ -15,84 +15,37 @@
15
15
  message: OK
16
16
  headers:
17
17
  x-ua-compatible:
18
- - IE=Edge,chrome=1
18
+ - IE=Edge
19
19
  access-control-allow-headers:
20
- - Authorization
20
+ - Authorization,Accepts,Content-Type
21
21
  x-dnsimple-api-version:
22
22
  - 1.0.0
23
23
  etag:
24
- - "\"40fbb4db6924a5c6e1d913296632b709\""
24
+ - "\"24f073eea7b01a97c81f7582b82bed62\""
25
25
  access-control-allow-methods:
26
- - "[\"GET\", \"POST\", \"PUT\", \"DELETE\"]"
27
- access-control-allow-origin:
28
- - "*"
26
+ - OPTIONS
29
27
  content-type:
30
28
  - application/json; charset=utf-8
31
- x-runtime:
32
- - "0.018715"
33
- date:
34
- - Sun, 22 May 2011 18:56:26 GMT
35
- server:
36
- - nginx/1.0.2
37
- set-cookie:
38
- - _dnsimple_session=BAh7CUkiD3Nlc3Npb25faWQGOgZFRiIlNjMxZDE4MzUxZGI5NTFiZTIyZWNjY2ZmZjczZDM0MTJJIg5yZXR1cm5fdG8GOwBGIhwvZG9tYWlucy90ZXN0ZG9tYWluLmNvbUkiFXVzZXJfY3JlZGVudGlhbHMGOwBGSSIBgDhjN2RlMjhiNDYyZjRhYjUzMzEwMzVkNWIzZTNkNGRlNWMyNDQ1NTU1NjNiMGEzOTE1YWM4OTgyZDlmMGFkYzRiNGI4OTA1MzVkZDJjNjA0MjI0NTM1NGE5NTRiOGNkNzczYjE3N2Q3ODA0OGU0ZTk4OGQ1Y2MzNDYwZTBhOTNmBjsAVEkiGHVzZXJfY3JlZGVudGlhbHNfaWQGOwBGaQc%3D--058ef335323c938e5e483bbc440f19e5591930f5; path=/; HttpOnly
39
- cache-control:
40
- - max-age=0, private, must-revalidate
41
- status:
42
- - 200 OK
43
- transfer-encoding:
44
- - chunked
45
- body: "{\"domain\":{\"created_at\":\"2011-05-22T18:40:47Z\",\"expires_at\":null,\"id\":141,\"lockable\":true,\"name\":\"testdomain.com\",\"name_server_status\":\"unknown\",\"real_time\":true,\"registrant_id\":null,\"registration_status\":\"hosted\",\"updated_at\":\"2011-05-22T18:40:51Z\",\"user_id\":2,\"uses_external_name_servers\":null,\"record_count\":0}}"
46
- http_version: "1.1"
47
- - !ruby/struct:VCR::HTTPInteraction
48
- request: !ruby/struct:VCR::Request
49
- method: :get
50
- uri: https://<USERNAME>:<PASSWORD>@test.dnsimple.com:443/domains/testdomain.com
51
- body:
52
- headers:
53
- accept:
54
- - application/json
55
- authorization:
56
- - Basic YW50aG9ueWVkZW5AZ21haWwuY29tOmxldG1laW4=
57
- response: !ruby/struct:VCR::Response
58
- status: !ruby/struct:VCR::ResponseStatus
59
- code: 200
60
- message: OK
61
- headers:
62
- x-ua-compatible:
63
- - IE=Edge,chrome=1
64
- access-control-allow-headers:
65
- - Authorization
66
- x-dnsimple-api-version:
67
- - 1.0.0
68
- etag:
69
- - "\"40fbb4db6924a5c6e1d913296632b709\""
70
- access-control-allow-methods:
71
- - "[\"GET\", \"POST\", \"PUT\", \"DELETE\"]"
72
29
  access-control-allow-origin:
73
30
  - "*"
74
- content-type:
75
- - application/json; charset=utf-8
76
- x-runtime:
77
- - "0.016480"
78
31
  date:
79
- - Sun, 22 May 2011 18:56:26 GMT
32
+ - Fri, 11 Nov 2011 20:16:51 GMT
80
33
  server:
81
- - nginx/1.0.2
34
+ - WEBrick/1.3.1 (Ruby/1.9.2/2011-07-09)
35
+ x-runtime:
36
+ - "0.696375"
37
+ content-length:
38
+ - "412"
82
39
  set-cookie:
83
- - _dnsimple_session=BAh7CUkiD3Nlc3Npb25faWQGOgZFRiIlYTc0OTg2ZWE5NjUyZTdhODViNmQ5M2U1MjUwMDRlZWFJIg5yZXR1cm5fdG8GOwBGIhwvZG9tYWlucy90ZXN0ZG9tYWluLmNvbUkiFXVzZXJfY3JlZGVudGlhbHMGOwBGSSIBgDhjN2RlMjhiNDYyZjRhYjUzMzEwMzVkNWIzZTNkNGRlNWMyNDQ1NTU1NjNiMGEzOTE1YWM4OTgyZDlmMGFkYzRiNGI4OTA1MzVkZDJjNjA0MjI0NTM1NGE5NTRiOGNkNzczYjE3N2Q3ODA0OGU0ZTk4OGQ1Y2MzNDYwZTBhOTNmBjsAVEkiGHVzZXJfY3JlZGVudGlhbHNfaWQGOwBGaQc%3D--01be0209d099429c259f71c4fd00a1a766d89bae; path=/; HttpOnly
40
+ - _dnsimple_session=BAh7CUkiD3Nlc3Npb25faWQGOgZFRiIlNDZlNmVkZTc3OGYzMjY4MGUxYjdmZGJmZmEwYmE0NDJJIg5yZXR1cm5fdG8GOwBGSSIZL2RvbWFpbnMvZXhhbXBsZS5jb20GOwBGSSIVdXNlcl9jcmVkZW50aWFscwY7AEZJIgGANWMyNGU2MzhmMDYxZGVkZjdmOWEzYmI2NzE3YmY1MTI5YmZlMGI3Yzg4OThmZGU1YTZhMzRjMWQ5MDllMjJjZTZiMzE3ODM0ZWU3ZmNkZGI5ZWI0Nzg3YWI2ZTAzNWNhNGZhMmJmNDFlZGMyYjljMWRhMDc2MGQ3YzM4Zjc2NTgGOwBUSSIYdXNlcl9jcmVkZW50aWFsc19pZAY7AEZpBg%3D%3D--cd37e0f2a6bad9c2fb8bbc62dd2c75d17a577e7d; path=/; HttpOnly
84
41
  cache-control:
85
42
  - max-age=0, private, must-revalidate
86
- status:
87
- - 200 OK
88
- transfer-encoding:
89
- - chunked
90
- body: "{\"domain\":{\"created_at\":\"2011-05-22T18:40:47Z\",\"expires_at\":null,\"id\":141,\"lockable\":true,\"name\":\"testdomain.com\",\"name_server_status\":\"unknown\",\"real_time\":true,\"registrant_id\":null,\"registration_status\":\"hosted\",\"updated_at\":\"2011-05-22T18:40:51Z\",\"user_id\":2,\"uses_external_name_servers\":null,\"record_count\":0}}"
43
+ body: "{\"domain\":{\"auto_renew\":null,\"created_at\":\"2011-11-11T20:05:07Z\",\"expires_at\":null,\"id\":39,\"last_name_server_status_check\":null,\"lockable\":true,\"name\":\"example.com\",\"name_server_status\":\"unknown\",\"parsed_expiration_date\":null,\"real_time\":true,\"registrant_id\":null,\"registration_status\":\"hosted\",\"state\":\"hosted\",\"updated_at\":\"2011-11-11T20:05:07Z\",\"user_id\":1,\"uses_external_name_servers\":null,\"record_count\":0}}"
91
44
  http_version: "1.1"
92
45
  - !ruby/struct:VCR::HTTPInteraction
93
46
  request: !ruby/struct:VCR::Request
94
47
  method: :get
95
- uri: https://<USERNAME>:<PASSWORD>@test.dnsimple.com:443/domains/141/records
48
+ uri: http://<USERNAME>:<PASSWORD>@localhost:3000/domains/example.com/records
96
49
  body:
97
50
  headers:
98
51
  accept:
@@ -105,39 +58,37 @@
105
58
  message: OK
106
59
  headers:
107
60
  x-ua-compatible:
108
- - IE=Edge,chrome=1
61
+ - IE=Edge
109
62
  access-control-allow-headers:
110
- - Authorization
63
+ - Authorization,Accepts,Content-Type
111
64
  x-dnsimple-api-version:
112
65
  - 1.0.0
113
66
  etag:
114
67
  - "\"d751713988987e9331980363e24189ce\""
115
68
  access-control-allow-methods:
116
- - "[\"GET\", \"POST\", \"PUT\", \"DELETE\"]"
117
- access-control-allow-origin:
118
- - "*"
69
+ - OPTIONS
119
70
  content-type:
120
71
  - application/json; charset=utf-8
121
- x-runtime:
122
- - "0.186265"
72
+ access-control-allow-origin:
73
+ - "*"
123
74
  date:
124
- - Sun, 22 May 2011 18:56:27 GMT
75
+ - Fri, 11 Nov 2011 20:16:52 GMT
125
76
  server:
126
- - nginx/1.0.2
77
+ - WEBrick/1.3.1 (Ruby/1.9.2/2011-07-09)
78
+ x-runtime:
79
+ - "0.655348"
80
+ content-length:
81
+ - "2"
127
82
  set-cookie:
128
- - _dnsimple_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRiIlNjg0OTRjNGQ4ZjM5MjU3NzVhYTBiYzk1NDEzMTZlMTlJIhV1c2VyX2NyZWRlbnRpYWxzBjsARkkiAYA4YzdkZTI4YjQ2MmY0YWI1MzMxMDM1ZDViM2UzZDRkZTVjMjQ0NTU1NTYzYjBhMzkxNWFjODk4MmQ5ZjBhZGM0YjRiODkwNTM1ZGQyYzYwNDIyNDUzNTRhOTU0YjhjZDc3M2IxNzdkNzgwNDhlNGU5ODhkNWNjMzQ2MGUwYTkzZgY7AFRJIhh1c2VyX2NyZWRlbnRpYWxzX2lkBjsARmkH--06d4009c69ae86157a48d769f64e263b9b0d5750; path=/; HttpOnly
83
+ - _dnsimple_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRiIlZmY1ZmJiZWZiY2MwODAzZmNmYTFmZjM1ZDJiYWRiODdJIhV1c2VyX2NyZWRlbnRpYWxzBjsARkkiAYA1YzI0ZTYzOGYwNjFkZWRmN2Y5YTNiYjY3MTdiZjUxMjliZmUwYjdjODg5OGZkZTVhNmEzNGMxZDkwOWUyMmNlNmIzMTc4MzRlZTdmY2RkYjllYjQ3ODdhYjZlMDM1Y2E0ZmEyYmY0MWVkYzJiOWMxZGEwNzYwZDdjMzhmNzY1OAY7AFRJIhh1c2VyX2NyZWRlbnRpYWxzX2lkBjsARmkG--1c9773a3d217749d1eb8e1796ae23027e20784eb; path=/; HttpOnly
129
84
  cache-control:
130
85
  - max-age=0, private, must-revalidate
131
- status:
132
- - 200 OK
133
- transfer-encoding:
134
- - chunked
135
86
  body: "[]"
136
87
  http_version: "1.1"
137
88
  - !ruby/struct:VCR::HTTPInteraction
138
89
  request: !ruby/struct:VCR::Request
139
90
  method: :get
140
- uri: https://<USERNAME>:<PASSWORD>@test.dnsimple.com:443/templates/googleapps
91
+ uri: http://<USERNAME>:<PASSWORD>@localhost:3000/templates/googleapps
141
92
  body:
142
93
  headers:
143
94
  accept:
@@ -150,39 +101,37 @@
150
101
  message: OK
151
102
  headers:
152
103
  x-ua-compatible:
153
- - IE=Edge,chrome=1
104
+ - IE=Edge
154
105
  access-control-allow-headers:
155
- - Authorization
106
+ - Authorization,Accepts,Content-Type
156
107
  x-dnsimple-api-version:
157
108
  - 1.0.0
158
109
  etag:
159
- - "\"1d07d0160ffe08a33b74f9e1d6672408\""
110
+ - "\"3649a89c5333cc5c491e30a29901f286\""
160
111
  access-control-allow-methods:
161
- - "[\"GET\", \"POST\", \"PUT\", \"DELETE\"]"
162
- access-control-allow-origin:
163
- - "*"
112
+ - OPTIONS
164
113
  content-type:
165
114
  - application/json; charset=utf-8
166
- x-runtime:
167
- - "0.016518"
115
+ access-control-allow-origin:
116
+ - "*"
168
117
  date:
169
- - Sun, 22 May 2011 18:56:27 GMT
118
+ - Fri, 11 Nov 2011 20:16:52 GMT
170
119
  server:
171
- - nginx/1.0.2
120
+ - WEBrick/1.3.1 (Ruby/1.9.2/2011-07-09)
121
+ x-runtime:
122
+ - "0.307405"
123
+ content-length:
124
+ - "266"
172
125
  set-cookie:
173
- - _dnsimple_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRiIlM2VjNmQ0NWRjZWQ2YTI4NzZkY2M2YzA1YTYxYjdjNDNJIhV1c2VyX2NyZWRlbnRpYWxzBjsARkkiAYA4YzdkZTI4YjQ2MmY0YWI1MzMxMDM1ZDViM2UzZDRkZTVjMjQ0NTU1NTYzYjBhMzkxNWFjODk4MmQ5ZjBhZGM0YjRiODkwNTM1ZGQyYzYwNDIyNDUzNTRhOTU0YjhjZDc3M2IxNzdkNzgwNDhlNGU5ODhkNWNjMzQ2MGUwYTkzZgY7AFRJIhh1c2VyX2NyZWRlbnRpYWxzX2lkBjsARmkH--01914b8b1babe8b8faa7b243039659ccdbbd55d7; path=/; HttpOnly
126
+ - _dnsimple_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRiIlNjdiYTQ3OTIyNzZmZjVkMGFhOGEwN2I4Y2MxMmEyZWNJIhV1c2VyX2NyZWRlbnRpYWxzBjsARkkiAYA1YzI0ZTYzOGYwNjFkZWRmN2Y5YTNiYjY3MTdiZjUxMjliZmUwYjdjODg5OGZkZTVhNmEzNGMxZDkwOWUyMmNlNmIzMTc4MzRlZTdmY2RkYjllYjQ3ODdhYjZlMDM1Y2E0ZmEyYmY0MWVkYzJiOWMxZGEwNzYwZDdjMzhmNzY1OAY7AFRJIhh1c2VyX2NyZWRlbnRpYWxzX2lkBjsARmkG--662c626a025eeafa23e41f2b6e22e4d31f9eda57; path=/; HttpOnly
174
127
  cache-control:
175
128
  - max-age=0, private, must-revalidate
176
- status:
177
- - 200 OK
178
- transfer-encoding:
179
- - chunked
180
- body: "{\"dns_template\":{\"created_at\":\"2011-05-22T15:24:28Z\",\"description\":\"The Google Mail Servers and Google Apps CNAME records in a single template.\",\"id\":3,\"name\":\"Google Apps\",\"short_name\":\"googleapps\",\"updated_at\":\"2011-05-22T15:24:28Z\",\"user_id\":null}}"
129
+ body: "{\"dns_template\":{\"created_at\":\"2011-09-04T01:08:50Z\",\"description\":\"The Google Mail Servers and Google Apps CNAME records in a single template.\",\"id\":3,\"name\":\"Google Apps\",\"short_name\":\"googleapps\",\"updated_at\":\"2011-09-04T01:08:50Z\",\"user_id\":null,\"visible\":true}}"
181
130
  http_version: "1.1"
182
131
  - !ruby/struct:VCR::HTTPInteraction
183
132
  request: !ruby/struct:VCR::Request
184
133
  method: :post
185
- uri: https://<USERNAME>:<PASSWORD>@test.dnsimple.com:443/domains/141/templates/3/apply
134
+ uri: http://<USERNAME>:<PASSWORD>@localhost:3000/domains/example.com/templates/3/apply
186
135
  body:
187
136
  headers:
188
137
  accept:
@@ -195,84 +144,37 @@
195
144
  message: OK
196
145
  headers:
197
146
  x-ua-compatible:
198
- - IE=Edge,chrome=1
147
+ - IE=Edge
199
148
  access-control-allow-headers:
200
- - Authorization
149
+ - Authorization,Accepts,Content-Type
201
150
  x-dnsimple-api-version:
202
151
  - 1.0.0
203
152
  etag:
204
- - "\"acee9273858eeb93a155532e8a133da6\""
153
+ - "\"0a15ac15403eae5130591327fd7b360f\""
205
154
  access-control-allow-methods:
206
- - "[\"GET\", \"POST\", \"PUT\", \"DELETE\"]"
207
- access-control-allow-origin:
208
- - "*"
155
+ - OPTIONS
209
156
  content-type:
210
157
  - application/json; charset=utf-8
211
- x-runtime:
212
- - "0.294781"
213
- date:
214
- - Sun, 22 May 2011 18:56:28 GMT
215
- server:
216
- - nginx/1.0.2
217
- set-cookie:
218
- - _dnsimple_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRiIlYjJkNDdkZTAzZmQ3NGIxOWNhOTI0ZjU1ZTFmZjQ1MWNJIhV1c2VyX2NyZWRlbnRpYWxzBjsARkkiAYA4YzdkZTI4YjQ2MmY0YWI1MzMxMDM1ZDViM2UzZDRkZTVjMjQ0NTU1NTYzYjBhMzkxNWFjODk4MmQ5ZjBhZGM0YjRiODkwNTM1ZGQyYzYwNDIyNDUzNTRhOTU0YjhjZDc3M2IxNzdkNzgwNDhlNGU5ODhkNWNjMzQ2MGUwYTkzZgY7AFRJIhh1c2VyX2NyZWRlbnRpYWxzX2lkBjsARmkH--a8e7d373da55d4a1378392e943d20b40fac2624a; path=/; HttpOnly
219
- cache-control:
220
- - max-age=0, private, must-revalidate
221
- status:
222
- - 200 OK
223
- transfer-encoding:
224
- - chunked
225
- body: "{\"domain\":{\"created_at\":\"2011-05-22T18:40:47Z\",\"expires_at\":null,\"id\":141,\"lockable\":true,\"name\":\"testdomain.com\",\"name_server_status\":\"unknown\",\"real_time\":true,\"registrant_id\":null,\"registration_status\":\"hosted\",\"updated_at\":\"2011-05-22T18:40:51Z\",\"user_id\":2,\"uses_external_name_servers\":null,\"record_count\":13}}"
226
- http_version: "1.1"
227
- - !ruby/struct:VCR::HTTPInteraction
228
- request: !ruby/struct:VCR::Request
229
- method: :get
230
- uri: https://<USERNAME>:<PASSWORD>@test.dnsimple.com:443/domains/testdomain.com
231
- body:
232
- headers:
233
- accept:
234
- - application/json
235
- authorization:
236
- - Basic YW50aG9ueWVkZW5AZ21haWwuY29tOmxldG1laW4=
237
- response: !ruby/struct:VCR::Response
238
- status: !ruby/struct:VCR::ResponseStatus
239
- code: 200
240
- message: OK
241
- headers:
242
- x-ua-compatible:
243
- - IE=Edge,chrome=1
244
- access-control-allow-headers:
245
- - Authorization
246
- x-dnsimple-api-version:
247
- - 1.0.0
248
- etag:
249
- - "\"cd67caf28e944d2ee0767c8d47650d55\""
250
- access-control-allow-methods:
251
- - "[\"GET\", \"POST\", \"PUT\", \"DELETE\"]"
252
158
  access-control-allow-origin:
253
159
  - "*"
254
- content-type:
255
- - application/json; charset=utf-8
256
- x-runtime:
257
- - "0.018480"
258
160
  date:
259
- - Sun, 22 May 2011 18:56:29 GMT
161
+ - Fri, 11 Nov 2011 20:16:53 GMT
260
162
  server:
261
- - nginx/1.0.2
163
+ - WEBrick/1.3.1 (Ruby/1.9.2/2011-07-09)
164
+ x-runtime:
165
+ - "1.071534"
166
+ content-length:
167
+ - "413"
262
168
  set-cookie:
263
- - _dnsimple_session=BAh7CUkiD3Nlc3Npb25faWQGOgZFRiIlZDNhYzJlOTNhMTI2Mzc3MjUzMDkwZDRjYjc4ZGUzZDlJIg5yZXR1cm5fdG8GOwBGIhwvZG9tYWlucy90ZXN0ZG9tYWluLmNvbUkiFXVzZXJfY3JlZGVudGlhbHMGOwBGSSIBgDhjN2RlMjhiNDYyZjRhYjUzMzEwMzVkNWIzZTNkNGRlNWMyNDQ1NTU1NjNiMGEzOTE1YWM4OTgyZDlmMGFkYzRiNGI4OTA1MzVkZDJjNjA0MjI0NTM1NGE5NTRiOGNkNzczYjE3N2Q3ODA0OGU0ZTk4OGQ1Y2MzNDYwZTBhOTNmBjsAVEkiGHVzZXJfY3JlZGVudGlhbHNfaWQGOwBGaQc%3D--59467d76aea4d18f74b19f35133c0fb9a9c3301d; path=/; HttpOnly
169
+ - _dnsimple_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRiIlMzBkMDNjZjMyMGNiNjA3ZDYzZWY2NjY2ODc4YjAxM2FJIhV1c2VyX2NyZWRlbnRpYWxzBjsARkkiAYA1YzI0ZTYzOGYwNjFkZWRmN2Y5YTNiYjY3MTdiZjUxMjliZmUwYjdjODg5OGZkZTVhNmEzNGMxZDkwOWUyMmNlNmIzMTc4MzRlZTdmY2RkYjllYjQ3ODdhYjZlMDM1Y2E0ZmEyYmY0MWVkYzJiOWMxZGEwNzYwZDdjMzhmNzY1OAY7AFRJIhh1c2VyX2NyZWRlbnRpYWxzX2lkBjsARmkG--bbd0c2e269949b143932ed13bdc8037f1e4a7ab8; path=/; HttpOnly
264
170
  cache-control:
265
171
  - max-age=0, private, must-revalidate
266
- status:
267
- - 200 OK
268
- transfer-encoding:
269
- - chunked
270
- body: "{\"domain\":{\"created_at\":\"2011-05-22T18:40:47Z\",\"expires_at\":null,\"id\":141,\"lockable\":true,\"name\":\"testdomain.com\",\"name_server_status\":\"unknown\",\"real_time\":true,\"registrant_id\":null,\"registration_status\":\"hosted\",\"updated_at\":\"2011-05-22T18:56:28Z\",\"user_id\":2,\"uses_external_name_servers\":null,\"record_count\":13}}"
172
+ body: "{\"domain\":{\"auto_renew\":null,\"created_at\":\"2011-11-11T20:05:07Z\",\"expires_at\":null,\"id\":39,\"last_name_server_status_check\":null,\"lockable\":true,\"name\":\"example.com\",\"name_server_status\":\"unknown\",\"parsed_expiration_date\":null,\"real_time\":true,\"registrant_id\":null,\"registration_status\":\"hosted\",\"state\":\"hosted\",\"updated_at\":\"2011-11-11T20:05:07Z\",\"user_id\":1,\"uses_external_name_servers\":null,\"record_count\":13}}"
271
173
  http_version: "1.1"
272
174
  - !ruby/struct:VCR::HTTPInteraction
273
175
  request: !ruby/struct:VCR::Request
274
176
  method: :get
275
- uri: https://<USERNAME>:<PASSWORD>@test.dnsimple.com:443/domains/141/records
177
+ uri: http://<USERNAME>:<PASSWORD>@localhost:3000/domains/example.com/records
276
178
  body:
277
179
  headers:
278
180
  accept:
@@ -285,32 +187,30 @@
285
187
  message: OK
286
188
  headers:
287
189
  x-ua-compatible:
288
- - IE=Edge,chrome=1
190
+ - IE=Edge
289
191
  access-control-allow-headers:
290
- - Authorization
192
+ - Authorization,Accepts,Content-Type
291
193
  x-dnsimple-api-version:
292
194
  - 1.0.0
293
195
  etag:
294
- - "\"e8706af936e3987687114d10e18cb4ca\""
196
+ - "\"0294ef7bc6515407471bbe1dfb3a58ea\""
295
197
  access-control-allow-methods:
296
- - "[\"GET\", \"POST\", \"PUT\", \"DELETE\"]"
297
- access-control-allow-origin:
298
- - "*"
198
+ - OPTIONS
299
199
  content-type:
300
200
  - application/json; charset=utf-8
301
- x-runtime:
302
- - "0.025796"
201
+ access-control-allow-origin:
202
+ - "*"
303
203
  date:
304
- - Sun, 22 May 2011 18:56:29 GMT
204
+ - Fri, 11 Nov 2011 20:16:54 GMT
305
205
  server:
306
- - nginx/1.0.2
206
+ - WEBrick/1.3.1 (Ruby/1.9.2/2011-07-09)
207
+ x-runtime:
208
+ - "0.664379"
209
+ content-length:
210
+ - "3422"
307
211
  set-cookie:
308
- - _dnsimple_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRiIlYjUxYWJjMzMxOTViMDViYjBhMGU4NDE3MWJlNmVmZmRJIhV1c2VyX2NyZWRlbnRpYWxzBjsARkkiAYA4YzdkZTI4YjQ2MmY0YWI1MzMxMDM1ZDViM2UzZDRkZTVjMjQ0NTU1NTYzYjBhMzkxNWFjODk4MmQ5ZjBhZGM0YjRiODkwNTM1ZGQyYzYwNDIyNDUzNTRhOTU0YjhjZDc3M2IxNzdkNzgwNDhlNGU5ODhkNWNjMzQ2MGUwYTkzZgY7AFRJIhh1c2VyX2NyZWRlbnRpYWxzX2lkBjsARmkH--10204cf6e3f6069896f125bb688fc3b3d73a4500; path=/; HttpOnly
212
+ - _dnsimple_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRiIlMjM5MmQ5NjZjOGI4ZDBmMjNjZjc0YWQyMDRiNGFmMTZJIhV1c2VyX2NyZWRlbnRpYWxzBjsARkkiAYA1YzI0ZTYzOGYwNjFkZWRmN2Y5YTNiYjY3MTdiZjUxMjliZmUwYjdjODg5OGZkZTVhNmEzNGMxZDkwOWUyMmNlNmIzMTc4MzRlZTdmY2RkYjllYjQ3ODdhYjZlMDM1Y2E0ZmEyYmY0MWVkYzJiOWMxZGEwNzYwZDdjMzhmNzY1OAY7AFRJIhh1c2VyX2NyZWRlbnRpYWxzX2lkBjsARmkG--680fd40be1baa41b93e49c718980eb4dd293c075; path=/; HttpOnly
309
213
  cache-control:
310
214
  - max-age=0, private, must-revalidate
311
- status:
312
- - 200 OK
313
- transfer-encoding:
314
- - chunked
315
- body: "[{\"record\":{\"content\":\"ghs.google.com\",\"created_at\":\"2011-05-22T18:56:28Z\",\"domain_id\":141,\"domain_service_id\":null,\"id\":184,\"name\":\"calendar\",\"pdns_identifier\":null,\"prio\":null,\"record_type\":\"CNAME\",\"special_type\":null,\"ttl\":3600,\"updated_at\":\"2011-05-22T18:56:28Z\"}},{\"record\":{\"content\":\"ghs.google.com\",\"created_at\":\"2011-05-22T18:56:28Z\",\"domain_id\":141,\"domain_service_id\":null,\"id\":186,\"name\":\"dashboard\",\"pdns_identifier\":null,\"prio\":null,\"record_type\":\"CNAME\",\"special_type\":null,\"ttl\":3600,\"updated_at\":\"2011-05-22T18:56:28Z\"}},{\"record\":{\"content\":\"ghs.google.com\",\"created_at\":\"2011-05-22T18:56:28Z\",\"domain_id\":141,\"domain_service_id\":null,\"id\":183,\"name\":\"docs\",\"pdns_identifier\":null,\"prio\":null,\"record_type\":\"CNAME\",\"special_type\":null,\"ttl\":3600,\"updated_at\":\"2011-05-22T18:56:28Z\"}},{\"record\":{\"content\":\"ghs.google.com\",\"created_at\":\"2011-05-22T18:56:28Z\",\"domain_id\":141,\"domain_service_id\":null,\"id\":182,\"name\":\"mail\",\"pdns_identifier\":null,\"prio\":null,\"record_type\":\"CNAME\",\"special_type\":null,\"ttl\":3600,\"updated_at\":\"2011-05-22T18:56:28Z\"}},{\"record\":{\"content\":\"ghs.google.com\",\"created_at\":\"2011-05-22T18:56:28Z\",\"domain_id\":141,\"domain_service_id\":null,\"id\":185,\"name\":\"pages\",\"pdns_identifier\":null,\"prio\":null,\"record_type\":\"CNAME\",\"special_type\":null,\"ttl\":3600,\"updated_at\":\"2011-05-22T18:56:28Z\"}},{\"record\":{\"content\":\"aspmx.l.google.com\",\"created_at\":\"2011-05-22T18:56:28Z\",\"domain_id\":141,\"domain_service_id\":null,\"id\":174,\"name\":\"\",\"pdns_identifier\":null,\"prio\":10,\"record_type\":\"MX\",\"special_type\":null,\"ttl\":3600,\"updated_at\":\"2011-05-22T18:56:28Z\"}},{\"record\":{\"content\":\"alt1.aspmx.l.google.com\",\"created_at\":\"2011-05-22T18:56:28Z\",\"domain_id\":141,\"domain_service_id\":null,\"id\":175,\"name\":\"\",\"pdns_identifier\":null,\"prio\":20,\"record_type\":\"MX\",\"special_type\":null,\"ttl\":3600,\"updated_at\":\"2011-05-22T18:56:28Z\"}},{\"record\":{\"content\":\"alt2.aspmx.l.google.com\",\"created_at\":\"2011-05-22T18:56:28Z\",\"domain_id\":141,\"domain_service_id\":null,\"id\":176,\"name\":\"\",\"pdns_identifier\":null,\"prio\":20,\"record_type\":\"MX\",\"special_type\":null,\"ttl\":3600,\"updated_at\":\"2011-05-22T18:56:28Z\"}},{\"record\":{\"content\":\"aspmx2.googlemail.com\",\"created_at\":\"2011-05-22T18:56:28Z\",\"domain_id\":141,\"domain_service_id\":null,\"id\":177,\"name\":\"\",\"pdns_identifier\":null,\"prio\":30,\"record_type\":\"MX\",\"special_type\":null,\"ttl\":3600,\"updated_at\":\"2011-05-22T18:56:28Z\"}},{\"record\":{\"content\":\"aspmx3.googlemail.com\",\"created_at\":\"2011-05-22T18:56:28Z\",\"domain_id\":141,\"domain_service_id\":null,\"id\":178,\"name\":\"\",\"pdns_identifier\":null,\"prio\":30,\"record_type\":\"MX\",\"special_type\":null,\"ttl\":3600,\"updated_at\":\"2011-05-22T18:56:28Z\"}},{\"record\":{\"content\":\"aspmx4.googlemail.com\",\"created_at\":\"2011-05-22T18:56:28Z\",\"domain_id\":141,\"domain_service_id\":null,\"id\":179,\"name\":\"\",\"pdns_identifier\":null,\"prio\":30,\"record_type\":\"MX\",\"special_type\":null,\"ttl\":3600,\"updated_at\":\"2011-05-22T18:56:28Z\"}},{\"record\":{\"content\":\"aspmx5.googlemail.com\",\"created_at\":\"2011-05-22T18:56:28Z\",\"domain_id\":141,\"domain_service_id\":null,\"id\":180,\"name\":\"\",\"pdns_identifier\":null,\"prio\":30,\"record_type\":\"MX\",\"special_type\":null,\"ttl\":3600,\"updated_at\":\"2011-05-22T18:56:28Z\"}},{\"record\":{\"content\":\"v=spf1 a include:_spf.google.com ~all\",\"created_at\":\"2011-05-22T18:56:28Z\",\"domain_id\":141,\"domain_service_id\":null,\"id\":181,\"name\":\"\",\"pdns_identifier\":null,\"prio\":null,\"record_type\":\"TXT\",\"special_type\":\"SPF\",\"ttl\":3600,\"updated_at\":\"2011-05-22T18:56:28Z\"}}]"
215
+ body: "[{\"record\":{\"content\":\"ghs.google.com\",\"created_at\":\"2011-11-11T20:16:53Z\",\"domain_id\":39,\"domain_service_id\":null,\"id\":67,\"name\":\"calendar\",\"pdns_identifier\":null,\"prio\":null,\"record_type\":\"CNAME\",\"special_type\":null,\"ttl\":3600,\"updated_at\":\"2011-11-11T20:16:53Z\"}},{\"record\":{\"content\":\"ghs.google.com\",\"created_at\":\"2011-11-11T20:16:53Z\",\"domain_id\":39,\"domain_service_id\":null,\"id\":69,\"name\":\"dashboard\",\"pdns_identifier\":null,\"prio\":null,\"record_type\":\"CNAME\",\"special_type\":null,\"ttl\":3600,\"updated_at\":\"2011-11-11T20:16:53Z\"}},{\"record\":{\"content\":\"ghs.google.com\",\"created_at\":\"2011-11-11T20:16:53Z\",\"domain_id\":39,\"domain_service_id\":null,\"id\":66,\"name\":\"docs\",\"pdns_identifier\":null,\"prio\":null,\"record_type\":\"CNAME\",\"special_type\":null,\"ttl\":3600,\"updated_at\":\"2011-11-11T20:16:53Z\"}},{\"record\":{\"content\":\"ghs.google.com\",\"created_at\":\"2011-11-11T20:16:53Z\",\"domain_id\":39,\"domain_service_id\":null,\"id\":65,\"name\":\"mail\",\"pdns_identifier\":null,\"prio\":null,\"record_type\":\"CNAME\",\"special_type\":null,\"ttl\":3600,\"updated_at\":\"2011-11-11T20:16:53Z\"}},{\"record\":{\"content\":\"ghs.google.com\",\"created_at\":\"2011-11-11T20:16:53Z\",\"domain_id\":39,\"domain_service_id\":null,\"id\":68,\"name\":\"pages\",\"pdns_identifier\":null,\"prio\":null,\"record_type\":\"CNAME\",\"special_type\":null,\"ttl\":3600,\"updated_at\":\"2011-11-11T20:16:53Z\"}},{\"record\":{\"content\":\"aspmx.l.google.com\",\"created_at\":\"2011-11-11T20:16:53Z\",\"domain_id\":39,\"domain_service_id\":null,\"id\":57,\"name\":\"\",\"pdns_identifier\":null,\"prio\":10,\"record_type\":\"MX\",\"special_type\":null,\"ttl\":3600,\"updated_at\":\"2011-11-11T20:16:53Z\"}},{\"record\":{\"content\":\"alt1.aspmx.l.google.com\",\"created_at\":\"2011-11-11T20:16:53Z\",\"domain_id\":39,\"domain_service_id\":null,\"id\":58,\"name\":\"\",\"pdns_identifier\":null,\"prio\":20,\"record_type\":\"MX\",\"special_type\":null,\"ttl\":3600,\"updated_at\":\"2011-11-11T20:16:53Z\"}},{\"record\":{\"content\":\"alt2.aspmx.l.google.com\",\"created_at\":\"2011-11-11T20:16:53Z\",\"domain_id\":39,\"domain_service_id\":null,\"id\":59,\"name\":\"\",\"pdns_identifier\":null,\"prio\":20,\"record_type\":\"MX\",\"special_type\":null,\"ttl\":3600,\"updated_at\":\"2011-11-11T20:16:53Z\"}},{\"record\":{\"content\":\"aspmx2.googlemail.com\",\"created_at\":\"2011-11-11T20:16:53Z\",\"domain_id\":39,\"domain_service_id\":null,\"id\":60,\"name\":\"\",\"pdns_identifier\":null,\"prio\":30,\"record_type\":\"MX\",\"special_type\":null,\"ttl\":3600,\"updated_at\":\"2011-11-11T20:16:53Z\"}},{\"record\":{\"content\":\"aspmx3.googlemail.com\",\"created_at\":\"2011-11-11T20:16:53Z\",\"domain_id\":39,\"domain_service_id\":null,\"id\":61,\"name\":\"\",\"pdns_identifier\":null,\"prio\":30,\"record_type\":\"MX\",\"special_type\":null,\"ttl\":3600,\"updated_at\":\"2011-11-11T20:16:53Z\"}},{\"record\":{\"content\":\"aspmx4.googlemail.com\",\"created_at\":\"2011-11-11T20:16:53Z\",\"domain_id\":39,\"domain_service_id\":null,\"id\":62,\"name\":\"\",\"pdns_identifier\":null,\"prio\":30,\"record_type\":\"MX\",\"special_type\":null,\"ttl\":3600,\"updated_at\":\"2011-11-11T20:16:53Z\"}},{\"record\":{\"content\":\"aspmx5.googlemail.com\",\"created_at\":\"2011-11-11T20:16:53Z\",\"domain_id\":39,\"domain_service_id\":null,\"id\":63,\"name\":\"\",\"pdns_identifier\":null,\"prio\":30,\"record_type\":\"MX\",\"special_type\":null,\"ttl\":3600,\"updated_at\":\"2011-11-11T20:16:53Z\"}},{\"record\":{\"content\":\"v=spf1 a include:_spf.google.com -all\",\"created_at\":\"2011-11-11T20:16:53Z\",\"domain_id\":39,\"domain_service_id\":null,\"id\":64,\"name\":\"\",\"pdns_identifier\":null,\"prio\":null,\"record_type\":\"TXT\",\"special_type\":\"SPF\",\"ttl\":3600,\"updated_at\":\"2011-11-11T20:16:53Z\"}}]"
316
216
  http_version: "1.1"