dnsimple-ruby 1.3.2 → 1.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (111) hide show
  1. checksums.yaml +15 -0
  2. data/.gitignore +9 -2
  3. data/.rspec +1 -0
  4. data/.ruby-gemset +1 -0
  5. data/.ruby-version +1 -0
  6. data/.travis.yml +7 -0
  7. data/CHANGELOG.md +20 -0
  8. data/Gemfile +0 -2
  9. data/LICENSE +2 -2
  10. data/README.md +121 -0
  11. data/Rakefile +30 -14
  12. data/bin/dnsimple.rb +1 -1
  13. data/dnsimple-ruby.gemspec +9 -8
  14. data/features/README +1 -1
  15. data/features/step_definitions/cli_steps.rb +1 -1
  16. data/features/support/env.rb +4 -4
  17. data/fixtures/vcr_cassettes/DNSimple_Certificate/_all.yml +45 -32
  18. data/fixtures/vcr_cassettes/DNSimple_Certificate/_purchase.yml +45 -32
  19. data/fixtures/vcr_cassettes/DNSimple_Certificate/_submit.yml +45 -32
  20. data/fixtures/vcr_cassettes/DNSimple_Contact/a_new_contact.yml +39 -31
  21. data/fixtures/vcr_cassettes/DNSimple_Contact/an_existing_contact.yml +39 -31
  22. data/fixtures/vcr_cassettes/DNSimple_Domain/_all.yml +113 -94
  23. data/fixtures/vcr_cassettes/DNSimple_Domain/applying_templates.yml +186 -156
  24. data/fixtures/vcr_cassettes/DNSimple_Domain/creating_a_new_domain.yml +39 -32
  25. data/fixtures/vcr_cassettes/DNSimple_Domain/finding_an_existing_domain/by_id.yml +39 -32
  26. data/fixtures/vcr_cassettes/DNSimple_Domain/finding_an_existing_domain/by_name.yml +39 -32
  27. data/fixtures/vcr_cassettes/DNSimple_Domain/registration/with_a_new_registrant_contact.yml +40 -32
  28. data/fixtures/vcr_cassettes/DNSimple_Domain/registration/with_an_existing_contact.yml +40 -32
  29. data/fixtures/vcr_cassettes/DNSimple_ExtendedAttribute/list_extended_attributes/for_ca.yml +262 -29
  30. data/fixtures/vcr_cassettes/DNSimple_ExtendedAttribute/list_extended_attributes/for_com.yml +35 -29
  31. data/fixtures/vcr_cassettes/DNSimple_Record/_all.yml +147 -125
  32. data/fixtures/vcr_cassettes/DNSimple_Record/creating_a_new_record.yml +39 -32
  33. data/fixtures/vcr_cassettes/DNSimple_Record/find_a_record.yml +39 -32
  34. data/fixtures/vcr_cassettes/DNSimple_Template/a_template.yml +41 -32
  35. data/fixtures/vcr_cassettes/DNSimple_User/_me.yml +38 -31
  36. data/lib/dnsimple.rb +14 -1
  37. data/lib/dnsimple/base.rb +7 -5
  38. data/lib/dnsimple/certificate.rb +100 -95
  39. data/lib/dnsimple/cli.rb +92 -93
  40. data/lib/dnsimple/client.rb +109 -99
  41. data/lib/dnsimple/commands/{describe_certificate.rb → certificate_describe.rb} +2 -2
  42. data/lib/dnsimple/commands/{list_certificates.rb → certificate_list.rb} +2 -2
  43. data/lib/dnsimple/commands/{purchase_certificate.rb → certificate_purchase.rb} +3 -5
  44. data/lib/dnsimple/commands/{submit_certificate.rb → certificate_submit.rb} +3 -5
  45. data/lib/dnsimple/commands/{create_contact.rb → contact_create.rb} +8 -6
  46. data/lib/dnsimple/commands/{delete_contact.rb → contact_delete.rb} +2 -2
  47. data/lib/dnsimple/commands/{describe_contact.rb → contact_describe.rb} +2 -2
  48. data/lib/dnsimple/commands/{list_contacts.rb → contact_list.rb} +2 -2
  49. data/lib/dnsimple/commands/{update_contact.rb → contact_update.rb} +2 -2
  50. data/lib/dnsimple/commands/{apply_template.rb → domain_apply_template.rb} +2 -2
  51. data/lib/dnsimple/commands/{check_domain.rb → domain_check.rb} +2 -2
  52. data/lib/dnsimple/commands/{clear_domain.rb → domain_clear.rb} +2 -2
  53. data/lib/dnsimple/commands/{create_domain.rb → domain_create.rb} +2 -2
  54. data/lib/dnsimple/commands/{delete_domain.rb → domain_delete.rb} +2 -2
  55. data/lib/dnsimple/commands/{describe_domain.rb → domain_describe.rb} +2 -2
  56. data/lib/dnsimple/commands/{list_domains.rb → domain_list.rb} +2 -2
  57. data/lib/dnsimple/commands/{register_domain.rb → domain_register.rb} +2 -2
  58. data/lib/dnsimple/commands/{transfer_domain.rb → domain_transfer.rb} +2 -2
  59. data/lib/dnsimple/commands/{list_extended_attributes.rb → extended_attribute_list.rb} +2 -2
  60. data/lib/dnsimple/commands/{describe_user.rb → me.rb} +2 -2
  61. data/lib/dnsimple/commands/{create_record.rb → record_create.rb} +5 -7
  62. data/lib/dnsimple/commands/{delete_record.rb → record_delete.rb} +2 -2
  63. data/lib/dnsimple/commands/{describe_record.rb → record_describe.rb} +2 -2
  64. data/lib/dnsimple/commands/{list_records.rb → record_list.rb} +4 -6
  65. data/lib/dnsimple/commands/{update_record.rb → record_update.rb} +2 -2
  66. data/lib/dnsimple/commands/{add_service.rb → service_add.rb} +3 -5
  67. data/lib/dnsimple/commands/{describe_service.rb → service_describe.rb} +2 -2
  68. data/lib/dnsimple/commands/{list_services.rb → service_list.rb} +2 -2
  69. data/lib/dnsimple/commands/{list_applied_services.rb → service_list_applied.rb} +2 -2
  70. data/lib/dnsimple/commands/{list_available_services.rb → service_list_available.rb} +2 -2
  71. data/lib/dnsimple/commands/{remove_service.rb → service_remove.rb} +2 -2
  72. data/lib/dnsimple/commands/{create_template.rb → template_create.rb} +2 -2
  73. data/lib/dnsimple/commands/{delete_template.rb → template_delete.rb} +2 -2
  74. data/lib/dnsimple/commands/{add_template_record.rb → template_record_create.rb} +2 -2
  75. data/lib/dnsimple/commands/{delete_template_record.rb → template_record_delete.rb} +2 -2
  76. data/lib/dnsimple/commands/{list_template_records.rb → template_record_list.rb} +2 -2
  77. data/lib/dnsimple/commands/{list_templates.rb → templates_list.rb} +2 -2
  78. data/lib/dnsimple/contact.rb +115 -110
  79. data/lib/dnsimple/domain.rb +134 -132
  80. data/lib/dnsimple/error.rb +8 -19
  81. data/lib/dnsimple/extended_attribute.rb +39 -33
  82. data/lib/dnsimple/record.rb +71 -67
  83. data/lib/dnsimple/service.rb +31 -24
  84. data/lib/dnsimple/template.rb +52 -46
  85. data/lib/dnsimple/template_record.rb +61 -53
  86. data/lib/dnsimple/transfer_order.rb +24 -18
  87. data/lib/dnsimple/user.rb +22 -18
  88. data/lib/dnsimple/version.rb +1 -1
  89. data/spec/README +1 -1
  90. data/spec/ci/.dnsimple.test +3 -0
  91. data/spec/commands/{purchase_certificate_spec.rb → certificate_purchase_spec.rb} +3 -4
  92. data/spec/commands/{submit_certificate_spec.rb → certificate_submit_spec.rb} +3 -4
  93. data/spec/commands/{create_record_spec.rb → record_create_spec.rb} +4 -4
  94. data/spec/commands/{list_records_spec.rb → records_list_spec.rb} +2 -13
  95. data/spec/commands/{add_service_spec.rb → service_add_spec.rb} +3 -12
  96. data/spec/{certificate_spec.rb → dnsimple/certificate_spec.rb} +0 -0
  97. data/spec/dnsimple/client_spec.rb +45 -18
  98. data/spec/{contact_spec.rb → dnsimple/contact_spec.rb} +3 -1
  99. data/spec/{domain_spec.rb → dnsimple/domain_spec.rb} +2 -0
  100. data/spec/{extended_attributes_spec.rb → dnsimple/extended_attributes_spec.rb} +4 -0
  101. data/spec/{record_spec.rb → dnsimple/record_spec.rb} +2 -0
  102. data/spec/{template_spec.rb → dnsimple/template_spec.rb} +0 -0
  103. data/spec/{user_spec.rb → dnsimple/user_spec.rb} +2 -0
  104. data/spec/spec_helper.rb +24 -10
  105. metadata +96 -99
  106. data/Gemfile.lock +0 -71
  107. data/README +0 -108
  108. data/README.rdoc +0 -108
  109. data/README.textile +0 -138
  110. data/lib/dnsimple/command.rb +0 -10
  111. data/spec/command_spec.rb +0 -19
