amiando 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +6 -0
- data/Gemfile +17 -0
- data/Guardfile +11 -0
- data/README.md +26 -0
- data/Rakefile +12 -0
- data/amiando.gemspec +27 -0
- data/lib/amiando.rb +59 -0
- data/lib/amiando/api_key.rb +35 -0
- data/lib/amiando/boolean.rb +33 -0
- data/lib/amiando/event.rb +131 -0
- data/lib/amiando/request.rb +38 -0
- data/lib/amiando/resource.rb +152 -0
- data/lib/amiando/result.rb +33 -0
- data/lib/amiando/ticket_category.rb +99 -0
- data/lib/amiando/ticket_shop.rb +63 -0
- data/lib/amiando/user.rb +148 -0
- data/lib/amiando/version.rb +3 -0
- data/test/amiando/amiando_test.rb +13 -0
- data/test/amiando/api_key_test.rb +58 -0
- data/test/amiando/boolean_test.rb +21 -0
- data/test/amiando/event_test.rb +141 -0
- data/test/amiando/resource_test.rb +68 -0
- data/test/amiando/result_test.rb +25 -0
- data/test/amiando/ticket_category_test.rb +89 -0
- data/test/amiando/ticket_shop_test.rb +42 -0
- data/test/amiando/user_test.rb +130 -0
- data/test/fixtures/ApiKey/018fa0a2281ec9026bc122bc346366f6.yml +60 -0
- data/test/fixtures/ApiKey/1f62195e173114773b3ec2613582ece9.yml +60 -0
- data/test/fixtures/ApiKey/76860dbafe66279f25f56cd66b3f6ba1.yml +62 -0
- data/test/fixtures/ApiKey/97d82801a10696aaf385bf5873034b60.yml +60 -0
- data/test/fixtures/ApiKey/a703d1fcec1576fa8cb4ca1c5f53f545.yml +62 -0
- data/test/fixtures/ApiKey/a948a98b153ab66978e37160f352bfbc.yml +60 -0
- data/test/fixtures/ApiKey/b7ecc9e79dd856dec661554cd00490ed.yml +62 -0
- data/test/fixtures/ApiKey/ded8694c21d2e1c0cec845f72ba452b5.yml +60 -0
- data/test/fixtures/ApiKey/fa883db60c0390aa8948098d32497015.yml +60 -0
- data/test/fixtures/Event/29a95cd545b2fba8121dce97a3c859e3.yml +60 -0
- data/test/fixtures/Event/361940ebc5f074b1d6d96c2dbeb573ab.yml +60 -0
- data/test/fixtures/Event/3a90bf0a17eb1d647f1496d04640797a.yml +60 -0
- data/test/fixtures/Event/3b8ae154ad13c7152366b79c0d34b053.yml +60 -0
- data/test/fixtures/Event/49877df5f8c251e3364a3560ab1ab46c.yml +60 -0
- data/test/fixtures/Event/50cb3d76b40032b0fa5731ce7d2ae2f6.yml +62 -0
- data/test/fixtures/Event/5d6016557d86e7b7ff83d07d1ef4bf44.yml +60 -0
- data/test/fixtures/Event/67e55d2f91fa702eb8dc612cbfa661f9.yml +60 -0
- data/test/fixtures/Event/813535fc6ee153c1a6d8e826f1fe04dc.yml +60 -0
- data/test/fixtures/Event/8eabb0f839e03cde5818397c7121e6b4.yml +61 -0
- data/test/fixtures/Event/96a5ccd0281a67a4bdb276516b77e756.yml +62 -0
- data/test/fixtures/Event/9e689bd5495dc898a710cba8e6d1d779.yml +62 -0
- data/test/fixtures/Event/a816e5664ff66b8e3d27b74435a0c123.yml +60 -0
- data/test/fixtures/Event/c5ad7e1d1c160d7d1132297892a9ec94.yml +60 -0
- data/test/fixtures/Event/c88c85889575508f75deee325e16e49d.yml +60 -0
- data/test/fixtures/Event/d6a585196f1a2a94d22f22a2140d4c07.yml +60 -0
- data/test/fixtures/Event/e00eebd4faf194fe592fa6e7615909b8.yml +60 -0
- data/test/fixtures/Event/e753b6f404795c6635856ea43b0c7d35.yml +60 -0
- data/test/fixtures/Event/eb341dbccefaad75aad439f10cc7d82d.yml +60 -0
- data/test/fixtures/Event/ebab641e40ca57f8e0883d8ea003bd78.yml +60 -0
- data/test/fixtures/Event/ef17351e4bbc84eb776fe16dda31e1e4.yml +62 -0
- data/test/fixtures/Global/505952258352958b3b59a3812372ed02.yml +60 -0
- data/test/fixtures/Global/d41a6ca323b5db99b4e3c06e108c52cc.yml +60 -0
- data/test/fixtures/TicketCategory/0412c9d453efd804e171c6ba57fd980a.yml +66 -0
- data/test/fixtures/TicketCategory/49877df5f8c251e3364a3560ab1ab46c.yml +60 -0
- data/test/fixtures/TicketCategory/4d3f8d9ff3fb728fc37aaa6e40355a00.yml +62 -0
- data/test/fixtures/TicketCategory/5d4fdfda01ed8193c6bbc5e089db5a4b.yml +60 -0
- data/test/fixtures/TicketCategory/655e7a8089d67b8eeea1176398e4b289.yml +60 -0
- data/test/fixtures/TicketCategory/a9b19dc83437d00ffc4603c04f78159f.yml +62 -0
- data/test/fixtures/TicketCategory/bee3d6eb4247fec0849d91fb2f768524.yml +60 -0
- data/test/fixtures/TicketCategory/c6f8563714904f006b28ac06312b107d.yml +60 -0
- data/test/fixtures/TicketCategory/e6076c26b1b75eec091c5b91c9f75ad9.yml +62 -0
- data/test/fixtures/TicketCategory/ebfcf07be91b8cb6d05156713592abc9.yml +60 -0
- data/test/fixtures/TicketCategory/fe63648cf867613ec93b380e06257349.yml +60 -0
- data/test/fixtures/TicketShop/03d35073550910e61201cf425b4ff73e.yml +60 -0
- data/test/fixtures/TicketShop/0524d80dc6e3fad88d49adf71ffa2ab9.yml +60 -0
- data/test/fixtures/TicketShop/09729fb0d9f1490bec3acfa0e6742190.yml +60 -0
- data/test/fixtures/TicketShop/15c36c73e9f1d3255a61a559e3b98562.yml +60 -0
- data/test/fixtures/TicketShop/4605dd240202cd7510bfecaf474ac615.yml +62 -0
- data/test/fixtures/TicketShop/5c1f5488a196f44f2c18cc186816fd42.yml +60 -0
- data/test/fixtures/TicketShop/71f80402a72be32fdd34074d4426b765.yml +62 -0
- data/test/fixtures/TicketShop/bc24338e918c6edb07a55f4d580c5af3.yml +60 -0
- data/test/fixtures/TicketShop/d095062bf22d235f277c979b025e5cac.yml +60 -0
- data/test/fixtures/TicketShop/ece5150c24e5000bf4eff8dcdb6311bb.yml +60 -0
- data/test/fixtures/User/0b4a60c6c962b4b3af9ab21832cd76b2.yml +60 -0
- data/test/fixtures/User/0f635f4bb82fdc84af205efe76f43ae0.yml +60 -0
- data/test/fixtures/User/1c2f2c8a5372e998f38b9d387107cee2.yml +60 -0
- data/test/fixtures/User/1e3ab0fb92b5b1992f35256b4be7497b.yml +71 -0
- data/test/fixtures/User/3bac6d29256056f2b9a1ea6fad26966d.yml +60 -0
- data/test/fixtures/User/3ffaba64188557400a8678dbefd75990.yml +60 -0
- data/test/fixtures/User/5a26c7f9edf6d6027b19b57feda4a96f.yml +60 -0
- data/test/fixtures/User/5c17b4b5287f5d0ba390e25e99cf2270.yml +49 -0
- data/test/fixtures/User/6501a4db53a97afe6f7b9afeeb996888.yml +60 -0
- data/test/fixtures/User/6ad0dd77081f413e3df25d6a625d38cd.yml +60 -0
- data/test/fixtures/User/7d493f7758d9795ad522bc827cb51b77.yml +60 -0
- data/test/fixtures/User/89e6cb6ae39e29a154c99e0e33bb1b91.yml +60 -0
- data/test/fixtures/User/90a3bfe214f17305e356ad3f1a9c9ce7.yml +60 -0
- data/test/fixtures/User/92ad6537c8be5aab7cbd778d424f4944.yml +60 -0
- data/test/fixtures/User/9485b68940997e23e3721a413d4fbdd5.yml +49 -0
- data/test/fixtures/User/98348fe6fbecb7916faadd835916d94d.yml +60 -0
- data/test/fixtures/User/b63d7aa4703a3140b4d9884e9f302362.yml +60 -0
- data/test/fixtures/User/b8c3fd04d7bd0925c3ccd3a3978ab8e6.yml +49 -0
- data/test/fixtures/User/baa28f50439b903e423dbdf918fff20b.yml +62 -0
- data/test/fixtures/User/e51278f9f771be0c6c3ac0e4ee1b6459.yml +59 -0
- data/test/fixtures/User/eb30a195ac7829d506954f472e9e6dea.yml +60 -0
- data/test/support/factory.rb +45 -0
- data/test/support/hydra_cache.rb +59 -0
- data/test/test_helper.rb +36 -0
- metadata +330 -0
@@ -0,0 +1,66 @@
|
|
1
|
+
--- !ruby/object:Typhoeus::Response
|
2
|
+
app_connect_time: 0.95133
|
3
|
+
body: "{\"id\":1076698,\"success\":true}"
|
4
|
+
code: 201
|
5
|
+
connect_time: 0.610125
|
6
|
+
curl_error_message: No error
|
7
|
+
curl_return_code: 0
|
8
|
+
effective_url: https://test.amiando.com/api/event/349022/ticketCategory/create?version=1&format=json&apikey=5Tgoob95gX5WqjF0FIjxoJHLNp7YEgAlLuXZdzMuYXaxZZaah3
|
9
|
+
first_header_line: HTTP/1.1 201 Created
|
10
|
+
headers: |
|
11
|
+
HTTP/1.1 201 Created
|
12
|
+
Date: Mon, 24 Oct 2011 15:42:42 GMT
|
13
|
+
Server: Apache/2.0.55 (Red Hat)
|
14
|
+
Set-Cookie: JSESSIONID=E3D8DA533697F9D711A2A7AA21020147.web01; Path=/; Secure
|
15
|
+
Set-Cookie: JSESSIONID=E3D8DA533697F9D711A2A7AA21020147.web01; Path=/
|
16
|
+
accept-charset: utf-8
|
17
|
+
P3P: policyref="/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV TAI PSA PSD CON OUR IND UNI PUR COM CNT"
|
18
|
+
Access-Control-Allow-Origin: *
|
19
|
+
Access-Control-Allow-Methods: POST, GET, OPTIONS, DELETE, PUT
|
20
|
+
Set-Cookie: ANONYMOUS_HASHED_REMEMBER_ME_COOKIE_KEY=VkVXcm84YkZvcFJSeGRKVjoxMzIwNjgwNzQ4NTgzOmNjZTljZDhmYWIyMGM2ZGUzYWI5MGZjZGFkZGJkNzlm; Expires=Sat, 22-Oct-2016 15:45:48 GMT; Path=/
|
21
|
+
Accept-Ranges: bytes
|
22
|
+
Cache-Control: max-age=7200
|
23
|
+
Expires: Mon, 24 Oct 2011 17:42:42 GMT
|
24
|
+
Vary: User-Agent
|
25
|
+
Transfer-Encoding: chunked
|
26
|
+
Content-Type: application/json;charset=UTF-8
|
27
|
+
|
28
|
+
|
29
|
+
headers_hash: !map:Typhoeus::NormalizedHeaderHash
|
30
|
+
Vary: User-Agent
|
31
|
+
Access-Control-Allow-Methods: POST, GET, OPTIONS, DELETE, PUT
|
32
|
+
P3p: policyref="/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV TAI PSA PSD CON OUR IND UNI PUR COM CNT"
|
33
|
+
Transfer-Encoding: chunked
|
34
|
+
Access-Control-Allow-Origin: "*"
|
35
|
+
Content-Type: application/json;charset=UTF-8
|
36
|
+
Date: Mon, 24 Oct 2011 15:42:42 GMT
|
37
|
+
Accept-Ranges: bytes
|
38
|
+
Server: Apache/2.0.55 (Red Hat)
|
39
|
+
Set-Cookie:
|
40
|
+
- JSESSIONID=E3D8DA533697F9D711A2A7AA21020147.web01; Path=/; Secure
|
41
|
+
- JSESSIONID=E3D8DA533697F9D711A2A7AA21020147.web01; Path=/
|
42
|
+
- ANONYMOUS_HASHED_REMEMBER_ME_COOKIE_KEY=VkVXcm84YkZvcFJSeGRKVjoxMzIwNjgwNzQ4NTgzOmNjZTljZDhmYWIyMGM2ZGUzYWI5MGZjZGFkZGJkNzlm; Expires=Sat, 22-Oct-2016 15:45:48 GMT; Path=/
|
43
|
+
Expires: Mon, 24 Oct 2011 17:42:42 GMT
|
44
|
+
Cache-Control: max-age=7200
|
45
|
+
Accept-Charset: utf-8
|
46
|
+
http_version:
|
47
|
+
mock: false
|
48
|
+
name_lookup_time: 0.529886
|
49
|
+
pretransfer_time: 0.951333
|
50
|
+
request: |-
|
51
|
+
:method => :post,
|
52
|
+
:url => https://test.amiando.com/api/event/349022/ticketCategory/create?version=1&format=json&apikey=5Tgoob95gX5WqjF0FIjxoJHLNp7YEgAlLuXZdzMuYXaxZZaah3,
|
53
|
+
:params => {:available=>"1", :event=>#<Amiando::Event:0x1052cffa0 @success=true, @request=:method => :post,
|
54
|
+
:url => https://test.amiando.com/api/event/create?version=1&format=json&apikey=5Tgoob95gX5WqjF0FIjxoJHLNp7YEgAlLuXZdzMuYXaxZZaah3,
|
55
|
+
:params => {:title=>"Secret title", :country=>"es", :hostId=>256142272, :selectedDate=>"1970-01-01T01:00:00+01:00"},
|
56
|
+
:headers => {"User-Agent"=>"Typhoeus - http://github.com/dbalatero/typhoeus/tree/master"}, @attributes={:errors=>nil, :id=>349022}, @response=#<Typhoeus::Response:0x1052c1ce8 @name_lookup_time=0.002372, @time=1.900517, @start_time=nil, @start_transfer_time=1.90048, @first_header_line="HTTP/1.1 201 Created", @curl_return_code=0, @mock=false, @curl_error_message="No error", @connect_time=0.13822, @requested_http_method=nil, @effective_url="https://test.amiando.com/api/event/create?format=json&apikey=5Tgoob95gX5WqjF0FIjxoJHLNp7YEgAlLuXZdzMuYXaxZZaah3&version=1", @pretransfer_time=0.360257, @code=201, @requested_url=nil, @request=:method => :post,
|
57
|
+
:url => https://test.amiando.com/api/event/create?version=1&format=json&apikey=5Tgoob95gX5WqjF0FIjxoJHLNp7YEgAlLuXZdzMuYXaxZZaah3,
|
58
|
+
:params => {:title=>"Secret title", :country=>"es", :hostId=>256142272, :selectedDate=>"1970-01-01T01:00:00+01:00"},
|
59
|
+
:headers => {"User-Agent"=>"Typhoeus - http://github.com/dbalatero/typhoeus/tree/master"}, @body="{\"id\":349022,\"success\":true}", @http_version=nil, @app_connect_time=0.360255, @headers="HTTP/1.1 201 Created\nDate: Mon, 24 Oct 2011 14:29:13 GMT\nServer: Apache/2.0.55 (Red Hat)\nSet-Cookie: JSESSIONID=D939847439CE9D4DE44831F733A78402.web01; Path=/; Secure\nSet-Cookie: JSESSIONID=D939847439CE9D4DE44831F733A78402.web01; Path=/\naccept-charset: utf-8\nP3P: policyref=\"/w3c/p3p.xml\", CP=\"CAO DSP COR CUR ADM DEV TAI PSA PSD CON OUR IND UNI PUR COM CNT\"\nAccess-Control-Allow-Origin: *\nAccess-Control-Allow-Methods: POST, GET, OPTIONS, DELETE, PUT\nSet-Cookie: ANONYMOUS_HASHED_REMEMBER_ME_COOKIE_KEY=YVhPZWp1VWpUTE5zS2VpaToxMzIwNjc2MzM5ODQxOjRiNTI3MzJkOTE3NDEyM2E5MjM0OGE2OThhNmFkMTcx; Expires=Sat, 22-Oct-2016 14:32:19 GMT; Path=/\nAccept-Ranges: bytes\nCache-Control: max-age=7200\nExpires: Mon, 24 Oct 2011 16:29:13 GMT\nVary: User-Agent\nTransfer-Encoding: chunked\nContent-Type: application/json;charset=UTF-8\n", @status_message="Created", @headers_hash={"Vary"=>"User-Agent", "Access-Control-Allow-Methods"=>"POST, GET, OPTIONS, DELETE, PUT", "P3p"=>"policyref=\"/w3c/p3p.xml\", CP=\"CAO DSP COR CUR ADM DEV TAI PSA PSD CON OUR IND UNI PUR COM CNT\"", "Transfer-Encoding"=>"chunked", "Access-Control-Allow-Origin"=>"*", "Content-Type"=>"application/json;charset=UTF-8", "Date"=>"Mon, 24 Oct 2011 14:29:13 GMT", "Accept-Ranges"=>"bytes", "Server"=>"Apache/2.0.55 (Red Hat)", "Set-Cookie"=>["JSESSIONID=D939847439CE9D4DE44831F733A78402.web01; Path=/; Secure", "JSESSIONID=D939847439CE9D4DE44831F733A78402.web01; Path=/", "ANONYMOUS_HASHED_REMEMBER_ME_COOKIE_KEY=YVhPZWp1VWpUTE5zS2VpaToxMzIwNjc2MzM5ODQxOjRiNTI3MzJkOTE3NDEyM2E5MjM0OGE2OThhNmFkMTcx; Expires=Sat, 22-Oct-2016 14:32:19 GMT; Path=/"], "Expires"=>"Mon, 24 Oct 2011 16:29:13 GMT", "Cache-Control"=>"max-age=7200", "Accept-Charset"=>"utf-8"}>>, :name=>"Name", :price=>"50"},
|
60
|
+
:headers => {"User-Agent"=>"Typhoeus - http://github.com/dbalatero/typhoeus/tree/master"}
|
61
|
+
requested_http_method:
|
62
|
+
requested_url:
|
63
|
+
start_time:
|
64
|
+
start_transfer_time: 1.220145
|
65
|
+
status_message: Created
|
66
|
+
time: 1.220247
|
@@ -0,0 +1,60 @@
|
|
1
|
+
--- !ruby/object:Typhoeus::Response
|
2
|
+
app_connect_time: 0.360255
|
3
|
+
body: "{\"id\":349022,\"success\":true}"
|
4
|
+
code: 201
|
5
|
+
connect_time: 0.13822
|
6
|
+
curl_error_message: No error
|
7
|
+
curl_return_code: 0
|
8
|
+
effective_url: https://test.amiando.com/api/event/create?format=json&apikey=5Tgoob95gX5WqjF0FIjxoJHLNp7YEgAlLuXZdzMuYXaxZZaah3&version=1
|
9
|
+
first_header_line: HTTP/1.1 201 Created
|
10
|
+
headers: |
|
11
|
+
HTTP/1.1 201 Created
|
12
|
+
Date: Mon, 24 Oct 2011 14:29:13 GMT
|
13
|
+
Server: Apache/2.0.55 (Red Hat)
|
14
|
+
Set-Cookie: JSESSIONID=D939847439CE9D4DE44831F733A78402.web01; Path=/; Secure
|
15
|
+
Set-Cookie: JSESSIONID=D939847439CE9D4DE44831F733A78402.web01; Path=/
|
16
|
+
accept-charset: utf-8
|
17
|
+
P3P: policyref="/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV TAI PSA PSD CON OUR IND UNI PUR COM CNT"
|
18
|
+
Access-Control-Allow-Origin: *
|
19
|
+
Access-Control-Allow-Methods: POST, GET, OPTIONS, DELETE, PUT
|
20
|
+
Set-Cookie: ANONYMOUS_HASHED_REMEMBER_ME_COOKIE_KEY=YVhPZWp1VWpUTE5zS2VpaToxMzIwNjc2MzM5ODQxOjRiNTI3MzJkOTE3NDEyM2E5MjM0OGE2OThhNmFkMTcx; Expires=Sat, 22-Oct-2016 14:32:19 GMT; Path=/
|
21
|
+
Accept-Ranges: bytes
|
22
|
+
Cache-Control: max-age=7200
|
23
|
+
Expires: Mon, 24 Oct 2011 16:29:13 GMT
|
24
|
+
Vary: User-Agent
|
25
|
+
Transfer-Encoding: chunked
|
26
|
+
Content-Type: application/json;charset=UTF-8
|
27
|
+
|
28
|
+
|
29
|
+
headers_hash: !map:Typhoeus::NormalizedHeaderHash
|
30
|
+
Vary: User-Agent
|
31
|
+
Access-Control-Allow-Methods: POST, GET, OPTIONS, DELETE, PUT
|
32
|
+
P3p: policyref="/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV TAI PSA PSD CON OUR IND UNI PUR COM CNT"
|
33
|
+
Transfer-Encoding: chunked
|
34
|
+
Access-Control-Allow-Origin: "*"
|
35
|
+
Content-Type: application/json;charset=UTF-8
|
36
|
+
Date: Mon, 24 Oct 2011 14:29:13 GMT
|
37
|
+
Accept-Ranges: bytes
|
38
|
+
Server: Apache/2.0.55 (Red Hat)
|
39
|
+
Set-Cookie:
|
40
|
+
- JSESSIONID=D939847439CE9D4DE44831F733A78402.web01; Path=/; Secure
|
41
|
+
- JSESSIONID=D939847439CE9D4DE44831F733A78402.web01; Path=/
|
42
|
+
- ANONYMOUS_HASHED_REMEMBER_ME_COOKIE_KEY=YVhPZWp1VWpUTE5zS2VpaToxMzIwNjc2MzM5ODQxOjRiNTI3MzJkOTE3NDEyM2E5MjM0OGE2OThhNmFkMTcx; Expires=Sat, 22-Oct-2016 14:32:19 GMT; Path=/
|
43
|
+
Expires: Mon, 24 Oct 2011 16:29:13 GMT
|
44
|
+
Cache-Control: max-age=7200
|
45
|
+
Accept-Charset: utf-8
|
46
|
+
http_version:
|
47
|
+
mock: false
|
48
|
+
name_lookup_time: 0.002372
|
49
|
+
pretransfer_time: 0.360257
|
50
|
+
request: |-
|
51
|
+
:method => :post,
|
52
|
+
:url => https://test.amiando.com/api/event/create?format=json&apikey=5Tgoob95gX5WqjF0FIjxoJHLNp7YEgAlLuXZdzMuYXaxZZaah3&version=1,
|
53
|
+
:params => {:title=>"Secret title", :country=>"es", :hostId=>256142272, :selectedDate=>"1970-01-01T01:00:00+01:00"},
|
54
|
+
:headers => {"User-Agent"=>"Typhoeus - http://github.com/dbalatero/typhoeus/tree/master"}
|
55
|
+
requested_http_method:
|
56
|
+
requested_url:
|
57
|
+
start_time:
|
58
|
+
start_transfer_time: 1.90048
|
59
|
+
status_message: Created
|
60
|
+
time: 1.900517
|
@@ -0,0 +1,62 @@
|
|
1
|
+
--- !ruby/object:Typhoeus::Response
|
2
|
+
app_connect_time: 1.529951
|
3
|
+
body: "{\"errors\":[\"com.amiando.Event.IdentifierInvalid\"],\"success\":false}"
|
4
|
+
code: 400
|
5
|
+
connect_time: 0.501064
|
6
|
+
curl_error_message: No error
|
7
|
+
curl_return_code: 0
|
8
|
+
effective_url: https://test.amiando.com/api/event/create?version=1&format=json&apikey=5Tgoob95gX5WqjF0FIjxoJHLNp7YEgAlLuXZdzMuYXaxZZaah3
|
9
|
+
first_header_line: HTTP/1.1 400 Bad Request
|
10
|
+
headers: |
|
11
|
+
HTTP/1.1 400 Bad Request
|
12
|
+
Date: Mon, 24 Oct 2011 15:42:14 GMT
|
13
|
+
Server: Apache/2.0.55 (Red Hat)
|
14
|
+
Set-Cookie: JSESSIONID=A47C058943A4085A44EF11FA8289558F.web01; Path=/; Secure
|
15
|
+
Set-Cookie: JSESSIONID=A47C058943A4085A44EF11FA8289558F.web01; Path=/
|
16
|
+
accept-charset: utf-8
|
17
|
+
P3P: policyref="/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV TAI PSA PSD CON OUR IND UNI PUR COM CNT"
|
18
|
+
Access-Control-Allow-Origin: *
|
19
|
+
Access-Control-Allow-Methods: POST, GET, OPTIONS, DELETE, PUT
|
20
|
+
Set-Cookie: ANONYMOUS_HASHED_REMEMBER_ME_COOKIE_KEY=SGFidW9OOExyaVpCdmFRajoxMzIwNjgwNzIxMTg1OjFiOTEwYjQ2ZDQzZDI0ZWFlMGQzYzdkNjc5MzJkNDg5; Expires=Sat, 22-Oct-2016 15:45:21 GMT; Path=/
|
21
|
+
Accept-Ranges: bytes
|
22
|
+
Cache-Control: max-age=7200
|
23
|
+
Expires: Mon, 24 Oct 2011 17:42:14 GMT
|
24
|
+
Vary: User-Agent
|
25
|
+
Connection: close
|
26
|
+
Transfer-Encoding: chunked
|
27
|
+
Content-Type: application/json;charset=UTF-8
|
28
|
+
|
29
|
+
|
30
|
+
headers_hash: !map:Typhoeus::NormalizedHeaderHash
|
31
|
+
Vary: User-Agent
|
32
|
+
Access-Control-Allow-Methods: POST, GET, OPTIONS, DELETE, PUT
|
33
|
+
P3p: policyref="/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV TAI PSA PSD CON OUR IND UNI PUR COM CNT"
|
34
|
+
Transfer-Encoding: chunked
|
35
|
+
Access-Control-Allow-Origin: "*"
|
36
|
+
Content-Type: application/json;charset=UTF-8
|
37
|
+
Date: Mon, 24 Oct 2011 15:42:14 GMT
|
38
|
+
Accept-Ranges: bytes
|
39
|
+
Server: Apache/2.0.55 (Red Hat)
|
40
|
+
Set-Cookie:
|
41
|
+
- JSESSIONID=A47C058943A4085A44EF11FA8289558F.web01; Path=/; Secure
|
42
|
+
- JSESSIONID=A47C058943A4085A44EF11FA8289558F.web01; Path=/
|
43
|
+
- ANONYMOUS_HASHED_REMEMBER_ME_COOKIE_KEY=SGFidW9OOExyaVpCdmFRajoxMzIwNjgwNzIxMTg1OjFiOTEwYjQ2ZDQzZDI0ZWFlMGQzYzdkNjc5MzJkNDg5; Expires=Sat, 22-Oct-2016 15:45:21 GMT; Path=/
|
44
|
+
Expires: Mon, 24 Oct 2011 17:42:14 GMT
|
45
|
+
Cache-Control: max-age=7200
|
46
|
+
Accept-Charset: utf-8
|
47
|
+
Connection: close
|
48
|
+
http_version:
|
49
|
+
mock: false
|
50
|
+
name_lookup_time: 0.00359
|
51
|
+
pretransfer_time: 1.529953
|
52
|
+
request: |-
|
53
|
+
:method => :post,
|
54
|
+
:url => https://test.amiando.com/api/event/create?version=1&format=json&apikey=5Tgoob95gX5WqjF0FIjxoJHLNp7YEgAlLuXZdzMuYXaxZZaah3,
|
55
|
+
:params => {:title=>"Secret title", :country=>"es", :hostId=>256142272, :identifier=>"", :selectedDate=>"1970-01-01T01:00:00+01:00"},
|
56
|
+
:headers => {"User-Agent"=>"Typhoeus - http://github.com/dbalatero/typhoeus/tree/master"}
|
57
|
+
requested_http_method:
|
58
|
+
requested_url:
|
59
|
+
start_time:
|
60
|
+
start_transfer_time: 2.339061
|
61
|
+
status_message: Bad Request
|
62
|
+
time: 2.339111
|
@@ -0,0 +1,60 @@
|
|
1
|
+
--- !ruby/object:Typhoeus::Response
|
2
|
+
app_connect_time: 1.757335
|
3
|
+
body: "{\"id\":1076696,\"success\":true}"
|
4
|
+
code: 201
|
5
|
+
connect_time: 0.44133
|
6
|
+
curl_error_message: No error
|
7
|
+
curl_return_code: 0
|
8
|
+
effective_url: https://test.amiando.com/api/event/349022/ticketCategory/create?format=json&version=1&apikey=5Tgoob95gX5WqjF0FIjxoJHLNp7YEgAlLuXZdzMuYXaxZZaah3
|
9
|
+
first_header_line: HTTP/1.1 201 Created
|
10
|
+
headers: |
|
11
|
+
HTTP/1.1 201 Created
|
12
|
+
Date: Mon, 24 Oct 2011 15:05:30 GMT
|
13
|
+
Server: Apache/2.0.55 (Red Hat)
|
14
|
+
Set-Cookie: JSESSIONID=700C3F4AD7A493277ED5FE53E34066DC.web01; Path=/; Secure
|
15
|
+
Set-Cookie: JSESSIONID=700C3F4AD7A493277ED5FE53E34066DC.web01; Path=/
|
16
|
+
accept-charset: utf-8
|
17
|
+
P3P: policyref="/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV TAI PSA PSD CON OUR IND UNI PUR COM CNT"
|
18
|
+
Access-Control-Allow-Origin: *
|
19
|
+
Access-Control-Allow-Methods: POST, GET, OPTIONS, DELETE, PUT
|
20
|
+
Set-Cookie: ANONYMOUS_HASHED_REMEMBER_ME_COOKIE_KEY=TG9mOFFjZXJtT3JRMHhoSDoxMzIwNjc4NTE3MDczOmIwNmI5ODMzYzUzOGY2Yzg2M2Y3ZTFhZDA0ZjgxOTA0; Expires=Sat, 22-Oct-2016 15:08:37 GMT; Path=/
|
21
|
+
Accept-Ranges: bytes
|
22
|
+
Cache-Control: max-age=7200
|
23
|
+
Expires: Mon, 24 Oct 2011 17:05:30 GMT
|
24
|
+
Vary: User-Agent
|
25
|
+
Transfer-Encoding: chunked
|
26
|
+
Content-Type: application/json;charset=UTF-8
|
27
|
+
|
28
|
+
|
29
|
+
headers_hash: !map:Typhoeus::NormalizedHeaderHash
|
30
|
+
Vary: User-Agent
|
31
|
+
Access-Control-Allow-Methods: POST, GET, OPTIONS, DELETE, PUT
|
32
|
+
P3p: policyref="/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV TAI PSA PSD CON OUR IND UNI PUR COM CNT"
|
33
|
+
Transfer-Encoding: chunked
|
34
|
+
Access-Control-Allow-Origin: "*"
|
35
|
+
Content-Type: application/json;charset=UTF-8
|
36
|
+
Date: Mon, 24 Oct 2011 15:05:30 GMT
|
37
|
+
Accept-Ranges: bytes
|
38
|
+
Server: Apache/2.0.55 (Red Hat)
|
39
|
+
Set-Cookie:
|
40
|
+
- JSESSIONID=700C3F4AD7A493277ED5FE53E34066DC.web01; Path=/; Secure
|
41
|
+
- JSESSIONID=700C3F4AD7A493277ED5FE53E34066DC.web01; Path=/
|
42
|
+
- ANONYMOUS_HASHED_REMEMBER_ME_COOKIE_KEY=TG9mOFFjZXJtT3JRMHhoSDoxMzIwNjc4NTE3MDczOmIwNmI5ODMzYzUzOGY2Yzg2M2Y3ZTFhZDA0ZjgxOTA0; Expires=Sat, 22-Oct-2016 15:08:37 GMT; Path=/
|
43
|
+
Expires: Mon, 24 Oct 2011 17:05:30 GMT
|
44
|
+
Cache-Control: max-age=7200
|
45
|
+
Accept-Charset: utf-8
|
46
|
+
http_version:
|
47
|
+
mock: false
|
48
|
+
name_lookup_time: 0.378148
|
49
|
+
pretransfer_time: 1.757339
|
50
|
+
request: |-
|
51
|
+
:method => :post,
|
52
|
+
:url => https://test.amiando.com/api/event/349022/ticketCategory/create?format=json&version=1&apikey=5Tgoob95gX5WqjF0FIjxoJHLNp7YEgAlLuXZdzMuYXaxZZaah3,
|
53
|
+
:params => {:available=>"1", :name=>"Name", :price=>"0"},
|
54
|
+
:headers => {"User-Agent"=>"Typhoeus - http://github.com/dbalatero/typhoeus/tree/master"}
|
55
|
+
requested_http_method:
|
56
|
+
requested_url:
|
57
|
+
start_time:
|
58
|
+
start_transfer_time: 2.003542
|
59
|
+
status_message: Created
|
60
|
+
time: 2.003578
|
@@ -0,0 +1,60 @@
|
|
1
|
+
--- !ruby/object:Typhoeus::Response
|
2
|
+
app_connect_time: 0.385211
|
3
|
+
body: "{\"success\":true,\"ticketCategories\":[1076693,1076696,1076697,1076698]}"
|
4
|
+
code: 200
|
5
|
+
connect_time: 0.079409
|
6
|
+
curl_error_message: No error
|
7
|
+
curl_return_code: 0
|
8
|
+
effective_url: https://test.amiando.com/api/event/349022/ticketCategories?apikey=5Tgoob95gX5WqjF0FIjxoJHLNp7YEgAlLuXZdzMuYXaxZZaah3&format=json&resultType=ids&version=1
|
9
|
+
first_header_line: HTTP/1.1 200 OK
|
10
|
+
headers: |
|
11
|
+
HTTP/1.1 200 OK
|
12
|
+
Date: Mon, 24 Oct 2011 15:48:05 GMT
|
13
|
+
Server: Apache/2.0.55 (Red Hat)
|
14
|
+
Set-Cookie: JSESSIONID=B84533C7D782006FC58C5BDAA7DB3410.web01; Path=/; Secure
|
15
|
+
Set-Cookie: JSESSIONID=B84533C7D782006FC58C5BDAA7DB3410.web01; Path=/
|
16
|
+
accept-charset: utf-8
|
17
|
+
P3P: policyref="/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV TAI PSA PSD CON OUR IND UNI PUR COM CNT"
|
18
|
+
Access-Control-Allow-Origin: *
|
19
|
+
Access-Control-Allow-Methods: POST, GET, OPTIONS, DELETE, PUT
|
20
|
+
Set-Cookie: ANONYMOUS_HASHED_REMEMBER_ME_COOKIE_KEY=cjlaU0N6STNGUnBBSDFWbDoxMzIwNjgxMDcyMjkzOjI0NTU2MDE0ZWJmZGFmNTExMzgzYTQ0NGZjYjZmYWNj; Expires=Sat, 22-Oct-2016 15:51:12 GMT; Path=/
|
21
|
+
Vary: Accept-Charset,Accept-Encoding,Accept-Language,Accept,User-Agent
|
22
|
+
Accept-Ranges: bytes
|
23
|
+
Cache-Control: max-age=7200
|
24
|
+
Expires: Mon, 24 Oct 2011 17:48:05 GMT
|
25
|
+
Transfer-Encoding: chunked
|
26
|
+
Content-Type: application/json;charset=UTF-8
|
27
|
+
|
28
|
+
|
29
|
+
headers_hash: !map:Typhoeus::NormalizedHeaderHash
|
30
|
+
Vary: Accept-Charset,Accept-Encoding,Accept-Language,Accept,User-Agent
|
31
|
+
Access-Control-Allow-Methods: POST, GET, OPTIONS, DELETE, PUT
|
32
|
+
P3p: policyref="/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV TAI PSA PSD CON OUR IND UNI PUR COM CNT"
|
33
|
+
Transfer-Encoding: chunked
|
34
|
+
Access-Control-Allow-Origin: "*"
|
35
|
+
Content-Type: application/json;charset=UTF-8
|
36
|
+
Date: Mon, 24 Oct 2011 15:48:05 GMT
|
37
|
+
Accept-Ranges: bytes
|
38
|
+
Server: Apache/2.0.55 (Red Hat)
|
39
|
+
Set-Cookie:
|
40
|
+
- JSESSIONID=B84533C7D782006FC58C5BDAA7DB3410.web01; Path=/; Secure
|
41
|
+
- JSESSIONID=B84533C7D782006FC58C5BDAA7DB3410.web01; Path=/
|
42
|
+
- ANONYMOUS_HASHED_REMEMBER_ME_COOKIE_KEY=cjlaU0N6STNGUnBBSDFWbDoxMzIwNjgxMDcyMjkzOjI0NTU2MDE0ZWJmZGFmNTExMzgzYTQ0NGZjYjZmYWNj; Expires=Sat, 22-Oct-2016 15:51:12 GMT; Path=/
|
43
|
+
Expires: Mon, 24 Oct 2011 17:48:05 GMT
|
44
|
+
Cache-Control: max-age=7200
|
45
|
+
Accept-Charset: utf-8
|
46
|
+
http_version:
|
47
|
+
mock: false
|
48
|
+
name_lookup_time: 0.002923
|
49
|
+
pretransfer_time: 0.385213
|
50
|
+
request: |-
|
51
|
+
:method => :get,
|
52
|
+
:url => https://test.amiando.com/api/event/349022/ticketCategories?apikey=5Tgoob95gX5WqjF0FIjxoJHLNp7YEgAlLuXZdzMuYXaxZZaah3&format=json&resultType=ids&version=1,
|
53
|
+
:params => {:resultType=>:ids, :version=>1, :format=>:json, :apikey=>"5Tgoob95gX5WqjF0FIjxoJHLNp7YEgAlLuXZdzMuYXaxZZaah3"},
|
54
|
+
:headers => {"User-Agent"=>"Typhoeus - http://github.com/dbalatero/typhoeus/tree/master"}
|
55
|
+
requested_http_method:
|
56
|
+
requested_url:
|
57
|
+
start_time:
|
58
|
+
start_transfer_time: 0.578797
|
59
|
+
status_message: OK
|
60
|
+
time: 0.57887
|
@@ -0,0 +1,62 @@
|
|
1
|
+
--- !ruby/object:Typhoeus::Response
|
2
|
+
app_connect_time: 0.405852
|
3
|
+
body: "{\"errors\":[\"com.amiando.api.rest.MissingParam.name\"],\"success\":false}"
|
4
|
+
code: 400
|
5
|
+
connect_time: 0.107465
|
6
|
+
curl_error_message: No error
|
7
|
+
curl_return_code: 0
|
8
|
+
effective_url: https://test.amiando.com/api/event/349022/ticketCategory/create?format=json&version=1&apikey=5Tgoob95gX5WqjF0FIjxoJHLNp7YEgAlLuXZdzMuYXaxZZaah3
|
9
|
+
first_header_line: HTTP/1.1 400 Bad Request
|
10
|
+
headers: |
|
11
|
+
HTTP/1.1 400 Bad Request
|
12
|
+
Date: Mon, 24 Oct 2011 14:42:36 GMT
|
13
|
+
Server: Apache/2.0.55 (Red Hat)
|
14
|
+
Set-Cookie: JSESSIONID=45CC85B945239909A559ED7AE2E52C79.web01; Path=/; Secure
|
15
|
+
Set-Cookie: JSESSIONID=45CC85B945239909A559ED7AE2E52C79.web01; Path=/
|
16
|
+
accept-charset: utf-8
|
17
|
+
P3P: policyref="/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV TAI PSA PSD CON OUR IND UNI PUR COM CNT"
|
18
|
+
Access-Control-Allow-Origin: *
|
19
|
+
Access-Control-Allow-Methods: POST, GET, OPTIONS, DELETE, PUT
|
20
|
+
Set-Cookie: ANONYMOUS_HASHED_REMEMBER_ME_COOKIE_KEY=cUdOSDZqdEo0UmhvTUoyZToxMzIwNjc3MTQyNzc5OmZmNDEzMDI2YzBiNTEzZTE2OTQxNzgwYjM4YzJjNDk3; Expires=Sat, 22-Oct-2016 14:45:42 GMT; Path=/
|
21
|
+
Accept-Ranges: bytes
|
22
|
+
Cache-Control: max-age=7200
|
23
|
+
Expires: Mon, 24 Oct 2011 16:42:36 GMT
|
24
|
+
Vary: User-Agent
|
25
|
+
Connection: close
|
26
|
+
Transfer-Encoding: chunked
|
27
|
+
Content-Type: application/json;charset=UTF-8
|
28
|
+
|
29
|
+
|
30
|
+
headers_hash: !map:Typhoeus::NormalizedHeaderHash
|
31
|
+
Vary: User-Agent
|
32
|
+
Access-Control-Allow-Methods: POST, GET, OPTIONS, DELETE, PUT
|
33
|
+
P3p: policyref="/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV TAI PSA PSD CON OUR IND UNI PUR COM CNT"
|
34
|
+
Transfer-Encoding: chunked
|
35
|
+
Access-Control-Allow-Origin: "*"
|
36
|
+
Content-Type: application/json;charset=UTF-8
|
37
|
+
Date: Mon, 24 Oct 2011 14:42:36 GMT
|
38
|
+
Accept-Ranges: bytes
|
39
|
+
Server: Apache/2.0.55 (Red Hat)
|
40
|
+
Set-Cookie:
|
41
|
+
- JSESSIONID=45CC85B945239909A559ED7AE2E52C79.web01; Path=/; Secure
|
42
|
+
- JSESSIONID=45CC85B945239909A559ED7AE2E52C79.web01; Path=/
|
43
|
+
- ANONYMOUS_HASHED_REMEMBER_ME_COOKIE_KEY=cUdOSDZqdEo0UmhvTUoyZToxMzIwNjc3MTQyNzc5OmZmNDEzMDI2YzBiNTEzZTE2OTQxNzgwYjM4YzJjNDk3; Expires=Sat, 22-Oct-2016 14:45:42 GMT; Path=/
|
44
|
+
Expires: Mon, 24 Oct 2011 16:42:36 GMT
|
45
|
+
Cache-Control: max-age=7200
|
46
|
+
Accept-Charset: utf-8
|
47
|
+
Connection: close
|
48
|
+
http_version:
|
49
|
+
mock: false
|
50
|
+
name_lookup_time: 0.04522
|
51
|
+
pretransfer_time: 0.405856
|
52
|
+
request: |-
|
53
|
+
:method => :post,
|
54
|
+
:url => https://test.amiando.com/api/event/349022/ticketCategory/create?format=json&version=1&apikey=5Tgoob95gX5WqjF0FIjxoJHLNp7YEgAlLuXZdzMuYXaxZZaah3,
|
55
|
+
:params => {:available=>"1", :name=>"", :price=>"50"},
|
56
|
+
:headers => {"User-Agent"=>"Typhoeus - http://github.com/dbalatero/typhoeus/tree/master"}
|
57
|
+
requested_http_method:
|
58
|
+
requested_url:
|
59
|
+
start_time:
|
60
|
+
start_transfer_time: 0.559522
|
61
|
+
status_message: Bad Request
|
62
|
+
time: 0.559557
|
@@ -0,0 +1,60 @@
|
|
1
|
+
--- !ruby/object:Typhoeus::Response
|
2
|
+
app_connect_time: 0.814268
|
3
|
+
body: "{\"ticketCategory\":{\"minSellRequired\":false,\"status\":\"STATUS_SELLING\",\"available\":1,\"displayPrice\":false,\"id\":1076693,\"price\":50,\"priceEditable\":true,\"name\":\"New name\",\"displayQuantity\":false,\"active\":true,\"reservedCount\":0,\"defaultValue\":0,\"sold\":0},\"success\":true}"
|
4
|
+
code: 200
|
5
|
+
connect_time: 0.121655
|
6
|
+
curl_error_message: No error
|
7
|
+
curl_return_code: 0
|
8
|
+
effective_url: https://test.amiando.com/api/ticketCategory/1076693?apikey=5Tgoob95gX5WqjF0FIjxoJHLNp7YEgAlLuXZdzMuYXaxZZaah3&format=json&version=1
|
9
|
+
first_header_line: HTTP/1.1 200 OK
|
10
|
+
headers: |
|
11
|
+
HTTP/1.1 200 OK
|
12
|
+
Date: Mon, 24 Oct 2011 15:35:44 GMT
|
13
|
+
Server: Apache/2.0.55 (Red Hat)
|
14
|
+
Set-Cookie: JSESSIONID=210C66A30FF24B8B63B0085D2964B4C9.web01; Path=/; Secure
|
15
|
+
Set-Cookie: JSESSIONID=210C66A30FF24B8B63B0085D2964B4C9.web01; Path=/
|
16
|
+
accept-charset: utf-8
|
17
|
+
P3P: policyref="/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV TAI PSA PSD CON OUR IND UNI PUR COM CNT"
|
18
|
+
Access-Control-Allow-Origin: *
|
19
|
+
Access-Control-Allow-Methods: POST, GET, OPTIONS, DELETE, PUT
|
20
|
+
Set-Cookie: ANONYMOUS_HASHED_REMEMBER_ME_COOKIE_KEY=eEhKVG5tVExGUVByUEp0ejoxMzIwNjgwMzMwODQ3OjJhYTNhMmRiYTAyODcyODVkYmRjNmJhOWU0OTRkODIy; Expires=Sat, 22-Oct-2016 15:38:50 GMT; Path=/
|
21
|
+
Vary: Accept-Charset,Accept-Encoding,Accept-Language,Accept,User-Agent
|
22
|
+
Accept-Ranges: bytes
|
23
|
+
Cache-Control: max-age=7200
|
24
|
+
Expires: Mon, 24 Oct 2011 17:35:44 GMT
|
25
|
+
Transfer-Encoding: chunked
|
26
|
+
Content-Type: application/json;charset=UTF-8
|
27
|
+
|
28
|
+
|
29
|
+
headers_hash: !map:Typhoeus::NormalizedHeaderHash
|
30
|
+
Vary: Accept-Charset,Accept-Encoding,Accept-Language,Accept,User-Agent
|
31
|
+
Access-Control-Allow-Methods: POST, GET, OPTIONS, DELETE, PUT
|
32
|
+
P3p: policyref="/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV TAI PSA PSD CON OUR IND UNI PUR COM CNT"
|
33
|
+
Transfer-Encoding: chunked
|
34
|
+
Access-Control-Allow-Origin: "*"
|
35
|
+
Content-Type: application/json;charset=UTF-8
|
36
|
+
Date: Mon, 24 Oct 2011 15:35:44 GMT
|
37
|
+
Accept-Ranges: bytes
|
38
|
+
Server: Apache/2.0.55 (Red Hat)
|
39
|
+
Set-Cookie:
|
40
|
+
- JSESSIONID=210C66A30FF24B8B63B0085D2964B4C9.web01; Path=/; Secure
|
41
|
+
- JSESSIONID=210C66A30FF24B8B63B0085D2964B4C9.web01; Path=/
|
42
|
+
- ANONYMOUS_HASHED_REMEMBER_ME_COOKIE_KEY=eEhKVG5tVExGUVByUEp0ejoxMzIwNjgwMzMwODQ3OjJhYTNhMmRiYTAyODcyODVkYmRjNmJhOWU0OTRkODIy; Expires=Sat, 22-Oct-2016 15:38:50 GMT; Path=/
|
43
|
+
Expires: Mon, 24 Oct 2011 17:35:44 GMT
|
44
|
+
Cache-Control: max-age=7200
|
45
|
+
Accept-Charset: utf-8
|
46
|
+
http_version:
|
47
|
+
mock: false
|
48
|
+
name_lookup_time: 0.045564
|
49
|
+
pretransfer_time: 0.81427
|
50
|
+
request: |-
|
51
|
+
:method => :get,
|
52
|
+
:url => https://test.amiando.com/api/ticketCategory/1076693?apikey=5Tgoob95gX5WqjF0FIjxoJHLNp7YEgAlLuXZdzMuYXaxZZaah3&format=json&version=1,
|
53
|
+
:params => {:version=>1, :format=>:json, :apikey=>"5Tgoob95gX5WqjF0FIjxoJHLNp7YEgAlLuXZdzMuYXaxZZaah3"},
|
54
|
+
:headers => {"User-Agent"=>"Typhoeus - http://github.com/dbalatero/typhoeus/tree/master"}
|
55
|
+
requested_http_method:
|
56
|
+
requested_url:
|
57
|
+
start_time:
|
58
|
+
start_transfer_time: 0.985056
|
59
|
+
status_message: OK
|
60
|
+
time: 0.985147
|
@@ -0,0 +1,60 @@
|
|
1
|
+
--- !ruby/object:Typhoeus::Response
|
2
|
+
app_connect_time: 3.150905
|
3
|
+
body: "{\"success\":true,\"ticketCategories\":[{\"minSellRequired\":false,\"status\":\"STATUS_SELLING\",\"available\":1,\"displayPrice\":false,\"id\":1076693,\"price\":50,\"priceEditable\":true,\"name\":\"New name\",\"displayQuantity\":false,\"active\":true,\"reservedCount\":0,\"defaultValue\":0,\"sold\":0},{\"minSellRequired\":false,\"status\":\"STATUS_SELLING\",\"available\":1,\"displayPrice\":false,\"id\":1076696,\"price\":0,\"priceEditable\":true,\"name\":\"Name\",\"displayQuantity\":false,\"active\":true,\"reservedCount\":0,\"defaultValue\":0,\"sold\":0},{\"minSellRequired\":false,\"status\":\"STATUS_SELLING\",\"available\":1,\"displayPrice\":false,\"id\":1076697,\"price\":50,\"priceEditable\":true,\"name\":\" \",\"displayQuantity\":false,\"active\":true,\"reservedCount\":0,\"defaultValue\":0,\"sold\":0},{\"minSellRequired\":false,\"status\":\"STATUS_SELLING\",\"available\":1,\"displayPrice\":false,\"id\":1076698,\"price\":50,\"priceEditable\":true,\"name\":\"Name\",\"displayQuantity\":false,\"active\":true,\"reservedCount\":0,\"defaultValue\":0,\"sold\":0}]}"
|
4
|
+
code: 200
|
5
|
+
connect_time: 2.135062
|
6
|
+
curl_error_message: No error
|
7
|
+
curl_return_code: 0
|
8
|
+
effective_url: https://test.amiando.com/api/event/349022/ticketCategories?apikey=5Tgoob95gX5WqjF0FIjxoJHLNp7YEgAlLuXZdzMuYXaxZZaah3&format=json&resultType=full&version=1
|
9
|
+
first_header_line: HTTP/1.1 200 OK
|
10
|
+
headers: |
|
11
|
+
HTTP/1.1 200 OK
|
12
|
+
Date: Mon, 24 Oct 2011 15:49:03 GMT
|
13
|
+
Server: Apache/2.0.55 (Red Hat)
|
14
|
+
Set-Cookie: JSESSIONID=BCCC8256DD230D2BBAE78FB6FBD16099.web01; Path=/; Secure
|
15
|
+
Set-Cookie: JSESSIONID=BCCC8256DD230D2BBAE78FB6FBD16099.web01; Path=/
|
16
|
+
accept-charset: utf-8
|
17
|
+
P3P: policyref="/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV TAI PSA PSD CON OUR IND UNI PUR COM CNT"
|
18
|
+
Access-Control-Allow-Origin: *
|
19
|
+
Access-Control-Allow-Methods: POST, GET, OPTIONS, DELETE, PUT
|
20
|
+
Set-Cookie: ANONYMOUS_HASHED_REMEMBER_ME_COOKIE_KEY=S3JQdXpUOERKaGF5aFZZQjoxMzIwNjgxMTMwMTgzOmU2YjY4NjRlNDVjNzdhZWM1ZjFjODQxODdjNzA1NWQ2; Expires=Sat, 22-Oct-2016 15:52:10 GMT; Path=/
|
21
|
+
Vary: Accept-Charset,Accept-Encoding,Accept-Language,Accept,User-Agent
|
22
|
+
Accept-Ranges: bytes
|
23
|
+
Cache-Control: max-age=7200
|
24
|
+
Expires: Mon, 24 Oct 2011 17:49:03 GMT
|
25
|
+
Transfer-Encoding: chunked
|
26
|
+
Content-Type: application/json;charset=UTF-8
|
27
|
+
|
28
|
+
|
29
|
+
headers_hash: !map:Typhoeus::NormalizedHeaderHash
|
30
|
+
Vary: Accept-Charset,Accept-Encoding,Accept-Language,Accept,User-Agent
|
31
|
+
Access-Control-Allow-Methods: POST, GET, OPTIONS, DELETE, PUT
|
32
|
+
P3p: policyref="/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV TAI PSA PSD CON OUR IND UNI PUR COM CNT"
|
33
|
+
Transfer-Encoding: chunked
|
34
|
+
Access-Control-Allow-Origin: "*"
|
35
|
+
Content-Type: application/json;charset=UTF-8
|
36
|
+
Date: Mon, 24 Oct 2011 15:49:03 GMT
|
37
|
+
Accept-Ranges: bytes
|
38
|
+
Server: Apache/2.0.55 (Red Hat)
|
39
|
+
Set-Cookie:
|
40
|
+
- JSESSIONID=BCCC8256DD230D2BBAE78FB6FBD16099.web01; Path=/; Secure
|
41
|
+
- JSESSIONID=BCCC8256DD230D2BBAE78FB6FBD16099.web01; Path=/
|
42
|
+
- ANONYMOUS_HASHED_REMEMBER_ME_COOKIE_KEY=S3JQdXpUOERKaGF5aFZZQjoxMzIwNjgxMTMwMTgzOmU2YjY4NjRlNDVjNzdhZWM1ZjFjODQxODdjNzA1NWQ2; Expires=Sat, 22-Oct-2016 15:52:10 GMT; Path=/
|
43
|
+
Expires: Mon, 24 Oct 2011 17:49:03 GMT
|
44
|
+
Cache-Control: max-age=7200
|
45
|
+
Accept-Charset: utf-8
|
46
|
+
http_version:
|
47
|
+
mock: false
|
48
|
+
name_lookup_time: 0.771832
|
49
|
+
pretransfer_time: 3.150908
|
50
|
+
request: |-
|
51
|
+
:method => :get,
|
52
|
+
:url => https://test.amiando.com/api/event/349022/ticketCategories?apikey=5Tgoob95gX5WqjF0FIjxoJHLNp7YEgAlLuXZdzMuYXaxZZaah3&format=json&resultType=full&version=1,
|
53
|
+
:params => {:version=>1, :resultType=>:full, :format=>:json, :apikey=>"5Tgoob95gX5WqjF0FIjxoJHLNp7YEgAlLuXZdzMuYXaxZZaah3"},
|
54
|
+
:headers => {"User-Agent"=>"Typhoeus - http://github.com/dbalatero/typhoeus/tree/master"}
|
55
|
+
requested_http_method:
|
56
|
+
requested_url:
|
57
|
+
start_time:
|
58
|
+
start_transfer_time: 3.308647
|
59
|
+
status_message: OK
|
60
|
+
time: 3.308763
|