dnsimple-ruby 0.9.8 → 0.9.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (29) hide show
  1. data/Gemfile +3 -1
  2. data/Gemfile.lock +4 -0
  3. data/VERSION +1 -1
  4. data/fixtures/vcr_cassettes/DNSimple_Contact/a_new_contact.yml +44 -0
  5. data/fixtures/vcr_cassettes/DNSimple_Contact/an_existing_contact.yml +44 -0
  6. data/fixtures/vcr_cassettes/DNSimple_Domain/_all.yml +181 -0
  7. data/fixtures/vcr_cassettes/DNSimple_Domain/applying_templates.yml +316 -0
  8. data/fixtures/vcr_cassettes/DNSimple_Domain/creating_a_new_domain.yml +46 -0
  9. data/fixtures/vcr_cassettes/DNSimple_Domain/finding_an_existing_domain.yml +46 -0
  10. data/fixtures/vcr_cassettes/DNSimple_Domain/finding_an_existing_domain/by_id.yml +46 -0
  11. data/fixtures/vcr_cassettes/DNSimple_Domain/finding_an_existing_domain/by_name.yml +46 -0
  12. data/fixtures/vcr_cassettes/DNSimple_Domain/registration/with_a_new_registrant_contact.yml +46 -0
  13. data/fixtures/vcr_cassettes/DNSimple_Domain/registration/with_an_existing_contact.yml +46 -0
  14. data/fixtures/vcr_cassettes/DNSimple_ExtendedAttribute/list_extended_attributes/for_ca.yml +42 -0
  15. data/fixtures/vcr_cassettes/DNSimple_ExtendedAttribute/list_extended_attributes/for_com.yml +42 -0
  16. data/fixtures/vcr_cassettes/DNSimple_Record/_all.yml +361 -0
  17. data/fixtures/vcr_cassettes/DNSimple_Record/creating_a_new_record.yml +91 -0
  18. data/fixtures/vcr_cassettes/DNSimple_Record/find_a_record.yml +91 -0
  19. data/fixtures/vcr_cassettes/DNSimple_Template/a_template.yml +46 -0
  20. data/fixtures/vcr_cassettes/DNSimple_User/_me.yml +44 -0
  21. data/lib/dnsimple/extended_attribute.rb +0 -1
  22. data/spec/contact_spec.rb +12 -9
  23. data/spec/domain_spec.rb +46 -47
  24. data/spec/extended_attributes_spec.rb +2 -0
  25. data/spec/record_spec.rb +14 -20
  26. data/spec/spec_helper.rb +10 -0
  27. data/spec/template_spec.rb +1 -0
  28. data/spec/user_spec.rb +1 -0
  29. metadata +50 -5
data/Gemfile CHANGED
@@ -6,8 +6,10 @@ group :development do
6
6
  gem 'rake'
7
7
  gem 'jeweler'
8
8
  gem 'rspec', '>= 2.0.0'
9
- gem 'ruby-debug'
9
+ gem 'ruby-debug', :platforms => 'ruby_18'
10
10
  gem 'cucumber'
11
11
  gem 'aruba'
12
12
  gem 'ruby-debug'
13
+ gem 'fakeweb'
14
+ gem 'vcr'
13
15
  end
data/Gemfile.lock CHANGED
@@ -17,6 +17,7 @@ GEM
17
17
  json (>= 1.4.6)
18
18
  term-ansicolor (>= 1.0.5)
19
19
  diff-lcs (1.1.2)
20
+ fakeweb (1.3.0)
20
21
  ffi (1.0.7)
21
22
  rake (>= 0.8.7)
22
23
  gherkin (2.3.5)
@@ -45,6 +46,7 @@ GEM
45
46
  ruby-debug-base (0.10.4)
46
47
  linecache (>= 0.3)
47
48
  term-ansicolor (1.0.5)
49
+ vcr (1.10.0)
48
50
 
49
51
  PLATFORMS
50
52
  ruby
@@ -52,8 +54,10 @@ PLATFORMS
52
54
  DEPENDENCIES
53
55
  aruba
54
56
  cucumber
57
+ fakeweb
55
58
  httparty
56
59
  jeweler
57
60
  rake
58
61
  rspec (>= 2.0.0)
59
62
  ruby-debug