@@ -1,216 +1,246 @@
1
- ---
2
- - !ruby/struct:VCR::HTTPInteraction
3
- request: !ruby/struct:VCR::Request
4
- method: :get
5
- uri: http://<USERNAME>:<PASSWORD>@localhost:3000/domains/example.com
6
- body:
7
- headers:
8
- accept:
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://<USERNAME>:<PASSWORD>@test.dnsimple.com/domains/example.com
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept:
9
11
  - application/json
10
- authorization:
12
+ Authorization:
11
13
  - Basic YW50aG9ueWVkZW5AZ21haWwuY29tOmxldG1laW4=
12
- response: !ruby/struct:VCR::Response
13
- status: !ruby/struct:VCR::ResponseStatus
14
+ response:
15
+ status:
14
16
  code: 200
15
17
  message: OK
16
- headers:
17
- x-ua-compatible:
18
+ headers:
19
+ X-Ua-Compatible:
18
20
  - IE=Edge
19
- access-control-allow-headers:
21
+ Access-Control-Allow-Headers:
20
22
  - Authorization,Accepts,Content-Type
21
- x-dnsimple-api-version:
23
+ X-Dnsimple-Api-Version:
22
24
  - 1.0.0
23
- etag:
24
- - "\"24f073eea7b01a97c81f7582b82bed62\""
25
- access-control-allow-methods:
25
+ Etag:
26
+ - ! '"24f073eea7b01a97c81f7582b82bed62"'
27
+ Access-Control-Allow-Methods:
26
28
  - OPTIONS
