Sha256: 4b361b469b89187e5d05c8aa2539847cbb682b3d6c29839c7aebb37004138893

Contents?: true

Size: 1.65 KB

Versions: 17

Compression:

Stored size: 1.65 KB

Contents

module Responses
  
  Unauthorized = %|HTTP/1.1 401 Unauthorized 
Date: Wed, 09 Sep 2009 00:51:25 GMT 
Server: Mongrel 1.1.3 
Status: 401 Unauthorized 
Cache-Control: no-cache 
Content-Type: application/xml; charset=utf-8 
Content-Length: 142 
Vary: Accept-Encoding 
Connection: close 

<?xml version="1.0" encoding="UTF-8"?>
<errors>
  <error>
    <code></code>
    <message>Authentication Failed</message>
  </error>
</errors>
|
  
  BadRequest = %|
HTTP/1.1 400 Bad Request
Date: Thu, 03 Sep 2009 15:53:28 GMT
Server: Mongrel 1.1.3
Status: 400 Bad Request
Cache-Control: no-cache
Content-Type: application/xml; charset=utf-8
Content-Length: 143
Vary: Accept-Encoding
Connection: close

<?xml version="1.0" encoding="UTF-8"?>
<errors>
  <error>
    <code>-5000</code>
    <message>HTTPS is required</message>
  </error>
</errors>
|

  InvalidOrderId = %|HTTP/1.1 404 Not Found
Date: Thu, 03 Sep 2009 16:57:30 GMT
Server: Mongrel 1.1.3
Status: 404 Not Found
Cache-Control: no-cache
Content-Type: application/xml; charset=utf-8
Content-Length: 161
Vary: Accept-Encoding
Connection: close

<?xml version="1.0" encoding="UTF-8"?>
<errors>
  <error>
    <code>-90004</code>
    <message>Invalid order identifier requested</message>
  </error>
</errors>
|
  
  GenericFailure = %|HTTP/1.1 422 Unprocessable Entity
Date: Thu, 03 Sep 2009 16:57:30 GMT
Server: Mongrel 1.1.3
Status: 422 Unprocessable Entity
Cache-Control: no-cache
Content-Type: application/xml; charset=utf-8
Content-Length: 149
Vary: Accept-Encoding
Connection: close

<?xml version="1.0" encoding="UTF-8"?>
<errors>
  <error>
    <code>-12345</code>
    <message>Generic failure message</message>
  </error>
</errors>
|
  
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
geocerts-1.0.1 test/fixtures/responses.rb
geocerts-1.0.0 test/fixtures/responses.rb
geocerts-0.0.25 test/fixtures/responses.rb
geocerts-0.0.24 test/fixtures/responses.rb
geocerts-0.0.23 test/fixtures/responses.rb
geocerts-0.0.22 test/fixtures/responses.rb
geocerts-0.0.21 test/fixtures/responses.rb
geocerts-0.0.20 test/fixtures/responses.rb
geocerts-0.0.19 test/fixtures/responses.rb
geocerts-0.0.18 test/fixtures/responses.rb
geocerts-0.0.17 test/fixtures/responses.rb
geocerts-0.0.16 test/fixtures/responses.rb
geocerts-0.0.15 test/fixtures/responses.rb
geocerts-0.0.14 test/fixtures/responses.rb
geocerts-0.0.13 test/fixtures/responses.rb
geocerts-0.0.12 test/fixtures/responses.rb
geocerts-0.0.11 test/fixtures/responses.rb