63
+ vcr
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.9.8
1
+ 0.9.9
@@ -0,0 +1,44 @@
1
+ ---
2
+ - !ruby/struct:VCR::HTTPInteraction
3
+ request: !ruby/struct:VCR::Request
4
+ method: :post
5
+ uri: https://anthonyeden%40gmail.com:letmein@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
7
+ headers:
8
+ authorization:
9
+ - Basic YW50aG9ueWVkZW5AZ21haWwuY29tOmxldG1laW4=
10
+ response: !ruby/struct:VCR::Response
11
+ status: !ruby/struct:VCR::ResponseStatus
12
+ code: 201
13
+ message: Created
14
+ headers:
15
+ x-ua-compatible:
16
+ - IE=Edge,chrome=1
17
+ access-control-allow-headers:
18
+ - Authorization
19
+ x-dnsimple-api-version:
20
+ - 1.0.0
21
+ location:
22
+ - /contacts/32
23
+ access-control-allow-methods:
24
+ - "[\"GET\", \"POST\", \"PUT\", \"DELETE\"]"
25
+ access-control-allow-origin:
26
+ - "*"
27
+ content-type:
28
+ - application/json; charset=utf-8
29
+ x-runtime:
30
+ - "0.012567"
31
+ date:
32
+ - Sun, 22 May 2011 18:58:40 GMT
33
+ server:
34
+ - nginx/1.0.2
35
+ set-cookie:
36
+ - _dnsimple_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRiIlMDUwOGQ1YTRlMWYzZjhiNmQ0ZDQxMDM4YTU3NDg4YTlJIhV1c2VyX2NyZWRlbnRpYWxzBjsARkkiAYA4YzdkZTI4YjQ2MmY0YWI1MzMxMDM1ZDViM2UzZDRkZTVjMjQ0NTU1NTYzYjBhMzkxNWFjODk4MmQ5ZjBhZGM0YjRiODkwNTM1ZGQyYzYwNDIyNDUzNTRhOTU0YjhjZDc3M2IxNzdkNzgwNDhlNGU5ODhkNWNjMzQ2MGUwYTkzZgY7AFRJIhh1c2VyX2NyZWRlbnRpYWxzX2lkBjsARmkH--2534981ffa8a467be0f2ae42e656c6ae28141fb7; path=/; HttpOnly
37
+ cache-control:
38
+ - 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}}"
44
+ http_version: "1.1"
@@ -0,0 +1,44 @@
1
+ ---
2
+ - !ruby/struct:VCR::HTTPInteraction
3
+ request: !ruby/struct:VCR::Request
4
+ method: :get
5
+ uri: https://anthonyeden%40gmail.com:letmein@test.dnsimple.com:443/contacts/32.json
6
+ body:
7
+ headers:
8
+ authorization:
9
+ - Basic YW50aG9ueWVkZW5AZ21haWwuY29tOmxldG1laW4=
10
+ response: !ruby/struct:VCR::Response
11
+ status: !ruby/struct:VCR::ResponseStatus
12
+ code: 200
13
+ message: OK
14
+ headers:
15
+ x-ua-compatible:
16
+ - IE=Edge,chrome=1
17
+ access-control-allow-headers:
18
+ - Authorization
19
+ x-dnsimple-api-version:
20
+ - 1.0.0
21
+ etag:
22
+ - "\"23aba24d88e7354793e00f6b9ab09c21\""
23
+ access-control-allow-methods:
24
+ - "[\"GET\", \"POST\", \"PUT\", \"DELETE\"]"
25
+ access-control-allow-origin:
26
+ - "*"
27
+ content-type:
28
+ - application/json; charset=utf-8
29
+ x-runtime:
30
+ - "0.014863"
31
+ date:
32
+ - Sun, 22 May 2011 19:00:38 GMT
33
+ server:
34
+ - nginx/1.0.2
35
+ set-cookie:
36
+ - _dnsimple_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRiIlMzkyYTM3OTk4MGJmZDQ2YmUzY2M2ODE2NDllMGM2NzhJIhV1c2VyX2NyZWRlbnRpYWxzBjsARkkiAYA4YzdkZTI4YjQ2MmY0YWI1MzMxMDM1ZDViM2UzZDRkZTVjMjQ0NTU1NTYzYjBhMzkxNWFjODk4MmQ5ZjBhZGM0YjRiODkwNTM1ZGQyYzYwNDIyNDUzNTRhOTU0YjhjZDc3M2IxNzdkNzgwNDhlNGU5ODhkNWNjMzQ2MGUwYTkzZgY7AFRJIhh1c2VyX2NyZWRlbnRpYWxzX2lkBjsARmkH--e732e70bb1665b1d3f20ac86b9bf863a49be3769; path=/; HttpOnly
37
+ cache-control:
38
+ - 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}}"
44
+ http_version: "1.1"
@@ -0,0 +1,181 @@
1
+ ---
2
+ - !ruby/struct:VCR::HTTPInteraction
3
+ request: !ruby/struct:VCR::Request
4
+ method: :post
5
+ uri: https://anthonyeden%40gmail.com:letmein@test.dnsimple.com:443/domains
6
+ body: domain[name]=testdomain0.com
7
+ headers:
8
+ accept:
9
+ - application/json
10
+ authorization:
11
+ - Basic YW50aG9ueWVkZW5AZ21haWwuY29tOmxldG1laW4=
12
+ response: !ruby/struct:VCR::Response
13
+ status: !ruby/struct:VCR::ResponseStatus
14
+ code: 201
15
+ message: Created
16
+ headers:
17
+ x-ua-compatible:
18
+ - IE=Edge,chrome=1
19
+ access-control-allow-headers:
20
+ - Authorization
21
+ x-dnsimple-api-version:
22
+ - 1.0.0
23
+ location:
24
+ - /domains/144
25
+ access-control-allow-methods:
26
+ - "[\"GET\", \"POST\", \"PUT\", \"DELETE\"]"
27
+ access-control-allow-origin:
28
+ - "*"
29
+ content-type:
30
+ - 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://anthonyeden%40gmail.com:letmein@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
+ access-control-allow-origin:
73
+ - "*"
74
+ content-type:
75
+ - application/json; charset=utf-8
76
+ x-runtime:
77
+ - "1.268965"
78
+ date:
79
+ - Sun, 22 May 2011 18:55:22 GMT
80
+ server:
81
+ - nginx/1.0.2
82
+ set-cookie:
83
+ - _dnsimple_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRiIlYTVlOTA1ZmMzYmJhN2YwMTMzM2Q3MGFkMzZlY2VkOWVJIhV1c2VyX2NyZWRlbnRpYWxzBjsARkkiAYA4YzdkZTI4YjQ2MmY0YWI1MzMxMDM1ZDViM2UzZDRkZTVjMjQ0NTU1NTYzYjBhMzkxNWFjODk4MmQ5ZjBhZGM0YjRiODkwNTM1ZGQyYzYwNDIyNDUzNTRhOTU0YjhjZDc3M2IxNzdkNzgwNDhlNGU5ODhkNWNjMzQ2MGUwYTkzZgY7AFRJIhh1c2VyX2NyZWRlbnRpYWxzX2lkBjsARmkH--e6a2a32288c1e98e3e70bd6c9c71ab33e47e223b; path=/; HttpOnly
84
+ cache-control:
85
+ - 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}}"
91
+ http_version: "1.1"
92
+ - !ruby/struct:VCR::HTTPInteraction
93
+ request: !ruby/struct:VCR::Request
94
+ method: :post
95
+ uri: https://anthonyeden%40gmail.com:letmein@test.dnsimple.com:443/domains
96
+ body: domain[name]=testdomain2.com
97
+ headers:
98
+ accept:
99
+ - application/json
100
+ authorization:
101
+ - Basic YW50aG9ueWVkZW5AZ21haWwuY29tOmxldG1laW4=
102
+ response: !ruby/struct:VCR::Response
103
+ status: !ruby/struct:VCR::ResponseStatus
104
+ code: 201
105
+ message: Created
106
+ headers:
107
+ x-ua-compatible:
108
+ - IE=Edge,chrome=1
109
+ access-control-allow-headers:
110
+ - Authorization
111
+ x-dnsimple-api-version:
112
+ - 1.0.0
113
+ location:
114
+ - /domains/146
115
+ access-control-allow-methods:
116
+ - "[\"GET\", \"POST\", \"PUT\", \"DELETE\"]"
117
+ access-control-allow-origin:
118
+ - "*"
119
+ content-type:
120
+ - application/json; charset=utf-8
121
+ x-runtime:
122
+ - "1.241919"
123
+ date:
124
+ - Sun, 22 May 2011 18:55:25 GMT
125
+ server:
126
+ - nginx/1.0.2
127
+ set-cookie:
128
+ - _dnsimple_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRiIlZTM4OTU0ZWUwYzdlNDM0MTM4MWNjMTE4MTViZGQ0YTNJIhV1c2VyX2NyZWRlbnRpYWxzBjsARkkiAYA4YzdkZTI4YjQ2MmY0YWI1MzMxMDM1ZDViM2UzZDRkZTVjMjQ0NTU1NTYzYjBhMzkxNWFjODk4MmQ5ZjBhZGM0YjRiODkwNTM1ZGQyYzYwNDIyNDUzNTRhOTU0YjhjZDc3M2IxNzdkNzgwNDhlNGU5ODhkNWNjMzQ2MGUwYTkzZgY7AFRJIhh1c2VyX2NyZWRlbnRpYWxzX2lkBjsARmkH--ffeab98c6b2b076fbf17bfe7d524e4e98a93aa4c; path=/; HttpOnly
129
+ cache-control:
130
+ - 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}}"
136
+ http_version: "1.1"
137
+ - !ruby/struct:VCR::HTTPInteraction
138
+ request: !ruby/struct:VCR::Request
139
+ method: :get
140
+ uri: https://anthonyeden%40gmail.com:letmein@test.dnsimple.com:443/domains
141
+ body:
142
+ headers:
143
+ accept:
144
+ - application/json
145
+ authorization:
146
+ - Basic YW50aG9ueWVkZW5AZ21haWwuY29tOmxldG1laW4=
147
+ response: !ruby/struct:VCR::Response
148
+ status: !ruby/struct:VCR::ResponseStatus
149
+ code: 200
150
+ message: OK
151
+ headers:
152
+ x-ua-compatible:
153
+ - IE=Edge,chrome=1
154
+ access-control-allow-headers:
155
+ - Authorization
156
+ x-dnsimple-api-version:
157
+ - 1.0.0
158
+ etag:
159
+ - "\"05aa52ec15cf5e3ebf83d6eb475be0a3\""
160
+ access-control-allow-methods:
161
+ - "[\"GET\", \"POST\", \"PUT\", \"DELETE\"]"
162
+ access-control-allow-origin:
163
+ - "*"
164
+ content-type:
165
+ - application/json; charset=utf-8
166
+ x-runtime:
167
+ - "0.053866"
168
+ date:
169
+ - Sun, 22 May 2011 18:55:26 GMT
170
+ server:
171
+ - nginx/1.0.2
172
+ set-cookie:
173
+ - _dnsimple_session=BAh7CUkiD3Nlc3Npb25faWQGOgZFRiIlMjMxYjBlYjUwNGU4Mjg1NjllMjFlODc0NmVjZTM1NWNJIg5yZXR1cm5fdG8GOwBGIg0vZG9tYWluc0kiFXVzZXJfY3JlZGVudGlhbHMGOwBGSSIBgDhjN2RlMjhiNDYyZjRhYjUzMzEwMzVkNWIzZTNkNGRlNWMyNDQ1NTU1NjNiMGEzOTE1YWM4OTgyZDlmMGFkYzRiNGI4OTA1MzVkZDJjNjA0MjI0NTM1NGE5NTRiOGNkNzczYjE3N2Q3ODA0OGU0ZTk4OGQ1Y2MzNDYwZTBhOTNmBjsAVEkiGHVzZXJfY3JlZGVudGlhbHNfaWQGOwBGaQc%3D--2c7ccd54b66c7d705773ede0502b1aff762a663c; path=/; HttpOnly
174
+ cache-control:
175
+ - 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}}]"
181
+ http_version: "1.1"
@@ -0,0 +1,316 @@
1
+ ---
2
+ - !ruby/struct:VCR::HTTPInteraction
3
+ request: !ruby/struct:VCR::Request
4
+ method: :get
5
+ uri: https://anthonyeden%40gmail.com:letmein@test.dnsimple.com:443/domains/testdomain.com
6
+ body:
7
+ headers:
8
+ accept:
9
+ - application/json
10
+ authorization:
11
+ - Basic YW50aG9ueWVkZW5AZ21haWwuY29tOmxldG1laW4=
12
+ response: !ruby/struct:VCR::Response
13
+ status: !ruby/struct:VCR::ResponseStatus
14
+ code: 200
15
+ message: OK
16
+ headers:
17
+ x-ua-compatible:
18
+ - IE=Edge,chrome=1
19
+ access-control-allow-headers:
20
+ - Authorization
21
+ x-dnsimple-api-version:
22
+ - 1.0.0
23
+ etag:
24
+ - "\"40fbb4db6924a5c6e1d913296632b709\""
25
+ access-control-allow-methods:
26
+ - "[\"GET\", \"POST\", \"PUT\", \"DELETE\"]"
27
+ access-control-allow-origin:
28
+ - "*"
29
+ content-type:
30
+ - 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://anthonyeden%40gmail.com:letmein@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
+ access-control-allow-origin:
73
+ - "*"
74
+ content-type:
75
+ - application/json; charset=utf-8
76
+ x-runtime:
77
+ - "0.016480"
78
+ date:
79
+ - Sun, 22 May 2011 18:56:26 GMT
80
+ server:
81
+ - nginx/1.0.2
82
+ set-cookie:
83
+ - _dnsimple_session=BAh7CUkiD3Nlc3Npb25faWQGOgZFRiIlYTc0OTg2ZWE5NjUyZTdhODViNmQ5M2U1MjUwMDRlZWFJIg5yZXR1cm5fdG8GOwBGIhwvZG9tYWlucy90ZXN0ZG9tYWluLmNvbUkiFXVzZXJfY3JlZGVudGlhbHMGOwBGSSIBgDhjN2RlMjhiNDYyZjRhYjUzMzEwMzVkNWIzZTNkNGRlNWMyNDQ1NTU1NjNiMGEzOTE1YWM4OTgyZDlmMGFkYzRiNGI4OTA1MzVkZDJjNjA0MjI0NTM1NGE5NTRiOGNkNzczYjE3N2Q3ODA0OGU0ZTk4OGQ1Y2MzNDYwZTBhOTNmBjsAVEkiGHVzZXJfY3JlZGVudGlhbHNfaWQGOwBGaQc%3D--01be0209d099429c259f71c4fd00a1a766d89bae; path=/; HttpOnly
84
+ cache-control:
85
+ - 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}}"
91
+ http_version: "1.1"
92
+ - !ruby/struct:VCR::HTTPInteraction
93
+ request: !ruby/struct:VCR::Request
94
+ method: :get
95
+ uri: https://anthonyeden%40gmail.com:letmein@test.dnsimple.com:443/domains/141/records
96
+ body:
97
+ headers:
98
+ accept:
99
+ - application/json
100
+ authorization:
101
+ - Basic YW50aG9ueWVkZW5AZ21haWwuY29tOmxldG1laW4=
102
+ response: !ruby/struct:VCR::Response
103
+ status: !ruby/struct:VCR::ResponseStatus
104
+ code: 200
105
+ message: OK
106
+ headers:
107
+ x-ua-compatible:
108
+ - IE=Edge,chrome=1
109
+ access-control-allow-headers:
110
+ - Authorization
111
+ x-dnsimple-api-version:
112
+ - 1.0.0
113
+ etag:
114
+ - "\"d751713988987e9331980363e24189ce\""
115
+ access-control-allow-methods:
116
+ - "[\"GET\", \"POST\", \"PUT\", \"DELETE\"]"
117
+ access-control-allow-origin:
118
+ - "*"
119
+ content-type:
120
+ - application/json; charset=utf-8
121
+ x-runtime:
122
+ - "0.186265"
123
+ date:
124
+ - Sun, 22 May 2011 18:56:27 GMT
125
+ server:
126
+ - nginx/1.0.2
127
+ set-cookie:
128
+ - _dnsimple_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRiIlNjg0OTRjNGQ4ZjM5MjU3NzVhYTBiYzk1NDEzMTZlMTlJIhV1c2VyX2NyZWRlbnRpYWxzBjsARkkiAYA4YzdkZTI4YjQ2MmY0YWI1MzMxMDM1ZDViM2UzZDRkZTVjMjQ0NTU1NTYzYjBhMzkxNWFjODk4MmQ5ZjBhZGM0YjRiODkwNTM1ZGQyYzYwNDIyNDUzNTRhOTU0YjhjZDc3M2IxNzdkNzgwNDhlNGU5ODhkNWNjMzQ2MGUwYTkzZgY7AFRJIhh1c2VyX2NyZWRlbnRpYWxzX2lkBjsARmkH--06d4009c69ae86157a48d769f64e263b9b0d5750; path=/; HttpOnly
129
+ cache-control:
130
+ - max-age=0, private, must-revalidate
131
+ status:
132
+ - 200 OK
133
+ transfer-encoding:
134
+ - chunked
135
+ body: "[]"
136
+ http_version: "1.1"
137
+ - !ruby/struct:VCR::HTTPInteraction
138
+ request: !ruby/struct:VCR::Request
139
+ method: :get
140
+ uri: https://anthonyeden%40gmail.com:letmein@test.dnsimple.com:443/templates/googleapps
141
+ body:
142
+ headers:
143
+ accept:
144
+ - application/json
145
+ authorization:
146
+ - Basic YW50aG9ueWVkZW5AZ21haWwuY29tOmxldG1laW4=
147
+ response: !ruby/struct:VCR::Response
148
+ status: !ruby/struct:VCR::ResponseStatus
149
+ code: 200
150
+ message: OK
151
+ headers:
152
+ x-ua-compatible:
153
+ - IE=Edge,chrome=1
154
+ access-control-allow-headers:
155
+ - Authorization
156
+ x-dnsimple-api-version:
157
+ - 1.0.0
158
+ etag:
159
+ - "\"1d07d0160ffe08a33b74f9e1d6672408\""
160
+ access-control-allow-methods:
161
+ - "[\"GET\", \"POST\", \"PUT\", \"DELETE\"]"
162
+ access-control-allow-origin:
163
+ - "*"
164
+ content-type:
165
+ - application/json; charset=utf-8
166
+ x-runtime:
167
+ - "0.016518"
168
+ date:
169
+ - Sun, 22 May 2011 18:56:27 GMT
170
+ server:
171
+ - nginx/1.0.2
172
+ set-cookie:
173
+ - _dnsimple_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRiIlM2VjNmQ0NWRjZWQ2YTI4NzZkY2M2YzA1YTYxYjdjNDNJIhV1c2VyX2NyZWRlbnRpYWxzBjsARkkiAYA4YzdkZTI4YjQ2MmY0YWI1MzMxMDM1ZDViM2UzZDRkZTVjMjQ0NTU1NTYzYjBhMzkxNWFjODk4MmQ5ZjBhZGM0YjRiODkwNTM1ZGQyYzYwNDIyNDUzNTRhOTU0YjhjZDc3M2IxNzdkNzgwNDhlNGU5ODhkNWNjMzQ2MGUwYTkzZgY7AFRJIhh1c2VyX2NyZWRlbnRpYWxzX2lkBjsARmkH--01914b8b1babe8b8faa7b243039659ccdbbd55d7; path=/; HttpOnly
174
+ cache-control:
175
+ - 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}}"
181
+ http_version: "1.1"
182
+ - !ruby/struct:VCR::HTTPInteraction
183
+ request: !ruby/struct:VCR::Request
184
+ method: :post
185
+ uri: https://anthonyeden%40gmail.com:letmein@test.dnsimple.com:443/domains/141/templates/3/apply
186
+ body:
187
+ headers:
188
+ accept:
189
+ - application/json
190
+ authorization:
191
+ - Basic YW50aG9ueWVkZW5AZ21haWwuY29tOmxldG1laW4=
192
+ response: !ruby/struct:VCR::Response
193
+ status: !ruby/struct:VCR::ResponseStatus
194
+ code: 200
195
+ message: OK
196
+ headers:
197
+ x-ua-compatible:
198
+ - IE=Edge,chrome=1
199
+ access-control-allow-headers:
200
+ - Authorization
201
+ x-dnsimple-api-version:
202
+ - 1.0.0
203
+ etag:
204
+ - "\"acee9273858eeb93a155532e8a133da6\""
205
+ access-control-allow-methods:
206
+ - "[\"GET\", \"POST\", \"PUT\", \"DELETE\"]"
207
+ access-control-allow-origin:
208
+ - "*"
209
+ content-type:
210
+ - 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://anthonyeden%40gmail.com:letmein@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
+ access-control-allow-origin:
253
+ - "*"
254
+ content-type:
255
+ - application/json; charset=utf-8
256
+ x-runtime:
257
+ - "0.018480"
258
+ date:
259
+ - Sun, 22 May 2011 18:56:29 GMT
260
+ server:
261
+ - nginx/1.0.2
262
+ set-cookie:
263
+ - _dnsimple_session=BAh7CUkiD3Nlc3Npb25faWQGOgZFRiIlZDNhYzJlOTNhMTI2Mzc3MjUzMDkwZDRjYjc4ZGUzZDlJIg5yZXR1cm5fdG8GOwBGIhwvZG9tYWlucy90ZXN0ZG9tYWluLmNvbUkiFXVzZXJfY3JlZGVudGlhbHMGOwBGSSIBgDhjN2RlMjhiNDYyZjRhYjUzMzEwMzVkNWIzZTNkNGRlNWMyNDQ1NTU1NjNiMGEzOTE1YWM4OTgyZDlmMGFkYzRiNGI4OTA1MzVkZDJjNjA0MjI0NTM1NGE5NTRiOGNkNzczYjE3N2Q3ODA0OGU0ZTk4OGQ1Y2MzNDYwZTBhOTNmBjsAVEkiGHVzZXJfY3JlZGVudGlhbHNfaWQGOwBGaQc%3D--59467d76aea4d18f74b19f35133c0fb9a9c3301d; path=/; HttpOnly
264
+ cache-control:
265
+ - 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}}"
271
+ http_version: "1.1"
272
+ - !ruby/struct:VCR::HTTPInteraction
273
+ request: !ruby/struct:VCR::Request
274
+ method: :get
275
+ uri: https://anthonyeden%40gmail.com:letmein@test.dnsimple.com:443/domains/141/records
276
+ body:
277
+ headers:
278
+ accept:
279
+ - application/json
280
+ authorization:
281
+ - Basic YW50aG9ueWVkZW5AZ21haWwuY29tOmxldG1laW4=
282
+ response: !ruby/struct:VCR::Response
283
+ status: !ruby/struct:VCR::ResponseStatus
284
+ code: 200
285
+ message: OK
286
+ headers:
287
+ x-ua-compatible:
288
+ - IE=Edge,chrome=1
289
+ access-control-allow-headers:
290
+ - Authorization
291
+ x-dnsimple-api-version:
292
+ - 1.0.0
293
+ etag:
294
+ - "\"e8706af936e3987687114d10e18cb4ca\""
295
+ access-control-allow-methods:
296
+ - "[\"GET\", \"POST\", \"PUT\", \"DELETE\"]"
297
+ access-control-allow-origin:
298
+ - "*"
299
+ content-type:
300
+ - application/json; charset=utf-8
301
+ x-runtime:
302
+ - "0.025796"
303
+ date:
304
+ - Sun, 22 May 2011 18:56:29 GMT
305
+ server:
306
+ - nginx/1.0.2
307
+ set-cookie:
308
+ - _dnsimple_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRiIlYjUxYWJjMzMxOTViMDViYjBhMGU4NDE3MWJlNmVmZmRJIhV1c2VyX2NyZWRlbnRpYWxzBjsARkkiAYA4YzdkZTI4YjQ2MmY0YWI1MzMxMDM1ZDViM2UzZDRkZTVjMjQ0NTU1NTYzYjBhMzkxNWFjODk4MmQ5ZjBhZGM0YjRiODkwNTM1ZGQyYzYwNDIyNDUzNTRhOTU0YjhjZDc3M2IxNzdkNzgwNDhlNGU5ODhkNWNjMzQ2MGUwYTkzZgY7AFRJIhh1c2VyX2NyZWRlbnRpYWxzX2lkBjsARmkH--10204cf6e3f6069896f125bb688fc3b3d73a4500; path=/; HttpOnly
309
+ cache-control:
310
+ - 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\"}}]"
316
+ http_version: "1.1"