27
- content-type:
29
+ Content-Type:
28
30
  - application/json; charset=utf-8
29
- access-control-allow-origin:
30
- - "*"
31
- date:
31
+ Access-Control-Allow-Origin:
32
+ - ! '*'
33
+ Date:
32
34
  - Fri, 11 Nov 2011 20:16:51 GMT
33
- server:
35
+ Server:
34
36
  - WEBrick/1.3.1 (Ruby/1.9.2/2011-07-09)
35
- x-runtime:
36
- - "0.696375"
37
- content-length:
38
- - "412"
39
- set-cookie:
40
- - _dnsimple_session=BAh7CUkiD3Nlc3Npb25faWQGOgZFRiIlNDZlNmVkZTc3OGYzMjY4MGUxYjdmZGJmZmEwYmE0NDJJIg5yZXR1cm5fdG8GOwBGSSIZL2RvbWFpbnMvZXhhbXBsZS5jb20GOwBGSSIVdXNlcl9jcmVkZW50aWFscwY7AEZJIgGANWMyNGU2MzhmMDYxZGVkZjdmOWEzYmI2NzE3YmY1MTI5YmZlMGI3Yzg4OThmZGU1YTZhMzRjMWQ5MDllMjJjZTZiMzE3ODM0ZWU3ZmNkZGI5ZWI0Nzg3YWI2ZTAzNWNhNGZhMmJmNDFlZGMyYjljMWRhMDc2MGQ3YzM4Zjc2NTgGOwBUSSIYdXNlcl9jcmVkZW50aWFsc19pZAY7AEZpBg%3D%3D--cd37e0f2a6bad9c2fb8bbc62dd2c75d17a577e7d; path=/; HttpOnly
41
- cache-control:
37
+ X-Runtime:
38
+ - '0.696375'
39
+ Content-Length:
40
+ - '412'
41
+ Set-Cookie:
42
+ - _dnsimple_session=BAh7CUkiD3Nlc3Npb25faWQGOgZFRiIlNDZlNmVkZTc3OGYzMjY4MGUxYjdmZGJmZmEwYmE0NDJJIg5yZXR1cm5fdG8GOwBGSSIZL2RvbWFpbnMvZXhhbXBsZS5jb20GOwBGSSIVdXNlcl9jcmVkZW50aWFscwY7AEZJIgGANWMyNGU2MzhmMDYxZGVkZjdmOWEzYmI2NzE3YmY1MTI5YmZlMGI3Yzg4OThmZGU1YTZhMzRjMWQ5MDllMjJjZTZiMzE3ODM0ZWU3ZmNkZGI5ZWI0Nzg3YWI2ZTAzNWNhNGZhMmJmNDFlZGMyYjljMWRhMDc2MGQ3YzM4Zjc2NTgGOwBUSSIYdXNlcl9jcmVkZW50aWFsc19pZAY7AEZpBg%3D%3D--cd37e0f2a6bad9c2fb8bbc62dd2c75d17a577e7d;
43
+ path=/; HttpOnly
44
+ Cache-Control:
42
45
  - max-age=0, private, must-revalidate
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}}"
44
- http_version: "1.1"
45
- - !ruby/struct:VCR::HTTPInteraction
46
- request: !ruby/struct:VCR::Request
47
- method: :get
48
- uri: http://<USERNAME>:<PASSWORD>@localhost:3000/domains/example.com/records
49
- body:
50
- headers:
51
- accept:
46
+ body:
47
+ encoding: UTF-8
48
+ string: ! '{"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}}'
49
+ http_version: '1.1'
50
+ recorded_at: Thu, 06 Sep 2012 18:52:19 GMT
51
+ - request:
52
+ method: get
53
+ uri: https://<USERNAME>:<PASSWORD>@test.dnsimple.com/domains/example.com/records
54
+ body:
55
+ encoding: US-ASCII
56
+ string: ''
57
+ headers:
58
+ Accept:
52
59
  - application/json
