--- - !ruby/struct:VCR::HTTPInteraction request: !ruby/struct:VCR::Request method: :post uri: http://:@localhost:3000/domains/example.com/records body: record[ttl]=3600&record[prio]=&record[record_type]=A&record[name]=&record[content]=4.5.6.7 headers: accept: - application/json authorization: - Basic YW50aG9ueWVkZW5AZ21haWwuY29tOmxldG1laW4= response: !ruby/struct:VCR::Response status: !ruby/struct:VCR::ResponseStatus code: 201 message: Created headers: x-ua-compatible: - IE=Edge access-control-allow-headers: - Authorization,Accepts,Content-Type x-dnsimple-api-version: - 1.0.0 location: - http://localhost:3000/domains/example.com/records/71 access-control-allow-methods: - OPTIONS content-type: - application/json; charset=utf-8 access-control-allow-origin: - "*" date: - Fri, 11 Nov 2011 20:25:12 GMT server: - WEBrick/1.3.1 (Ruby/1.9.2/2011-07-09) x-runtime: - "0.755786" content-length: - "246" set-cookie: - _dnsimple_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRiIlZDRiZTNkMzczODIxOWFjMjgwMTNkN2Q3MmMxZDAwZjVJIhV1c2VyX2NyZWRlbnRpYWxzBjsARkkiAYA1YzI0ZTYzOGYwNjFkZWRmN2Y5YTNiYjY3MTdiZjUxMjliZmUwYjdjODg5OGZkZTVhNmEzNGMxZDkwOWUyMmNlNmIzMTc4MzRlZTdmY2RkYjllYjQ3ODdhYjZlMDM1Y2E0ZmEyYmY0MWVkYzJiOWMxZGEwNzYwZDdjMzhmNzY1OAY7AFRJIhh1c2VyX2NyZWRlbnRpYWxzX2lkBjsARmkG--571e0078375cca8c0e962c7103968d6d20174b2d; path=/; HttpOnly cache-control: - no-cache body: "{\"record\":{\"content\":\"4.5.6.7\",\"created_at\":\"2011-11-11T20:25:12Z\",\"domain_id\":39,\"domain_service_id\":null,\"id\":71,\"name\":\"\",\"pdns_identifier\":null,\"prio\":null,\"record_type\":\"A\",\"special_type\":null,\"ttl\":3600,\"updated_at\":\"2011-11-11T20:25:12Z\"}}" http_version: "1.1" - !ruby/struct:VCR::HTTPInteraction request: !ruby/struct:VCR::Request method: :post uri: http://:@localhost:3000/domains/example.com/records body: record[ttl]=3600&record[prio]=&record[record_type]=CNAME&record[name]=www&record[content]=testdomain.com headers: accept: - application/json authorization: - Basic YW50aG9ueWVkZW5AZ21haWwuY29tOmxldG1laW4= response: !ruby/struct:VCR::Response status: !ruby/struct:VCR::ResponseStatus code: 201 message: Created headers: x-ua-compatible: - IE=Edge access-control-allow-headers: - Authorization,Accepts,Content-Type x-dnsimple-api-version: - 1.0.0 location: - http://localhost:3000/domains/example.com/records/72 access-control-allow-methods: - OPTIONS content-type: - application/json; charset=utf-8 access-control-allow-origin: - "*" date: - Fri, 11 Nov 2011 20:25:13 GMT server: - WEBrick/1.3.1 (Ruby/1.9.2/2011-07-09) x-runtime: - "0.816315" content-length: - "260" set-cookie: - _dnsimple_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRiIlODQzNjQzZjU4OTQxYmI5YjVlMWM3YTI1NTE3MWZkYjBJIhV1c2VyX2NyZWRlbnRpYWxzBjsARkkiAYA1YzI0ZTYzOGYwNjFkZWRmN2Y5YTNiYjY3MTdiZjUxMjliZmUwYjdjODg5OGZkZTVhNmEzNGMxZDkwOWUyMmNlNmIzMTc4MzRlZTdmY2RkYjllYjQ3ODdhYjZlMDM1Y2E0ZmEyYmY0MWVkYzJiOWMxZGEwNzYwZDdjMzhmNzY1OAY7AFRJIhh1c2VyX2NyZWRlbnRpYWxzX2lkBjsARmkG--175b4b9da12ec818bbfee205d0a3446ba0623781; path=/; HttpOnly cache-control: - no-cache body: "{\"record\":{\"content\":\"testdomain.com\",\"created_at\":\"2011-11-11T20:25:13Z\",\"domain_id\":39,\"domain_service_id\":null,\"id\":72,\"name\":\"www\",\"pdns_identifier\":null,\"prio\":null,\"record_type\":\"CNAME\",\"special_type\":null,\"ttl\":3600,\"updated_at\":\"2011-11-11T20:25:13Z\"}}" http_version: "1.1" - !ruby/struct:VCR::HTTPInteraction request: !ruby/struct:VCR::Request method: :post uri: http://:@localhost:3000/domains/example.com/records body: record[ttl]=3600&record[prio]=10&record[record_type]=MX&record[name]=&record[content]=mail.foo.com headers: accept: - application/json authorization: - Basic YW50aG9ueWVkZW5AZ21haWwuY29tOmxldG1laW4= response: !ruby/struct:VCR::Response status: !ruby/struct:VCR::ResponseStatus code: 201 message: Created headers: x-ua-compatible: - IE=Edge access-control-allow-headers: - Authorization,Accepts,Content-Type x-dnsimple-api-version: - 1.0.0 location: - http://localhost:3000/domains/example.com/records/73 access-control-allow-methods: - OPTIONS content-type: - application/json; charset=utf-8 access-control-allow-origin: - "*" date: - Fri, 11 Nov 2011 20:25:14 GMT server: - WEBrick/1.3.1 (Ruby/1.9.2/2011-07-09) x-runtime: - "0.804281" content-length: - "250" set-cookie: - _dnsimple_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRiIlMDE3NjJhNzQyOWFmNjgwMjhlYWFiMWQ1YzIyNzhlMmNJIhV1c2VyX2NyZWRlbnRpYWxzBjsARkkiAYA1YzI0ZTYzOGYwNjFkZWRmN2Y5YTNiYjY3MTdiZjUxMjliZmUwYjdjODg5OGZkZTVhNmEzNGMxZDkwOWUyMmNlNmIzMTc4MzRlZTdmY2RkYjllYjQ3ODdhYjZlMDM1Y2E0ZmEyYmY0MWVkYzJiOWMxZGEwNzYwZDdjMzhmNzY1OAY7AFRJIhh1c2VyX2NyZWRlbnRpYWxzX2lkBjsARmkG--01c6645c8d99e164b3b6e80ae5b70e5231defb65; path=/; HttpOnly cache-control: - no-cache body: "{\"record\":{\"content\":\"mail.foo.com\",\"created_at\":\"2011-11-11T20:25:14Z\",\"domain_id\":39,\"domain_service_id\":null,\"id\":73,\"name\":\"\",\"pdns_identifier\":null,\"prio\":10,\"record_type\":\"MX\",\"special_type\":null,\"ttl\":3600,\"updated_at\":\"2011-11-11T20:25:14Z\"}}" http_version: "1.1" - !ruby/struct:VCR::HTTPInteraction request: !ruby/struct:VCR::Request method: :get uri: http://:@localhost:3000/domains/example.com/records body: headers: accept: - application/json authorization: - Basic YW50aG9ueWVkZW5AZ21haWwuY29tOmxldG1laW4= response: !ruby/struct:VCR::Response status: !ruby/struct:VCR::ResponseStatus code: 200 message: OK headers: x-ua-compatible: - IE=Edge access-control-allow-headers: - Authorization,Accepts,Content-Type x-dnsimple-api-version: - 1.0.0 etag: - "\"e052e8e045e0166446419cf0dc97cf36\"" access-control-allow-methods: - OPTIONS content-type: - application/json; charset=utf-8 access-control-allow-origin: - "*" date: - Fri, 11 Nov 2011 20:25:14 GMT server: - WEBrick/1.3.1 (Ruby/1.9.2/2011-07-09) x-runtime: - "0.661836" content-length: - "760" set-cookie: - _dnsimple_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRiIlNDMxYTNlYjk3MTRlZTkyZTNhYWYwNTMxYzY3ZjIzOTJJIhV1c2VyX2NyZWRlbnRpYWxzBjsARkkiAYA1YzI0ZTYzOGYwNjFkZWRmN2Y5YTNiYjY3MTdiZjUxMjliZmUwYjdjODg5OGZkZTVhNmEzNGMxZDkwOWUyMmNlNmIzMTc4MzRlZTdmY2RkYjllYjQ3ODdhYjZlMDM1Y2E0ZmEyYmY0MWVkYzJiOWMxZGEwNzYwZDdjMzhmNzY1OAY7AFRJIhh1c2VyX2NyZWRlbnRpYWxzX2lkBjsARmkG--4e3f8a898eea079fd9e05c8ea98ba2d31fc9f278; path=/; HttpOnly cache-control: - max-age=0, private, must-revalidate body: "[{\"record\":{\"content\":\"4.5.6.7\",\"created_at\":\"2011-11-11T20:25:12Z\",\"domain_id\":39,\"domain_service_id\":null,\"id\":71,\"name\":\"\",\"pdns_identifier\":null,\"prio\":null,\"record_type\":\"A\",\"special_type\":null,\"ttl\":3600,\"updated_at\":\"2011-11-11T20:25:12Z\"}},{\"record\":{\"content\":\"testdomain.com\",\"created_at\":\"2011-11-11T20:25:13Z\",\"domain_id\":39,\"domain_service_id\":null,\"id\":72,\"name\":\"www\",\"pdns_identifier\":null,\"prio\":null,\"record_type\":\"CNAME\",\"special_type\":null,\"ttl\":3600,\"updated_at\":\"2011-11-11T20:25:13Z\"}},{\"record\":{\"content\":\"mail.foo.com\",\"created_at\":\"2011-11-11T20:25:14Z\",\"domain_id\":39,\"domain_service_id\":null,\"id\":73,\"name\":\"\",\"pdns_identifier\":null,\"prio\":10,\"record_type\":\"MX\",\"special_type\":null,\"ttl\":3600,\"updated_at\":\"2011-11-11T20:25:14Z\"}}]" http_version: "1.1"