53
- authorization:
60
+ Authorization:
54
61
  - Basic YW50aG9ueWVkZW5AZ21haWwuY29tOmxldG1laW4=
55
- response: !ruby/struct:VCR::Response
56
- status: !ruby/struct:VCR::ResponseStatus
62
+ response:
63
+ status:
57
64
  code: 200
58
65
  message: OK
59
- headers:
60
- x-ua-compatible:
66
+ headers:
67
+ X-Ua-Compatible:
61
68
  - IE=Edge
62
- access-control-allow-headers:
69
+ Access-Control-Allow-Headers:
63
70
  - Authorization,Accepts,Content-Type
64
- x-dnsimple-api-version:
71
+ X-Dnsimple-Api-Version:
65
72
  - 1.0.0
66
- etag:
67
- - "\"d751713988987e9331980363e24189ce\""
68
- access-control-allow-methods:
73
+ Etag:
74
+ - ! '"d751713988987e9331980363e24189ce"'
75
+ Access-Control-Allow-Methods:
69
76
  - OPTIONS
70
- content-type:
77
+ Content-Type:
71
78
  - application/json; charset=utf-8
72
- access-control-allow-origin:
73
- - "*"
74
- date:
79
+ Access-Control-Allow-Origin:
80
+ - ! '*'
81
+ Date:
75
82
  - Fri, 11 Nov 2011 20:16:52 GMT
76
- server:
83
+ Server:
77
84
  - WEBrick/1.3.1 (Ruby/1.9.2/2011-07-09)
78
- x-runtime:
79
- - "0.655348"
80
- content-length:
81
- - "2"
82
- set-cookie:
83
- - _dnsimple_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRiIlZmY1ZmJiZWZiY2MwODAzZmNmYTFmZjM1ZDJiYWRiODdJIhV1c2VyX2NyZWRlbnRpYWxzBjsARkkiAYA1YzI0ZTYzOGYwNjFkZWRmN2Y5YTNiYjY3MTdiZjUxMjliZmUwYjdjODg5OGZkZTVhNmEzNGMxZDkwOWUyMmNlNmIzMTc4MzRlZTdmY2RkYjllYjQ3ODdhYjZlMDM1Y2E0ZmEyYmY0MWVkYzJiOWMxZGEwNzYwZDdjMzhmNzY1OAY7AFRJIhh1c2VyX2NyZWRlbnRpYWxzX2lkBjsARmkG--1c9773a3d217749d1eb8e1796ae23027e20784eb; path=/; HttpOnly
84
- cache-control:
85
+ X-Runtime:
86
+ - '0.655348'
87
+ Content-Length:
88
+ - '2'
89
+ Set-Cookie:
90
+ - _dnsimple_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRiIlZmY1ZmJiZWZiY2MwODAzZmNmYTFmZjM1ZDJiYWRiODdJIhV1c2VyX2NyZWRlbnRpYWxzBjsARkkiAYA1YzI0ZTYzOGYwNjFkZWRmN2Y5YTNiYjY3MTdiZjUxMjliZmUwYjdjODg5OGZkZTVhNmEzNGMxZDkwOWUyMmNlNmIzMTc4MzRlZTdmY2RkYjllYjQ3ODdhYjZlMDM1Y2E0ZmEyYmY0MWVkYzJiOWMxZGEwNzYwZDdjMzhmNzY1OAY7AFRJIhh1c2VyX2NyZWRlbnRpYWxzX2lkBjsARmkG--1c9773a3d217749d1eb8e1796ae23027e20784eb;
91
+ path=/; HttpOnly
92
+ Cache-Control:
85
93
  - max-age=0, private, must-revalidate
86
- body: "[]"
87
- http_version: "1.1"
88
- - !ruby/struct:VCR::HTTPInteraction
89
- request: !ruby/struct:VCR::Request
90
- method: :get
91
- uri: http://<USERNAME>:<PASSWORD>@localhost:3000/templates/googleapps
92
- body:
93
- headers:
94
- accept:
94
+ body:
95
+ encoding: UTF-8
96
+ string: ! '[]'
97
+ http_version: '1.1'
98
+ recorded_at: Thu, 06 Sep 2012 18:52:19 GMT
99
+ - request:
100
+ method: get
101
+ uri: https://<USERNAME>:<PASSWORD>@test.dnsimple.com/templates/googleapps
102
+ body:
103
+ encoding: US-ASCII
104
+ string: ''
105
+ headers:
106
+ Accept:
95
107
  - application/json
96
- authorization:
108
+ Authorization:
97
109
  - Basic YW50aG9ueWVkZW5AZ21haWwuY29tOmxldG1laW4=
98
- response: !ruby/struct:VCR::Response
99
- status: !ruby/struct:VCR::ResponseStatus
110
+ response:
111
+ status:
100
112
  code: 200
101
113
  message: OK
102
- headers:
103
- x-ua-compatible:
114
+ headers:
115
+ X-Ua-Compatible:
104
116
  - IE=Edge
105
- access-control-allow-headers:
117
+ Access-Control-Allow-Headers:
106
118
  - Authorization,Accepts,Content-Type
107
- x-dnsimple-api-version:
119
+ X-Dnsimple-Api-Version:
108
120
  - 1.0.0
109
- etag:
110
- - "\"3649a89c5333cc5c491e30a29901f286\""
111
- access-control-allow-methods:
121
+ Etag:
122
+ - ! '"3649a89c5333cc5c491e30a29901f286"'
123
+ Access-Control-Allow-Methods:
112
124
  - OPTIONS
113
- content-type:
125
+ Content-Type:
114
126
  - application/json; charset=utf-8
115
- access-control-allow-origin:
116
- - "*"
117
- date:
127
+ Access-Control-Allow-Origin:
128
+ - ! '*'
129
+ Date:
118
130
  - Fri, 11 Nov 2011 20:16:52 GMT
119
- server:
131
+ Server:
120
132
  - WEBrick/1.3.1 (Ruby/1.9.2/2011-07-09)
121
- x-runtime:
122
- - "0.307405"
123
- content-length:
124
- - "266"
125
- set-cookie:
126
- - _dnsimple_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRiIlNjdiYTQ3OTIyNzZmZjVkMGFhOGEwN2I4Y2MxMmEyZWNJIhV1c2VyX2NyZWRlbnRpYWxzBjsARkkiAYA1YzI0ZTYzOGYwNjFkZWRmN2Y5YTNiYjY3MTdiZjUxMjliZmUwYjdjODg5OGZkZTVhNmEzNGMxZDkwOWUyMmNlNmIzMTc4MzRlZTdmY2RkYjllYjQ3ODdhYjZlMDM1Y2E0ZmEyYmY0MWVkYzJiOWMxZGEwNzYwZDdjMzhmNzY1OAY7AFRJIhh1c2VyX2NyZWRlbnRpYWxzX2lkBjsARmkG--662c626a025eeafa23e41f2b6e22e4d31f9eda57; path=/; HttpOnly
127
- cache-control:
133
+ X-Runtime:
134
+ - '0.307405'
135
+ Content-Length:
136
+ - '266'
137
+ Set-Cookie:
138
+ - _dnsimple_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRiIlNjdiYTQ3OTIyNzZmZjVkMGFhOGEwN2I4Y2MxMmEyZWNJIhV1c2VyX2NyZWRlbnRpYWxzBjsARkkiAYA1YzI0ZTYzOGYwNjFkZWRmN2Y5YTNiYjY3MTdiZjUxMjliZmUwYjdjODg5OGZkZTVhNmEzNGMxZDkwOWUyMmNlNmIzMTc4MzRlZTdmY2RkYjllYjQ3ODdhYjZlMDM1Y2E0ZmEyYmY0MWVkYzJiOWMxZGEwNzYwZDdjMzhmNzY1OAY7AFRJIhh1c2VyX2NyZWRlbnRpYWxzX2lkBjsARmkG--662c626a025eeafa23e41f2b6e22e4d31f9eda57;
139
+ path=/; HttpOnly
140
+ Cache-Control:
128
141
  - max-age=0, private, must-revalidate
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}}"
130
- http_version: "1.1"
131
- - !ruby/struct:VCR::HTTPInteraction
132
- request: !ruby/struct:VCR::Request
133
- method: :post
134
- uri: http://<USERNAME>:<PASSWORD>@localhost:3000/domains/example.com/templates/3/apply
135
- body:
136
- headers:
137
- accept:
142
+ body:
143
+ encoding: UTF-8
144
+ string: ! '{"dns_template":{"created_at":"2011-09-04T01:08:50Z","description":"The
145
+ Google Mail Servers and Google Apps CNAME records in a single template.","id":3,"name":"Google
146
+ Apps","short_name":"googleapps","updated_at":"2011-09-04T01:08:50Z","user_id":null,"visible":true}}'
147
+ http_version: '1.1'
148
+ recorded_at: Thu, 06 Sep 2012 18:52:19 GMT
149
+ - request:
150
+ method: post
151
+ uri: https://<USERNAME>:<PASSWORD>@test.dnsimple.com/domains/example.com/templates/3/apply
152
+ body:
153
+ encoding: US-ASCII
154
+ string: ''
155
+ headers:
156
+ Accept:
138
157
  - application/json
139
- authorization:
158
+ Authorization:
140
159
  - Basic YW50aG9ueWVkZW5AZ21haWwuY29tOmxldG1laW4=
141
- response: !ruby/struct:VCR::Response
142
- status: !ruby/struct:VCR::ResponseStatus
160
+ response:
161
+ status:
143
162
  code: 200
144
163
  message: OK
145
- headers:
146
- x-ua-compatible:
164
+ headers:
165
+ X-Ua-Compatible:
147
166
  - IE=Edge
148
- access-control-allow-headers:
167
+ Access-Control-Allow-Headers:
149
168
  - Authorization,Accepts,Content-Type
150
- x-dnsimple-api-version:
169
+ X-Dnsimple-Api-Version:
151
170
  - 1.0.0
152
- etag:
153
- - "\"0a15ac15403eae5130591327fd7b360f\""
154
- access-control-allow-methods:
171
+ Etag:
172
+ - ! '"0a15ac15403eae5130591327fd7b360f"'
173
+ Access-Control-Allow-Methods:
155
174
  - OPTIONS
156
- content-type:
175
+ Content-Type:
157
176
  - application/json; charset=utf-8
158
- access-control-allow-origin:
159
- - "*"
160
- date:
177
+ Access-Control-Allow-Origin:
178
+ - ! '*'
179
+ Date:
161
180
  - Fri, 11 Nov 2011 20:16:53 GMT
162
- server:
181
+ Server:
163
182
  - WEBrick/1.3.1 (Ruby/1.9.2/2011-07-09)
164
- x-runtime:
165
- - "1.071534"
166
- content-length:
167
- - "413"
168
- set-cookie:
169
- - _dnsimple_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRiIlMzBkMDNjZjMyMGNiNjA3ZDYzZWY2NjY2ODc4YjAxM2FJIhV1c2VyX2NyZWRlbnRpYWxzBjsARkkiAYA1YzI0ZTYzOGYwNjFkZWRmN2Y5YTNiYjY3MTdiZjUxMjliZmUwYjdjODg5OGZkZTVhNmEzNGMxZDkwOWUyMmNlNmIzMTc4MzRlZTdmY2RkYjllYjQ3ODdhYjZlMDM1Y2E0ZmEyYmY0MWVkYzJiOWMxZGEwNzYwZDdjMzhmNzY1OAY7AFRJIhh1c2VyX2NyZWRlbnRpYWxzX2lkBjsARmkG--bbd0c2e269949b143932ed13bdc8037f1e4a7ab8; path=/; HttpOnly
170
- cache-control:
183
+ X-Runtime:
184
+ - '1.071534'
185
+ Content-Length:
186
+ - '413'
187
+ Set-Cookie:
188
+ - _dnsimple_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRiIlMzBkMDNjZjMyMGNiNjA3ZDYzZWY2NjY2ODc4YjAxM2FJIhV1c2VyX2NyZWRlbnRpYWxzBjsARkkiAYA1YzI0ZTYzOGYwNjFkZWRmN2Y5YTNiYjY3MTdiZjUxMjliZmUwYjdjODg5OGZkZTVhNmEzNGMxZDkwOWUyMmNlNmIzMTc4MzRlZTdmY2RkYjllYjQ3ODdhYjZlMDM1Y2E0ZmEyYmY0MWVkYzJiOWMxZGEwNzYwZDdjMzhmNzY1OAY7AFRJIhh1c2VyX2NyZWRlbnRpYWxzX2lkBjsARmkG--bbd0c2e269949b143932ed13bdc8037f1e4a7ab8;
189
+ path=/; HttpOnly
190
+ Cache-Control:
171
191
  - max-age=0, private, must-revalidate
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}}"
173
- http_version: "1.1"
174
- - !ruby/struct:VCR::HTTPInteraction
175
- request: !ruby/struct:VCR::Request
176
- method: :get
177
- uri: http://<USERNAME>:<PASSWORD>@localhost:3000/domains/example.com/records
178
- body:
179
- headers:
180
- accept:
192
+ body:
193
+ encoding: UTF-8
194
+ string: ! '{"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}}'
195
+ http_version: '1.1'
196
+ recorded_at: Thu, 06 Sep 2012 18:52:19 GMT
197
+ - request:
198
+ method: get
199
+ uri: https://<USERNAME>:<PASSWORD>@test.dnsimple.com/domains/example.com/records
200
+ body:
201
+ encoding: US-ASCII
202
+ string: ''
203
+ headers:
204
+ Accept:
181
205
  - application/json
182
- authorization:
206
+ Authorization:
183
207
  - Basic YW50aG9ueWVkZW5AZ21haWwuY29tOmxldG1laW4=
184
- response: !ruby/struct:VCR::Response
185
- status: !ruby/struct:VCR::ResponseStatus
208
+ response:
209
+ status:
186
210
  code: 200
187
211
  message: OK
188
- headers:
189
- x-ua-compatible:
212
+ headers:
213
+ X-Ua-Compatible:
190
214
  - IE=Edge
191
- access-control-allow-headers:
215
+ Access-Control-Allow-Headers:
192
216
  - Authorization,Accepts,Content-Type
193
- x-dnsimple-api-version:
217
+ X-Dnsimple-Api-Version:
194
218
  - 1.0.0
195
- etag:
196
- - "\"0294ef7bc6515407471bbe1dfb3a58ea\""
197
- access-control-allow-methods:
219
+ Etag:
220
+ - ! '"0294ef7bc6515407471bbe1dfb3a58ea"'
221
+ Access-Control-Allow-Methods:
198
222
  - OPTIONS
199
- content-type:
223
+ Content-Type:
200
224
  - application/json; charset=utf-8
201
- access-control-allow-origin:
202
- - "*"
203
- date:
225
+ Access-Control-Allow-Origin:
226
+ - ! '*'
227
+ Date:
204
228
  - Fri, 11 Nov 2011 20:16:54 GMT
205
- server:
229
+ Server:
206
230
  - WEBrick/1.3.1 (Ruby/1.9.2/2011-07-09)
207
- x-runtime:
208
- - "0.664379"
209
- content-length:
210
- - "3422"
211
- set-cookie:
212
- - _dnsimple_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRiIlMjM5MmQ5NjZjOGI4ZDBmMjNjZjc0YWQyMDRiNGFmMTZJIhV1c2VyX2NyZWRlbnRpYWxzBjsARkkiAYA1YzI0ZTYzOGYwNjFkZWRmN2Y5YTNiYjY3MTdiZjUxMjliZmUwYjdjODg5OGZkZTVhNmEzNGMxZDkwOWUyMmNlNmIzMTc4MzRlZTdmY2RkYjllYjQ3ODdhYjZlMDM1Y2E0ZmEyYmY0MWVkYzJiOWMxZGEwNzYwZDdjMzhmNzY1OAY7AFRJIhh1c2VyX2NyZWRlbnRpYWxzX2lkBjsARmkG--680fd40be1baa41b93e49c718980eb4dd293c075; path=/; HttpOnly
213
- cache-control:
231
+ X-Runtime:
232
+ - '0.664379'
233
+ Content-Length:
234
+ - '3422'
235
+ Set-Cookie:
236
+ - _dnsimple_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRiIlMjM5MmQ5NjZjOGI4ZDBmMjNjZjc0YWQyMDRiNGFmMTZJIhV1c2VyX2NyZWRlbnRpYWxzBjsARkkiAYA1YzI0ZTYzOGYwNjFkZWRmN2Y5YTNiYjY3MTdiZjUxMjliZmUwYjdjODg5OGZkZTVhNmEzNGMxZDkwOWUyMmNlNmIzMTc4MzRlZTdmY2RkYjllYjQ3ODdhYjZlMDM1Y2E0ZmEyYmY0MWVkYzJiOWMxZGEwNzYwZDdjMzhmNzY1OAY7AFRJIhh1c2VyX2NyZWRlbnRpYWxzX2lkBjsARmkG--680fd40be1baa41b93e49c718980eb4dd293c075;
237
+ path=/; HttpOnly
238
+ Cache-Control:
214
239
  - max-age=0, private, must-revalidate
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\"}}]"
216
- http_version: "1.1"
240
+ body:
241
+ encoding: UTF-8
242
+ string: ! '[{"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
243
+ 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"}}]'
244
+ http_version: '1.1'
245
+ recorded_at: Thu, 06 Sep 2012 18:52:19 GMT
246
+ recorded_with: VCR 2.2.5
@@ -1,44 +1,51 @@
1
- ---
2
- - !ruby/struct:VCR::HTTPInteraction
3
- request: !ruby/struct:VCR::Request
4
- method: :post
5
- uri: http://<USERNAME>:<PASSWORD>@localhost:3000/domains
6
- body: domain[name]=example.com
7
- headers:
8
- accept:
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://<USERNAME>:<PASSWORD>@test.dnsimple.com/domains
6
+ body:
7
+ encoding: UTF-8
8
+ string: domain[name]=example.com
9
+ headers:
10
+ Accept:
9
11
  - application/json
10
- authorization:
12
+ Authorization:
11
13
  - Basic YW50aG9ueWVkZW5AZ21haWwuY29tOmxldG1laW4=
12
- response: !ruby/struct:VCR::Response
13
- status: !ruby/struct:VCR::ResponseStatus
14
+ response:
15
+ status:
14
16
  code: 201
15
17
  message: Created
16
- headers:
17
- x-ua-compatible:
18
+ headers:
19
+ X-Ua-Compatible:
18
20
  - IE=Edge
19
- access-control-allow-headers:
21
+ Access-Control-Allow-Headers:
20
22
  - Authorization,Accepts,Content-Type
21
- x-dnsimple-api-version:
23
+ X-Dnsimple-Api-Version:
22
24
  - 1.0.0
23
- location:
24
- - http://localhost:3000/domains/example.com
25
- access-control-allow-methods:
25
+ Location:
26
+ - https://test.dnsimple.com/domains/example.com
27
+ Access-Control-Allow-Methods:
26
28
  - OPTIONS
27
- content-type:
29
+ Content-Type:
28
30
  - application/json; charset=utf-8
29
- access-control-allow-origin:
30
- - "*"
31
- date:
31
+ Access-Control-Allow-Origin:
32
+ - ! '*'
33
+ Date:
32
34
  - Fri, 11 Nov 2011 20:05:13 GMT
33
- server:
35
+ Server:
34
36
  - WEBrick/1.3.1 (Ruby/1.9.2/2011-07-09)
35
- x-runtime:
36
- - "6.596858"
37
- content-length:
38
- - "412"
39
- set-cookie:
40
- - _dnsimple_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRiIlODY3M2E1Yzc3ODk2MmVkNjIwZDZhMjkzYjM4OWNhMmZJIhV1c2VyX2NyZWRlbnRpYWxzBjsARkkiAYA1YzI0ZTYzOGYwNjFkZWRmN2Y5YTNiYjY3MTdiZjUxMjliZmUwYjdjODg5OGZkZTVhNmEzNGMxZDkwOWUyMmNlNmIzMTc4MzRlZTdmY2RkYjllYjQ3ODdhYjZlMDM1Y2E0ZmEyYmY0MWVkYzJiOWMxZGEwNzYwZDdjMzhmNzY1OAY7AFRJIhh1c2VyX2NyZWRlbnRpYWxzX2lkBjsARmkG--e7964c7a1589861bc35bdf8ebd826172d98be6d9; path=/; HttpOnly
41
- cache-control:
37
+ X-Runtime:
38
+ - '6.596858'
39
+ Content-Length:
40
+ - '412'
41
+ Set-Cookie:
42
+ - _dnsimple_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRiIlODY3M2E1Yzc3ODk2MmVkNjIwZDZhMjkzYjM4OWNhMmZJIhV1c2VyX2NyZWRlbnRpYWxzBjsARkkiAYA1YzI0ZTYzOGYwNjFkZWRmN2Y5YTNiYjY3MTdiZjUxMjliZmUwYjdjODg5OGZkZTVhNmEzNGMxZDkwOWUyMmNlNmIzMTc4MzRlZTdmY2RkYjllYjQ3ODdhYjZlMDM1Y2E0ZmEyYmY0MWVkYzJiOWMxZGEwNzYwZDdjMzhmNzY1OAY7AFRJIhh1c2VyX2NyZWRlbnRpYWxzX2lkBjsARmkG--e7964c7a1589861bc35bdf8ebd826172d98be6d9;
43
+ path=/; HttpOnly
44
+ Cache-Control:
42
45
  - no-cache
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}}"
44
- http_version: "1.1"
46
+ body:
47
+ encoding: UTF-8
48
+ string: ! '{"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}}'
49
+ http_version: '1.1'
50
+ recorded_at: Thu, 06 Sep 2012 18:52:19 GMT
51
+ recorded_with: VCR 2.2.5