quicktravel_client 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (104) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +25 -0
  3. data/.rspec +2 -0
  4. data/.rubocop.yml +13 -0
  5. data/.ruby-version +1 -0
  6. data/.travis.yml +18 -0
  7. data/Gemfile +5 -0
  8. data/LICENSE +22 -0
  9. data/README.md +17 -0
  10. data/Rakefile +18 -0
  11. data/bootstrap/boot.rb +4 -0
  12. data/examples/example_config.rb +4 -0
  13. data/examples/login_example.rb +25 -0
  14. data/lib/extensions.rb +12 -0
  15. data/lib/quick_travel/accommodation.rb +72 -0
  16. data/lib/quick_travel/adapter.rb +283 -0
  17. data/lib/quick_travel/adapter_exception.rb +20 -0
  18. data/lib/quick_travel/address.rb +27 -0
  19. data/lib/quick_travel/adjustment.rb +8 -0
  20. data/lib/quick_travel/background_check.rb +9 -0
  21. data/lib/quick_travel/bed_configuration.rb +7 -0
  22. data/lib/quick_travel/bed_requirement.rb +7 -0
  23. data/lib/quick_travel/booking.rb +370 -0
  24. data/lib/quick_travel/cache.rb +38 -0
  25. data/lib/quick_travel/client.rb +8 -0
  26. data/lib/quick_travel/client_type.rb +6 -0
  27. data/lib/quick_travel/config.rb +26 -0
  28. data/lib/quick_travel/connection_error.rb +9 -0
  29. data/lib/quick_travel/constants.rb +16 -0
  30. data/lib/quick_travel/contact.rb +5 -0
  31. data/lib/quick_travel/country.rb +11 -0
  32. data/lib/quick_travel/credit_card.rb +12 -0
  33. data/lib/quick_travel/discounts/booking_discount.rb +18 -0
  34. data/lib/quick_travel/discounts/discount.rb +21 -0
  35. data/lib/quick_travel/discounts/discount_tree.rb +35 -0
  36. data/lib/quick_travel/discounts.rb +3 -0
  37. data/lib/quick_travel/document.rb +20 -0
  38. data/lib/quick_travel/document_group.rb +14 -0
  39. data/lib/quick_travel/encrypt.rb +13 -0
  40. data/lib/quick_travel/graphic.rb +18 -0
  41. data/lib/quick_travel/init_from_hash.rb +16 -0
  42. data/lib/quick_travel/location.rb +14 -0
  43. data/lib/quick_travel/mock.rb +41 -0
  44. data/lib/quick_travel/party.rb +49 -0
  45. data/lib/quick_travel/passenger.rb +7 -0
  46. data/lib/quick_travel/passenger_price_break.rb +8 -0
  47. data/lib/quick_travel/passenger_type.rb +21 -0
  48. data/lib/quick_travel/payment.rb +41 -0
  49. data/lib/quick_travel/payment_type.rb +37 -0
  50. data/lib/quick_travel/price.rb +14 -0
  51. data/lib/quick_travel/product.rb +165 -0
  52. data/lib/quick_travel/product_configuration.rb +134 -0
  53. data/lib/quick_travel/product_passenger_search_criteria.rb +28 -0
  54. data/lib/quick_travel/product_type.rb +28 -0
  55. data/lib/quick_travel/property.rb +99 -0
  56. data/lib/quick_travel/property_facility.rb +7 -0
  57. data/lib/quick_travel/property_type.rb +20 -0
  58. data/lib/quick_travel/region.rb +21 -0
  59. data/lib/quick_travel/reservation.rb +110 -0
  60. data/lib/quick_travel/resource.rb +50 -0
  61. data/lib/quick_travel/room_facility.rb +7 -0
  62. data/lib/quick_travel/route.rb +81 -0
  63. data/lib/quick_travel/route_stop.rb +7 -0
  64. data/lib/quick_travel/search.rb +14 -0
  65. data/lib/quick_travel/service.rb +5 -0
  66. data/lib/quick_travel/trip.rb +8 -0
  67. data/lib/quick_travel/vehicle.rb +17 -0
  68. data/lib/quick_travel/vehicle_type.rb +11 -0
  69. data/lib/quick_travel/version.rb +3 -0
  70. data/lib/quick_travel.rb +59 -0
  71. data/lib/quicktravel_client.rb +1 -0
  72. data/quicktravel_client.gemspec +37 -0
  73. data/spec/booking_spec.rb +107 -0
  74. data/spec/country_spec.rb +18 -0
  75. data/spec/credit_card_spec.rb +11 -0
  76. data/spec/discounts_spec.rb +121 -0
  77. data/spec/passenger_type_spec.rb +32 -0
  78. data/spec/payment_type_spec.rb +18 -0
  79. data/spec/product_spec.rb +82 -0
  80. data/spec/region_spec.rb +29 -0
  81. data/spec/reservation_spec.rb +50 -0
  82. data/spec/resource_spec.rb +22 -0
  83. data/spec/spec_helper.rb +77 -0
  84. data/spec/support/cassettes/booking_create.yml +50 -0
  85. data/spec/support/cassettes/booking_create_legacy.yml +50 -0
  86. data/spec/support/cassettes/booking_discounts.yml +53 -0
  87. data/spec/support/cassettes/booking_documents.yml +48 -0
  88. data/spec/support/cassettes/booking_show.yml +49 -0
  89. data/spec/support/cassettes/booking_update.yml +94 -0
  90. data/spec/support/cassettes/booking_with_discounts.yml +72 -0
  91. data/spec/support/cassettes/booking_with_documents.yml +117 -0
  92. data/spec/support/cassettes/booking_with_nested_attributes.yml +187 -0
  93. data/spec/support/cassettes/country_all.yml +127 -0
  94. data/spec/support/cassettes/create_reservation_fail.yml +47 -0
  95. data/spec/support/cassettes/create_reservation_with_booking.yml +53 -0
  96. data/spec/support/cassettes/passenger_all.yml +48 -0
  97. data/spec/support/cassettes/product_date_range_bookability.yml +118 -0
  98. data/spec/support/cassettes/product_show.yml +52 -0
  99. data/spec/support/cassettes/region_index.yml +48 -0
  100. data/spec/support/cassettes/region_show.yml +48 -0
  101. data/spec/support/cassettes/reservation_with_extra_picks.yml +165 -0
  102. data/spec/support/cassettes/resource_fare_bases.yml +97 -0
  103. data/spec/support/cassettes/resource_show.yml +50 -0
  104. metadata +421 -0
@@ -0,0 +1,187 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://0.0.0.0:8080/api/bookings/1.json?
6
+ body:
7
+ encoding: UTF-8
8
+ string: access_key=<QT_KEY>
9
+ headers:
10
+ content-length:
11
+ - '0'
12
+ response:
13
+ status:
14
+ code: 200
15
+ message: 'OK '
16
+ headers:
17
+ p3p:
18
+ - CP="IDC DSP CAO COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT"
19
+ content-type:
20
+ - application/json; charset=utf-8
21
+ x-ua-compatible:
22
+ - IE=Edge
23
+ etag:
24
+ - '"c90ba69129d43f6216802c19054fb541"'
25
+ cache-control:
26
+ - max-age=0, private, must-revalidate
27
+ x-request-id:
28
+ - e71fa456f2cb4604089604628e7fa140
29
+ x-runtime:
30
+ - '0.249098'
31
+ date:
32
+ - Wed, 25 Mar 2015 01:30:09 GMT
33
+ x-rack-cache:
34
+ - miss
35
+ server:
36
+ - WEBrick/1.3.1 (Ruby/2.1.5/2014-11-13)
37
+ content-length:
38
+ - '11713'
39
+ connection:
40
+ - close
41
+ set-cookie:
42
+ - _session_id=37e646796e109e9c78cfbb13edd9a652; path=/; HttpOnly
43
+ body:
44
+ encoding: UTF-8
45
+ string: '{"id":1,"state":"new","reference":"222223","public_comments":null,"internal_comments":null,"customer_contact_name":null,"customer_contact_phone":null,"customer_contact_mobile":null,"customer_contact_email":null,"currency_iso_code":"AUD","country_id":14,"post_code":null,"referral_code_id":1,"total_adjustments_in_cents":0,"pre_adjusted_gross_in_cents":38000,"nett_in_cents":38000,"gross_in_cents":38000,"commission_in_cents":0,"balance_in_cents":38000,"paid_in_cents":0,"surcharge_in_cents":0,"deposit_in_cents":0,"web_site_name":null,"promo_code":null,"insurance_offered":false,"deposit_due_on":{"_type":"Date","_value":"2016-03-01T00:00:00+10:30"},"balance_due_on":{"_type":"Date","_value":"2016-03-01T00:00:00+10:30"},"first_travel_date":{"_type":"Date","_value":"2016-03-01"},"last_travel_date":{"_type":"Date","_value":"2016-03-02"},"complete":true,"reason_not_complete":null,"discardable_in":-1084280,"inactivatable_in":-1086425,"notices":{},"deposit_relevant":false,"passenger_ids":[1,2],"vehicle_ids":[],"reservation_ids":[1,3,2],"adjustment_ids":[],"todo_items":[],"confirmation_requests":[],"passengers_attributes":[{"id":1,"title":null,"first_name":null,"last_name":null,"passenger_type_id":1,"age":30,"gender":null,"position":1},{"id":2,"title":null,"first_name":null,"last_name":null,"passenger_type_id":1,"age":30,"gender":null,"position":2}],"vehicles_attributes":[],"reservations_attributes":[{"id":1,"booking_id":1,"description":"A
46
+ basic studio room","comment":"","active":true,"service_ids":[3,4],"resource_id":6,"quantity":null,"complete":true,"reason_not_complete":null,"enough_time_before_travel_to_edit":true,"bed_configuration":"1
47
+ x Double","product_type_id":2,"itinerary_footer":false,"fare_basis_set_id":12,"manually_priced":false,"manually_assigned_fare_basis_set":false,"has_fare_basis":true,"fare_basis_season_name":"","fare_basis_pointer_id":6,"pick_up_info":null,"drop_off_info":null,"selection_name":"Hilton
48
+ Hotel: Executive Room","product_name_underscore":"accommodation","resource_class_name_underscore":"accommodation","resource_class_name":"Accommodation","first_travel_date":{"_type":"Date","_value":"2016-03-01"},"last_travel_date":{"_type":"Date","_value":"2016-03-02"},"durational":true,"duration":2,"checkout_date":{"_type":"Date","_value":"2016-03-03"},"duration_units":"Nights","date_start_label":"In:","date_end_label":"Out:","accommodation_extra_picks":false,"has_skipped_reservation_groups":false,"editable_reservation_groups":[],"tariff_level_name":"Auto
49
+ Priced as: Rack Rate","gross_including_packaged_item_in_cents":38000,"pre_adjusted_gross_including_packaged_item_in_cents":64000,"gross_in_cents":20000,"pre_adjusted_gross_in_cents":40000,"pre_adjusted_commission_in_cents":0,"cost_in_cents":20000,"sub_items_gross_in_cents":18000,"adjustments_attributes":[{"id":6,"gross_in_cents":-20000,"creator":{"_access_ip":null,"_access_key":null,"_crypted_password":null,"_login":null,"_password":null,"_remember_token":null,"_remember_token_expires_at":null,"_salt":null,"active":true,"age":null,"business_number":null,"business_number_type":null,"created_at":"2013-03-01T00:00:02+10:30","creator_id":null,"currency_iso_code":"AUD","first_name":"administrator","gender":null,"id":1,"internal_staff":true,"internal_subdivision":false,"last_name":"administrator","name":"Administrator
50
+ Administrator","notes":null,"remember_token":null,"remember_token_expires_at":null,"salt":null,"title":null,"updated_at":"2013-03-01T00:00:03+10:30","updator_id":null},"created_at":"2013-03-01T00:40:04+10:30","description":"50%
51
+ Off","adjustable_item_type":"Reservation","adjustable_item_id":1,"automatic":true}],"rules":[{"unique_name":"Test
52
+ Discount Hilton","description":"","display_name":"Test Discount Hilton"}],"package":false,"sub_reservation_depth":0,"sub_reservations_attributes":[{"id":3,"booking_id":1,"description":"You
53
+ have declined Travel Insurance for your booking. If you wish to add Travel
54
+ Insurance to this booking, please contact the SeaLink Travel Group on 13 13
55
+ 01 prior to commencing your travels.","comment":null,"active":true,"service_ids":[7,8],"resource_id":4,"quantity":null,"complete":true,"reason_not_complete":null,"enough_time_before_travel_to_edit":true,"product_type_id":7,"itinerary_footer":true,"fare_basis_set_id":8,"manually_priced":false,"manually_assigned_fare_basis_set":false,"has_fare_basis":true,"fare_basis_season_name":"","fare_basis_pointer_id":4,"pick_up_info":null,"drop_off_info":null,"selection_name":"Travel
56
+ Insurance - Declined","product_name_underscore":"travel_insurance","resource_class_name_underscore":"insurance","resource_class_name":"Insurance","first_travel_date":{"_type":"Date","_value":"2016-03-01"},"last_travel_date":{"_type":"Date","_value":"2016-03-02"},"durational":true,"duration":2,"duration_units":"Days","date_start_label":"Start
57
+ Date:","date_end_label":"End Date:","has_skipped_reservation_groups":false,"editable_reservation_groups":[],"tariff_level_name":"Auto
58
+ Priced as: Rack Rate","gross_including_packaged_item_in_cents":12000,"pre_adjusted_gross_including_packaged_item_in_cents":12000,"gross_in_cents":12000,"pre_adjusted_gross_in_cents":12000,"pre_adjusted_commission_in_cents":0,"cost_in_cents":8000,"adjustments_attributes":[],"rules":[],"package":false,"sub_reservation_depth":1,"extra_pick":null,"child_resource":true,"pending_confirmation":false,"confirmation_request_fields":["pick_up_information","drop_off_information","vendor_pnr","notes_for_vendor","vendor_staff","note_for_inventory_type_change"],"report_reservation_changes":false,"vendor_pnr":null,"pick_up_information":null,"drop_off_information":null,"vendor_staff":null,"notes_for_vendor":null,"passenger_ids":[1,2],"passenger_splits":[{"commission_in_cents":0,"commission_percentage":"0.0","consumer_id":1,"consumer_splittable_id":3,"consumer_splittable_type":"Reservation","created_at":"2013-03-01T00:17:34+10:30","gross_in_cents":6000,"id":7,"services_deck_division_id":null,"updated_at":"2013-03-01T00:17:34+10:30"},{"commission_in_cents":0,"commission_percentage":"0.0","consumer_id":2,"consumer_splittable_id":3,"consumer_splittable_type":"Reservation","created_at":"2013-03-01T00:17:34+10:30","gross_in_cents":6000,"id":8,"services_deck_division_id":null,"updated_at":"2013-03-01T00:17:34+10:30"}],"vehicle_ids":[],"vehicle_splits":[],"consumer_grosses":{"1":6000,"2":6000}},{"id":2,"booking_id":1,"description":"QBE
59
+ Travel Insurance Policy E known as the ''Australian Cancellation and Additional
60
+ Expenses'' plan has been included into this booking. This covers you for defined
61
+ unforeseen cancellations and additional expenses. Please refer to the Product
62
+ Disclosure Statement for further information.","comment":null,"active":true,"service_ids":[5,6],"resource_id":3,"quantity":null,"complete":true,"reason_not_complete":null,"enough_time_before_travel_to_edit":true,"product_type_id":7,"itinerary_footer":true,"fare_basis_set_id":8,"manually_priced":false,"manually_assigned_fare_basis_set":false,"has_fare_basis":true,"fare_basis_season_name":"","fare_basis_pointer_id":4,"pick_up_info":null,"drop_off_info":null,"selection_name":"QBE
63
+ Travel Insurance - Policy E","product_name_underscore":"travel_insurance","resource_class_name_underscore":"insurance","resource_class_name":"Insurance","first_travel_date":{"_type":"Date","_value":"2016-03-01"},"last_travel_date":{"_type":"Date","_value":"2016-03-02"},"durational":true,"duration":2,"duration_units":"Days","date_start_label":"Start
64
+ Date:","date_end_label":"End Date:","has_skipped_reservation_groups":false,"editable_reservation_groups":[],"tariff_level_name":"Auto
65
+ Priced as: Rack Rate","gross_including_packaged_item_in_cents":6000,"pre_adjusted_gross_including_packaged_item_in_cents":12000,"gross_in_cents":6000,"pre_adjusted_gross_in_cents":12000,"pre_adjusted_commission_in_cents":0,"cost_in_cents":8000,"adjustments_attributes":[{"id":5,"gross_in_cents":-6000,"creator":{"_access_ip":null,"_access_key":null,"_crypted_password":null,"_login":null,"_password":null,"_remember_token":null,"_remember_token_expires_at":null,"_salt":null,"active":true,"age":null,"business_number":null,"business_number_type":null,"created_at":"2013-03-01T00:00:02+10:30","creator_id":null,"currency_iso_code":"AUD","first_name":"administrator","gender":null,"id":1,"internal_staff":true,"internal_subdivision":false,"last_name":"administrator","name":"Administrator
66
+ Administrator","notes":null,"remember_token":null,"remember_token_expires_at":null,"salt":null,"title":null,"updated_at":"2013-03-01T00:00:03+10:30","updator_id":null},"created_at":"2013-03-01T00:40:04+10:30","description":"50%
67
+ Off","adjustable_item_type":"Reservation","adjustable_item_id":2,"automatic":true}],"rules":[{"unique_name":"QBE
68
+ Get Me","description":"","display_name":"QBE Get Me"}],"package":false,"sub_reservation_depth":1,"extra_pick":null,"child_resource":true,"pending_confirmation":false,"confirmation_request_fields":["pick_up_information","drop_off_information","vendor_pnr","notes_for_vendor","vendor_staff","note_for_inventory_type_change"],"report_reservation_changes":false,"vendor_pnr":null,"pick_up_information":null,"drop_off_information":null,"vendor_staff":null,"notes_for_vendor":null,"passenger_ids":[1,2],"passenger_splits":[{"commission_in_cents":0,"commission_percentage":"0.0","consumer_id":1,"consumer_splittable_id":2,"consumer_splittable_type":"Reservation","created_at":"2013-03-01T00:11:08+10:30","gross_in_cents":6000,"id":3,"services_deck_division_id":null,"updated_at":"2013-03-01T00:11:08+10:30"},{"commission_in_cents":0,"commission_percentage":"0.0","consumer_id":2,"consumer_splittable_id":2,"consumer_splittable_type":"Reservation","created_at":"2013-03-01T00:11:08+10:30","gross_in_cents":6000,"id":4,"services_deck_division_id":null,"updated_at":"2013-03-01T00:11:08+10:30"}],"vehicle_ids":[],"vehicle_splits":[],"consumer_grosses":{"1":3000,"2":3000}}],"extra_pick":null,"child_resource":null,"pending_confirmation":false,"confirmation_request_fields":[],"report_reservation_changes":false,"vendor_pnr":null,"pick_up_information":null,"drop_off_information":null,"vendor_staff":null,"notes_for_vendor":null,"passenger_ids":[1,2],"passenger_splits":[{"commission_in_cents":0,"commission_percentage":"0.0","consumer_id":1,"consumer_splittable_id":1,"consumer_splittable_type":"Reservation","created_at":"2013-03-01T00:08:00+10:30","gross_in_cents":0,"id":1,"services_deck_division_id":null,"updated_at":"2013-03-01T00:08:00+10:30"},{"commission_in_cents":0,"commission_percentage":"0.0","consumer_id":2,"consumer_splittable_id":1,"consumer_splittable_type":"Reservation","created_at":"2013-03-01T00:08:00+10:30","gross_in_cents":0,"id":2,"services_deck_division_id":null,"updated_at":"2013-03-01T00:08:00+10:30"}],"vehicle_ids":[],"vehicle_splits":[],"consumer_grosses":{"1":0,"2":0}}],"adjustments_attributes":[],"payments_attributes":[],"payment_types_attributes":[{"id":5,"name":"master","description":"master","payment_method":"credit_card","credit_card_brand":"MasterCard","transaction_fee":"0.0","active":true,"position":2,"surchargeable":false,"for_frequent_traveller_redemption":false,"comment_required":false,"external":true},{"id":4,"name":"visa","description":"visa","payment_method":"credit_card","credit_card_brand":"Visa","transaction_fee":"0.0","active":true,"position":3,"surchargeable":false,"for_frequent_traveller_redemption":false,"comment_required":false,"external":true},{"id":7,"name":"PayPal","description":"Payments
69
+ made via PayPal account","payment_method":"paypal","credit_card_brand":null,"transaction_fee":"0.0","active":true,"position":6,"surchargeable":false,"for_frequent_traveller_redemption":false,"comment_required":false,"external":true}]}'
70
+ http_version: '1.1'
71
+ recorded_at: Wed, 25 Mar 2015 01:30:09 GMT
72
+ - request:
73
+ method: put
74
+ uri: http://0.0.0.0:8080/api/bookings/1/update_with_nested_attributes.json
75
+ body:
76
+ encoding: UTF-8
77
+ string: booking[customer_contact_name]=New%20Name&booking[consumers][][id]=1&booking[consumers][][title]=Mr&booking[consumers][][first_name]=New&booking[consumers][][last_name]=Name&access_key=<QT_KEY>
78
+ headers:
79
+ content-length:
80
+ - '0'
81
+ response:
82
+ status:
83
+ code: 200
84
+ message: 'OK '
85
+ headers:
86
+ p3p:
87
+ - CP="IDC DSP CAO COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT"
88
+ content-type:
89
+ - application/json; charset=utf-8
90
+ x-ua-compatible:
91
+ - IE=Edge
92
+ etag:
93
+ - '"d2ce28b9a7fd7e4407e2b0fd499b7fe4"'
94
+ cache-control:
95
+ - max-age=0, private, must-revalidate
96
+ x-request-id:
97
+ - 7062944305e268cc1a60ceb32018d770
98
+ x-runtime:
99
+ - '0.182796'
100
+ date:
101
+ - Wed, 25 Mar 2015 01:30:10 GMT
102
+ x-rack-cache:
103
+ - invalidate, pass
104
+ server:
105
+ - WEBrick/1.3.1 (Ruby/2.1.5/2014-11-13)
106
+ content-length:
107
+ - '8'
108
+ connection:
109
+ - close
110
+ set-cookie:
111
+ - _session_id=416dcbe22c583c38477158d211c53e87; path=/; HttpOnly
112
+ body:
113
+ encoding: UTF-8
114
+ string: '{"id":1}'
115
+ http_version: '1.1'
116
+ recorded_at: Wed, 25 Mar 2015 01:30:10 GMT
117
+ - request:
118
+ method: get
119
+ uri: http://0.0.0.0:8080/api/bookings/1.json?
120
+ body:
121
+ encoding: UTF-8
122
+ string: access_key=<QT_KEY>
123
+ headers:
124
+ content-length:
125
+ - '0'
126
+ response:
127
+ status:
128
+ code: 200
129
+ message: 'OK '
130
+ headers:
131
+ p3p:
132
+ - CP="IDC DSP CAO COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT"
133
+ content-type:
134
+ - application/json; charset=utf-8
135
+ x-ua-compatible:
136
+ - IE=Edge
137
+ etag:
138
+ - '"5771a7963c4039ae39d77b0b6ee5501a"'
139
+ cache-control:
140
+ - max-age=0, private, must-revalidate
141
+ x-request-id:
142
+ - 59634c1a46a133c247e1b8b6c1fd2466
143
+ x-runtime:
144
+ - '0.114468'
145
+ date:
146
+ - Wed, 25 Mar 2015 01:30:10 GMT
147
+ x-rack-cache:
148
+ - miss
149
+ server:
150
+ - WEBrick/1.3.1 (Ruby/2.1.5/2014-11-13)
151
+ content-length:
152
+ - '11712'
153
+ connection:
154
+ - close
155
+ set-cookie:
156
+ - _session_id=82c9b3452a7b2241089fd187ecf21428; path=/; HttpOnly
157
+ body:
158
+ encoding: UTF-8
159
+ string: '{"id":1,"state":"new","reference":"222223","public_comments":null,"internal_comments":null,"customer_contact_name":"New
160
+ Name","customer_contact_phone":null,"customer_contact_mobile":null,"customer_contact_email":null,"currency_iso_code":"AUD","country_id":14,"post_code":null,"referral_code_id":1,"total_adjustments_in_cents":0,"pre_adjusted_gross_in_cents":38000,"nett_in_cents":38000,"gross_in_cents":38000,"commission_in_cents":0,"balance_in_cents":38000,"paid_in_cents":0,"surcharge_in_cents":0,"deposit_in_cents":0,"web_site_name":null,"promo_code":null,"insurance_offered":false,"deposit_due_on":{"_type":"Date","_value":"2016-03-01T00:00:00+10:30"},"balance_due_on":{"_type":"Date","_value":"2016-03-01T00:00:00+10:30"},"first_travel_date":{"_type":"Date","_value":"2016-03-01"},"last_travel_date":{"_type":"Date","_value":"2016-03-02"},"complete":true,"reason_not_complete":null,"discardable_in":2160,"inactivatable_in":15,"notices":{},"deposit_relevant":false,"passenger_ids":[1,2],"vehicle_ids":[],"reservation_ids":[1,3,2],"adjustment_ids":[],"todo_items":[],"confirmation_requests":[],"passengers_attributes":[{"id":1,"title":"Mr","first_name":"New","last_name":"Name","passenger_type_id":1,"age":30,"gender":null,"position":1},{"id":2,"title":null,"first_name":null,"last_name":null,"passenger_type_id":1,"age":30,"gender":null,"position":2}],"vehicles_attributes":[],"reservations_attributes":[{"id":1,"booking_id":1,"description":"A
161
+ basic studio room","comment":"","active":true,"service_ids":[3,4],"resource_id":6,"quantity":null,"complete":true,"reason_not_complete":null,"enough_time_before_travel_to_edit":true,"bed_configuration":"1
162
+ x Double","product_type_id":2,"itinerary_footer":false,"fare_basis_set_id":12,"manually_priced":false,"manually_assigned_fare_basis_set":false,"has_fare_basis":true,"fare_basis_season_name":"","fare_basis_pointer_id":6,"pick_up_info":null,"drop_off_info":null,"selection_name":"Hilton
163
+ Hotel: Executive Room","product_name_underscore":"accommodation","resource_class_name_underscore":"accommodation","resource_class_name":"Accommodation","first_travel_date":{"_type":"Date","_value":"2016-03-01"},"last_travel_date":{"_type":"Date","_value":"2016-03-02"},"durational":true,"duration":2,"checkout_date":{"_type":"Date","_value":"2016-03-03"},"duration_units":"Nights","date_start_label":"In:","date_end_label":"Out:","accommodation_extra_picks":false,"has_skipped_reservation_groups":false,"editable_reservation_groups":[],"tariff_level_name":"Auto
164
+ Priced as: Rack Rate","gross_including_packaged_item_in_cents":38000,"pre_adjusted_gross_including_packaged_item_in_cents":64000,"gross_in_cents":20000,"pre_adjusted_gross_in_cents":40000,"pre_adjusted_commission_in_cents":0,"cost_in_cents":20000,"sub_items_gross_in_cents":18000,"adjustments_attributes":[{"id":6,"gross_in_cents":-20000,"creator":{"_access_ip":null,"_access_key":null,"_crypted_password":null,"_login":null,"_password":null,"_remember_token":null,"_remember_token_expires_at":null,"_salt":null,"active":true,"age":null,"business_number":null,"business_number_type":null,"created_at":"2013-03-01T00:00:02+10:30","creator_id":null,"currency_iso_code":"AUD","first_name":"administrator","gender":null,"id":1,"internal_staff":true,"internal_subdivision":false,"last_name":"administrator","name":"Administrator
165
+ Administrator","notes":null,"remember_token":null,"remember_token_expires_at":null,"salt":null,"title":null,"updated_at":"2013-03-01T00:00:03+10:30","updator_id":null},"created_at":"2013-03-01T00:40:04+10:30","description":"50%
166
+ Off","adjustable_item_type":"Reservation","adjustable_item_id":1,"automatic":true}],"rules":[{"unique_name":"Test
167
+ Discount Hilton","description":"","display_name":"Test Discount Hilton"}],"package":false,"sub_reservation_depth":0,"sub_reservations_attributes":[{"id":3,"booking_id":1,"description":"You
168
+ have declined Travel Insurance for your booking. If you wish to add Travel
169
+ Insurance to this booking, please contact the SeaLink Travel Group on 13 13
170
+ 01 prior to commencing your travels.","comment":null,"active":true,"service_ids":[7,8],"resource_id":4,"quantity":null,"complete":true,"reason_not_complete":null,"enough_time_before_travel_to_edit":true,"product_type_id":7,"itinerary_footer":true,"fare_basis_set_id":8,"manually_priced":false,"manually_assigned_fare_basis_set":false,"has_fare_basis":true,"fare_basis_season_name":"","fare_basis_pointer_id":4,"pick_up_info":null,"drop_off_info":null,"selection_name":"Travel
171
+ Insurance - Declined","product_name_underscore":"travel_insurance","resource_class_name_underscore":"insurance","resource_class_name":"Insurance","first_travel_date":{"_type":"Date","_value":"2016-03-01"},"last_travel_date":{"_type":"Date","_value":"2016-03-02"},"durational":true,"duration":2,"duration_units":"Days","date_start_label":"Start
172
+ Date:","date_end_label":"End Date:","has_skipped_reservation_groups":false,"editable_reservation_groups":[],"tariff_level_name":"Auto
173
+ Priced as: Rack Rate","gross_including_packaged_item_in_cents":12000,"pre_adjusted_gross_including_packaged_item_in_cents":12000,"gross_in_cents":12000,"pre_adjusted_gross_in_cents":12000,"pre_adjusted_commission_in_cents":0,"cost_in_cents":8000,"adjustments_attributes":[],"rules":[],"package":false,"sub_reservation_depth":1,"extra_pick":null,"child_resource":true,"pending_confirmation":false,"confirmation_request_fields":["pick_up_information","drop_off_information","vendor_pnr","notes_for_vendor","vendor_staff","note_for_inventory_type_change"],"report_reservation_changes":false,"vendor_pnr":null,"pick_up_information":null,"drop_off_information":null,"vendor_staff":null,"notes_for_vendor":null,"passenger_ids":[1,2],"passenger_splits":[{"commission_in_cents":0,"commission_percentage":"0.0","consumer_id":1,"consumer_splittable_id":3,"consumer_splittable_type":"Reservation","created_at":"2013-03-01T00:17:34+10:30","gross_in_cents":6000,"id":7,"services_deck_division_id":null,"updated_at":"2013-03-01T00:17:34+10:30"},{"commission_in_cents":0,"commission_percentage":"0.0","consumer_id":2,"consumer_splittable_id":3,"consumer_splittable_type":"Reservation","created_at":"2013-03-01T00:17:34+10:30","gross_in_cents":6000,"id":8,"services_deck_division_id":null,"updated_at":"2013-03-01T00:17:34+10:30"}],"vehicle_ids":[],"vehicle_splits":[],"consumer_grosses":{"1":6000,"2":6000}},{"id":2,"booking_id":1,"description":"QBE
174
+ Travel Insurance Policy E known as the ''Australian Cancellation and Additional
175
+ Expenses'' plan has been included into this booking. This covers you for defined
176
+ unforeseen cancellations and additional expenses. Please refer to the Product
177
+ Disclosure Statement for further information.","comment":null,"active":true,"service_ids":[5,6],"resource_id":3,"quantity":null,"complete":true,"reason_not_complete":null,"enough_time_before_travel_to_edit":true,"product_type_id":7,"itinerary_footer":true,"fare_basis_set_id":8,"manually_priced":false,"manually_assigned_fare_basis_set":false,"has_fare_basis":true,"fare_basis_season_name":"","fare_basis_pointer_id":4,"pick_up_info":null,"drop_off_info":null,"selection_name":"QBE
178
+ Travel Insurance - Policy E","product_name_underscore":"travel_insurance","resource_class_name_underscore":"insurance","resource_class_name":"Insurance","first_travel_date":{"_type":"Date","_value":"2016-03-01"},"last_travel_date":{"_type":"Date","_value":"2016-03-02"},"durational":true,"duration":2,"duration_units":"Days","date_start_label":"Start
179
+ Date:","date_end_label":"End Date:","has_skipped_reservation_groups":false,"editable_reservation_groups":[],"tariff_level_name":"Auto
180
+ Priced as: Rack Rate","gross_including_packaged_item_in_cents":6000,"pre_adjusted_gross_including_packaged_item_in_cents":12000,"gross_in_cents":6000,"pre_adjusted_gross_in_cents":12000,"pre_adjusted_commission_in_cents":0,"cost_in_cents":8000,"adjustments_attributes":[{"id":5,"gross_in_cents":-6000,"creator":{"_access_ip":null,"_access_key":null,"_crypted_password":null,"_login":null,"_password":null,"_remember_token":null,"_remember_token_expires_at":null,"_salt":null,"active":true,"age":null,"business_number":null,"business_number_type":null,"created_at":"2013-03-01T00:00:02+10:30","creator_id":null,"currency_iso_code":"AUD","first_name":"administrator","gender":null,"id":1,"internal_staff":true,"internal_subdivision":false,"last_name":"administrator","name":"Administrator
181
+ Administrator","notes":null,"remember_token":null,"remember_token_expires_at":null,"salt":null,"title":null,"updated_at":"2013-03-01T00:00:03+10:30","updator_id":null},"created_at":"2013-03-01T00:40:04+10:30","description":"50%
182
+ Off","adjustable_item_type":"Reservation","adjustable_item_id":2,"automatic":true}],"rules":[{"unique_name":"QBE
183
+ Get Me","description":"","display_name":"QBE Get Me"}],"package":false,"sub_reservation_depth":1,"extra_pick":null,"child_resource":true,"pending_confirmation":false,"confirmation_request_fields":["pick_up_information","drop_off_information","vendor_pnr","notes_for_vendor","vendor_staff","note_for_inventory_type_change"],"report_reservation_changes":false,"vendor_pnr":null,"pick_up_information":null,"drop_off_information":null,"vendor_staff":null,"notes_for_vendor":null,"passenger_ids":[1,2],"passenger_splits":[{"commission_in_cents":0,"commission_percentage":"0.0","consumer_id":1,"consumer_splittable_id":2,"consumer_splittable_type":"Reservation","created_at":"2013-03-01T00:11:08+10:30","gross_in_cents":6000,"id":3,"services_deck_division_id":null,"updated_at":"2013-03-01T00:11:08+10:30"},{"commission_in_cents":0,"commission_percentage":"0.0","consumer_id":2,"consumer_splittable_id":2,"consumer_splittable_type":"Reservation","created_at":"2013-03-01T00:11:08+10:30","gross_in_cents":6000,"id":4,"services_deck_division_id":null,"updated_at":"2013-03-01T00:11:08+10:30"}],"vehicle_ids":[],"vehicle_splits":[],"consumer_grosses":{"1":3000,"2":3000}}],"extra_pick":null,"child_resource":null,"pending_confirmation":false,"confirmation_request_fields":[],"report_reservation_changes":false,"vendor_pnr":null,"pick_up_information":null,"drop_off_information":null,"vendor_staff":null,"notes_for_vendor":null,"passenger_ids":[1,2],"passenger_splits":[{"commission_in_cents":0,"commission_percentage":"0.0","consumer_id":1,"consumer_splittable_id":1,"consumer_splittable_type":"Reservation","created_at":"2013-03-01T00:08:00+10:30","gross_in_cents":0,"id":1,"services_deck_division_id":null,"updated_at":"2013-03-01T00:08:00+10:30"},{"commission_in_cents":0,"commission_percentage":"0.0","consumer_id":2,"consumer_splittable_id":1,"consumer_splittable_type":"Reservation","created_at":"2013-03-01T00:08:00+10:30","gross_in_cents":0,"id":2,"services_deck_division_id":null,"updated_at":"2013-03-01T00:08:00+10:30"}],"vehicle_ids":[],"vehicle_splits":[],"consumer_grosses":{"1":0,"2":0}}],"adjustments_attributes":[],"payments_attributes":[],"payment_types_attributes":[{"id":5,"name":"master","description":"master","payment_method":"credit_card","credit_card_brand":"MasterCard","transaction_fee":"0.0","active":true,"position":2,"surchargeable":false,"for_frequent_traveller_redemption":false,"comment_required":false,"external":true},{"id":4,"name":"visa","description":"visa","payment_method":"credit_card","credit_card_brand":"Visa","transaction_fee":"0.0","active":true,"position":3,"surchargeable":false,"for_frequent_traveller_redemption":false,"comment_required":false,"external":true},{"id":7,"name":"PayPal","description":"Payments
184
+ made via PayPal account","payment_method":"paypal","credit_card_brand":null,"transaction_fee":"0.0","active":true,"position":6,"surchargeable":false,"for_frequent_traveller_redemption":false,"comment_required":false,"external":true}]}'
185
+ http_version: '1.1'
186
+ recorded_at: Wed, 25 Mar 2015 01:30:10 GMT
187
+ recorded_with: VCR 2.9.3
@@ -0,0 +1,127 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://0.0.0.0:8080/api/countries.json?
6
+ body:
7
+ encoding: US-ASCII
8
+ string: access_key=<QT_KEY>
9
+ headers:
10
+ content-length:
11
+ - '0'
12
+ response:
13
+ status:
14
+ code: 200
15
+ message: ! 'OK '
16
+ headers:
17
+ p3p:
18
+ - CP="IDC DSP CAO COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT"
19
+ content-type:
20
+ - application/json; charset=utf-8
21
+ x-ua-compatible:
22
+ - IE=Edge,chrome=1
23
+ etag:
24
+ - ! '"4b81caf850c90a277ec60621b06aae8b"'
25
+ cache-control:
26
+ - max-age=0, private, must-revalidate
27
+ x-request-id:
28
+ - e3071cbfd4498af36feca90943cdb645
29
+ x-runtime:
30
+ - '0.065876'
31
+ date:
32
+ - Thu, 28 Feb 2013 14:22:16 GMT
33
+ x-rack-cache:
34
+ - miss
35
+ server:
36
+ - WEBrick/1.3.1 (Ruby/2.1.5/2014-11-13)
37
+ content-length:
38
+ - '41663'
39
+ connection:
40
+ - close
41
+ set-cookie:
42
+ - _session_id=0b99b7d4909c23971630a3e35524d350; path=/; HttpOnly
43
+ body:
44
+ encoding: US-ASCII
45
+ string: ! '[{"created_at":"2013-03-01T00:00:00+10:30","id":1,"iso_3166_code":"AD","latitude":42.3,"longitude":-1.3,"name":"Andorra","updated_at":"2013-03-01T00:00:00+10:30"},{"created_at":"2013-03-01T00:00:01+10:30","id":2,"iso_3166_code":"AE","latitude":24.0,"longitude":-54.0,"name":"United
46
+ Arab Emirates","updated_at":"2013-03-01T00:00:01+10:30"},{"created_at":"2013-03-01T00:00:01+10:30","id":3,"iso_3166_code":"AF","latitude":33.0,"longitude":-65.0,"name":"Afghanistan","updated_at":"2013-03-01T00:00:01+10:30"},{"created_at":"2013-03-01T00:00:03+10:30","id":4,"iso_3166_code":"AG","latitude":17.03,"longitude":61.48,"name":"Antigua
47
+ and Barbuda","updated_at":"2013-03-01T00:00:03+10:30"},{"created_at":"2013-03-01T00:00:03+10:30","id":5,"iso_3166_code":"AI","latitude":18.15,"longitude":63.1,"name":"Anguilla","updated_at":"2013-03-01T00:00:03+10:30"},{"created_at":"2013-03-01T00:00:03+10:30","id":6,"iso_3166_code":"AL","latitude":41.0,"longitude":-20.0,"name":"Albania","updated_at":"2013-03-01T00:00:03+10:30"},{"created_at":"2013-03-01T00:00:04+10:30","id":7,"iso_3166_code":"AM","latitude":40.0,"longitude":-45.0,"name":"Armenia","updated_at":"2013-03-01T00:00:04+10:30"},{"created_at":"2013-03-01T00:00:05+10:30","id":8,"iso_3166_code":"AN","latitude":0.0,"longitude":0.0,"name":"Netherlands
48
+ Antilles","updated_at":"2013-03-01T00:00:05+10:30"},{"created_at":"2013-03-01T00:00:05+10:30","id":9,"iso_3166_code":"AO","latitude":-12.3,"longitude":-18.3,"name":"Angola","updated_at":"2013-03-01T00:00:05+10:30"},{"created_at":"2013-03-01T00:00:06+10:30","id":10,"iso_3166_code":"AQ","latitude":-90.0,"longitude":0.0,"name":"Antarctica","updated_at":"2013-03-01T00:00:06+10:30"},{"created_at":"2013-03-01T00:00:06+10:30","id":11,"iso_3166_code":"AR","latitude":-34.0,"longitude":64.0,"name":"Argentina","updated_at":"2013-03-01T00:00:06+10:30"},{"created_at":"2013-03-01T00:00:07+10:30","id":12,"iso_3166_code":"AS","latitude":-14.2,"longitude":170.0,"name":"American
49
+ Samoa","updated_at":"2013-03-01T00:00:07+10:30"},{"created_at":"2013-03-01T00:00:07+10:30","id":13,"iso_3166_code":"AT","latitude":47.2,"longitude":-13.2,"name":"Austria","updated_at":"2013-03-01T00:00:07+10:30"},{"created_at":"2013-03-01T00:00:07+10:30","id":14,"iso_3166_code":"AU","latitude":-27.0,"longitude":-133.0,"name":"Australia","updated_at":"2013-03-01T00:00:07+10:30"},{"created_at":"2013-03-01T00:00:07+10:30","id":15,"iso_3166_code":"AW","latitude":12.3,"longitude":69.58,"name":"Aruba","updated_at":"2013-03-01T00:00:07+10:30"},{"created_at":"2013-03-01T00:00:07+10:30","id":16,"iso_3166_code":"AX","latitude":0.0,"longitude":0.0,"name":"\u00c5land
50
+ Islands","updated_at":"2013-03-01T00:00:07+10:30"},{"created_at":"2013-03-01T00:00:07+10:30","id":17,"iso_3166_code":"AZ","latitude":40.3,"longitude":-47.3,"name":"Azerbaijan","updated_at":"2013-03-01T00:00:07+10:30"},{"created_at":"2013-03-01T00:00:11+10:30","id":18,"iso_3166_code":"BA","latitude":44.0,"longitude":-18.0,"name":"Bosnia
51
+ and Herzegovina","updated_at":"2013-03-01T00:00:11+10:30"},{"created_at":"2013-03-01T00:00:11+10:30","id":19,"iso_3166_code":"BB","latitude":13.1,"longitude":59.32,"name":"Barbados","updated_at":"2013-03-01T00:00:11+10:30"},{"created_at":"2013-03-01T00:00:11+10:30","id":20,"iso_3166_code":"BD","latitude":24.0,"longitude":-90.0,"name":"Bangladesh","updated_at":"2013-03-01T00:00:11+10:30"},{"created_at":"2013-03-01T00:00:14+10:30","id":21,"iso_3166_code":"BE","latitude":50.5,"longitude":-4.0,"name":"Belgium","updated_at":"2013-03-01T00:00:14+10:30"},{"created_at":"2013-03-01T00:00:15+10:30","id":22,"iso_3166_code":"BF","latitude":13.0,"longitude":2.0,"name":"Burkina
52
+ Faso","updated_at":"2013-03-01T00:00:15+10:30"},{"created_at":"2013-03-01T00:00:17+10:30","id":23,"iso_3166_code":"BG","latitude":43.0,"longitude":-25.0,"name":"Bulgaria","updated_at":"2013-03-01T00:00:17+10:30"},{"created_at":"2013-03-01T00:00:17+10:30","id":24,"iso_3166_code":"BH","latitude":26.0,"longitude":-50.33,"name":"Bahrain","updated_at":"2013-03-01T00:00:17+10:30"},{"created_at":"2013-03-01T00:00:17+10:30","id":25,"iso_3166_code":"BI","latitude":-3.3,"longitude":-30.0,"name":"Burundi","updated_at":"2013-03-01T00:00:17+10:30"},{"created_at":"2013-03-01T00:00:17+10:30","id":26,"iso_3166_code":"BJ","latitude":9.3,"longitude":-2.15,"name":"Benin","updated_at":"2013-03-01T00:00:17+10:30"},{"created_at":"2013-03-01T00:00:18+10:30","id":27,"iso_3166_code":"BL","latitude":17.9,"longitude":62.85,"name":"Saint
53
+ Barth\u00e9lemy","updated_at":"2013-03-01T00:00:18+10:30"},{"created_at":"2013-03-01T00:00:18+10:30","id":28,"iso_3166_code":"BM","latitude":32.2,"longitude":64.45,"name":"Bermuda","updated_at":"2013-03-01T00:00:18+10:30"},{"created_at":"2013-03-01T00:00:18+10:30","id":29,"iso_3166_code":"BN","latitude":4.3,"longitude":-114.4,"name":"Brunei
54
+ Darussalam","updated_at":"2013-03-01T00:00:18+10:30"},{"created_at":"2013-03-01T00:00:18+10:30","id":30,"iso_3166_code":"BO","latitude":-17.0,"longitude":65.0,"name":"Bolivia","updated_at":"2013-03-01T00:00:18+10:30"},{"created_at":"2013-03-01T00:00:18+10:30","id":31,"iso_3166_code":"BR","latitude":-10.0,"longitude":55.0,"name":"Brazil","updated_at":"2013-03-01T00:00:18+10:30"},{"created_at":"2013-03-01T00:00:19+10:30","id":32,"iso_3166_code":"BS","latitude":24.15,"longitude":76.0,"name":"Bahamas","updated_at":"2013-03-01T00:00:19+10:30"},{"created_at":"2013-03-01T00:00:20+10:30","id":33,"iso_3166_code":"BT","latitude":27.3,"longitude":-90.3,"name":"Bhutan","updated_at":"2013-03-01T00:00:20+10:30"},{"created_at":"2013-03-01T00:00:20+10:30","id":34,"iso_3166_code":"BV","latitude":-54.26,"longitude":-3.24,"name":"Bouvet
55
+ Island","updated_at":"2013-03-01T00:00:20+10:30"},{"created_at":"2013-03-01T00:00:20+10:30","id":35,"iso_3166_code":"BW","latitude":-22.0,"longitude":-24.0,"name":"Botswana","updated_at":"2013-03-01T00:00:20+10:30"},{"created_at":"2013-03-01T00:00:20+10:30","id":36,"iso_3166_code":"BY","latitude":53.0,"longitude":-28.0,"name":"Belarus","updated_at":"2013-03-01T00:00:20+10:30"},{"created_at":"2013-03-01T00:00:21+10:30","id":37,"iso_3166_code":"BZ","latitude":17.15,"longitude":88.45,"name":"Belize","updated_at":"2013-03-01T00:00:21+10:30"},{"created_at":"2013-03-01T00:00:21+10:30","id":38,"iso_3166_code":"CA","latitude":60.0,"longitude":95.0,"name":"Canada","updated_at":"2013-03-01T00:00:21+10:30"},{"created_at":"2013-03-01T00:00:21+10:30","id":39,"iso_3166_code":"CC","latitude":-12.3,"longitude":-96.5,"name":"Cocos
56
+ (Keeling) Islands","updated_at":"2013-03-01T00:00:21+10:30"},{"created_at":"2013-03-01T00:00:21+10:30","id":40,"iso_3166_code":"CD","latitude":0.0,"longitude":-25.0,"name":"Congo,
57
+ The Democratic Republic Of The","updated_at":"2013-03-01T00:00:21+10:30"},{"created_at":"2013-03-01T00:00:22+10:30","id":41,"iso_3166_code":"CF","latitude":7.0,"longitude":-21.0,"name":"Central
58
+ African Republic","updated_at":"2013-03-01T00:00:22+10:30"},{"created_at":"2013-03-01T00:00:22+10:30","id":42,"iso_3166_code":"CG","latitude":-1.0,"longitude":-15.0,"name":"Congo","updated_at":"2013-03-01T00:00:22+10:30"},{"created_at":"2013-03-01T00:00:22+10:30","id":43,"iso_3166_code":"CH","latitude":47.0,"longitude":-8.0,"name":"Switzerland","updated_at":"2013-03-01T00:00:22+10:30"},{"created_at":"2013-03-01T00:00:23+10:30","id":44,"iso_3166_code":"CI","latitude":8.0,"longitude":5.0,"name":"C\u00f4te
59
+ D''Ivoire","updated_at":"2013-03-01T00:00:23+10:30"},{"created_at":"2013-03-01T00:00:23+10:30","id":45,"iso_3166_code":"CK","latitude":-21.14,"longitude":159.46,"name":"Cook
60
+ Islands","updated_at":"2013-03-01T00:00:23+10:30"},{"created_at":"2013-03-01T00:00:23+10:30","id":46,"iso_3166_code":"CL","latitude":-30.0,"longitude":71.0,"name":"Chile","updated_at":"2013-03-01T00:00:23+10:30"},{"created_at":"2013-03-01T00:00:23+10:30","id":47,"iso_3166_code":"CM","latitude":6.0,"longitude":-12.0,"name":"Cameroon","updated_at":"2013-03-01T00:00:23+10:30"},{"created_at":"2013-03-01T00:00:23+10:30","id":48,"iso_3166_code":"CN","latitude":35.0,"longitude":-105.0,"name":"China","updated_at":"2013-03-01T00:00:23+10:30"},{"created_at":"2013-03-01T00:00:24+10:30","id":49,"iso_3166_code":"CO","latitude":4.0,"longitude":72.0,"name":"Colombia","updated_at":"2013-03-01T00:00:24+10:30"},{"created_at":"2013-03-01T00:00:25+10:30","id":50,"iso_3166_code":"CR","latitude":10.0,"longitude":84.0,"name":"Costa
61
+ Rica","updated_at":"2013-03-01T00:00:25+10:30"},{"created_at":"2013-03-01T00:00:25+10:30","id":51,"iso_3166_code":"CU","latitude":21.3,"longitude":80.0,"name":"Cuba","updated_at":"2013-03-01T00:00:25+10:30"},{"created_at":"2013-03-01T00:00:25+10:30","id":52,"iso_3166_code":"CV","latitude":16.0,"longitude":24.0,"name":"Cape
62
+ Verde","updated_at":"2013-03-01T00:00:25+10:30"},{"created_at":"2013-03-01T00:00:26+10:30","id":53,"iso_3166_code":"CX","latitude":-10.3,"longitude":-105.4,"name":"Christmas
63
+ Island","updated_at":"2013-03-01T00:00:26+10:30"},{"created_at":"2013-03-01T00:00:26+10:30","id":54,"iso_3166_code":"CY","latitude":35.0,"longitude":-33.0,"name":"Cyprus","updated_at":"2013-03-01T00:00:26+10:30"},{"created_at":"2013-03-01T00:00:26+10:30","id":55,"iso_3166_code":"CZ","latitude":49.45,"longitude":-15.3,"name":"Czech
64
+ Republic","updated_at":"2013-03-01T00:00:26+10:30"},{"created_at":"2013-03-01T00:00:26+10:30","id":56,"iso_3166_code":"DE","latitude":51.0,"longitude":-9.0,"name":"Germany","updated_at":"2013-03-01T00:00:26+10:30"},{"created_at":"2013-03-01T00:00:26+10:30","id":57,"iso_3166_code":"DJ","latitude":11.3,"longitude":-43.0,"name":"Djibouti","updated_at":"2013-03-01T00:00:26+10:30"},{"created_at":"2013-03-01T00:00:27+10:30","id":58,"iso_3166_code":"DK","latitude":56.0,"longitude":-10.0,"name":"Denmark","updated_at":"2013-03-01T00:00:27+10:30"},{"created_at":"2013-03-01T00:00:28+10:30","id":59,"iso_3166_code":"DM","latitude":15.25,"longitude":61.2,"name":"Dominica","updated_at":"2013-03-01T00:00:28+10:30"},{"created_at":"2013-03-01T00:00:28+10:30","id":60,"iso_3166_code":"DO","latitude":19.0,"longitude":70.4,"name":"Dominican
65
+ Republic","updated_at":"2013-03-01T00:00:28+10:30"},{"created_at":"2013-03-01T00:00:28+10:30","id":61,"iso_3166_code":"DZ","latitude":28.0,"longitude":-3.0,"name":"Algeria","updated_at":"2013-03-01T00:00:28+10:30"},{"created_at":"2013-03-01T00:00:28+10:30","id":62,"iso_3166_code":"EC","latitude":-2.0,"longitude":77.3,"name":"Ecuador","updated_at":"2013-03-01T00:00:28+10:30"},{"created_at":"2013-03-01T00:00:28+10:30","id":63,"iso_3166_code":"EE","latitude":59.0,"longitude":-26.0,"name":"Estonia","updated_at":"2013-03-01T00:00:28+10:30"},{"created_at":"2013-03-01T00:00:29+10:30","id":64,"iso_3166_code":"EG","latitude":27.0,"longitude":-30.0,"name":"Egypt","updated_at":"2013-03-01T00:00:29+10:30"},{"created_at":"2013-03-01T00:00:29+10:30","id":65,"iso_3166_code":"EH","latitude":24.3,"longitude":13.0,"name":"Western
66
+ Sahara","updated_at":"2013-03-01T00:00:29+10:30"},{"created_at":"2013-03-01T00:00:30+10:30","id":66,"iso_3166_code":"ER","latitude":15.0,"longitude":-39.0,"name":"Eritrea","updated_at":"2013-03-01T00:00:30+10:30"},{"created_at":"2013-03-01T00:00:30+10:30","id":67,"iso_3166_code":"ES","latitude":40.0,"longitude":4.0,"name":"Spain","updated_at":"2013-03-01T00:00:30+10:30"},{"created_at":"2013-03-01T00:00:31+10:30","id":68,"iso_3166_code":"ET","latitude":8.0,"longitude":-38.0,"name":"Ethiopia","updated_at":"2013-03-01T00:00:31+10:30"},{"created_at":"2013-03-01T00:00:31+10:30","id":69,"iso_3166_code":"FI","latitude":64.0,"longitude":-26.0,"name":"Finland","updated_at":"2013-03-01T00:00:31+10:30"},{"created_at":"2013-03-01T00:00:31+10:30","id":70,"iso_3166_code":"FJ","latitude":-18.0,"longitude":-175.0,"name":"Fiji","updated_at":"2013-03-01T00:00:31+10:30"},{"created_at":"2013-03-01T00:00:31+10:30","id":71,"iso_3166_code":"FK","latitude":-51.45,"longitude":59.0,"name":"Falkland
67
+ Islands (Malvinas)","updated_at":"2013-03-01T00:00:31+10:30"},{"created_at":"2013-03-01T00:00:31+10:30","id":72,"iso_3166_code":"FM","latitude":6.55,"longitude":-158.15,"name":"Micronesia,
68
+ Federated States Of","updated_at":"2013-03-01T00:00:31+10:30"},{"created_at":"2013-03-01T00:00:32+10:30","id":73,"iso_3166_code":"FO","latitude":62.0,"longitude":7.0,"name":"Faroe
69
+ Islands","updated_at":"2013-03-01T00:00:32+10:30"},{"created_at":"2013-03-01T00:00:32+10:30","id":74,"iso_3166_code":"FR","latitude":46.0,"longitude":-2.0,"name":"France","updated_at":"2013-03-01T00:00:32+10:30"},{"created_at":"2013-03-01T00:00:33+10:30","id":75,"iso_3166_code":"GA","latitude":-1.0,"longitude":-11.45,"name":"Gabon","updated_at":"2013-03-01T00:00:33+10:30"},{"created_at":"2013-03-01T00:00:33+10:30","id":76,"iso_3166_code":"GB","latitude":54.0,"longitude":2.0,"name":"United
70
+ Kingdom","updated_at":"2013-03-01T00:00:33+10:30"},{"created_at":"2013-03-01T00:00:42+10:30","id":77,"iso_3166_code":"GD","latitude":12.07,"longitude":61.4,"name":"Grenada","updated_at":"2013-03-01T00:00:42+10:30"},{"created_at":"2013-03-01T00:00:42+10:30","id":78,"iso_3166_code":"GE","latitude":42.0,"longitude":-43.3,"name":"Georgia","updated_at":"2013-03-01T00:00:42+10:30"},{"created_at":"2013-03-01T00:00:43+10:30","id":79,"iso_3166_code":"GF","latitude":4.0,"longitude":53.0,"name":"French
71
+ Guiana","updated_at":"2013-03-01T00:00:43+10:30"},{"created_at":"2013-03-01T00:00:43+10:30","id":80,"iso_3166_code":"GG","latitude":49.28,"longitude":2.35,"name":"Guernsey","updated_at":"2013-03-01T00:00:43+10:30"},{"created_at":"2013-03-01T00:00:43+10:30","id":81,"iso_3166_code":"GH","latitude":8.0,"longitude":2.0,"name":"Ghana","updated_at":"2013-03-01T00:00:43+10:30"},{"created_at":"2013-03-01T00:00:43+10:30","id":82,"iso_3166_code":"GI","latitude":36.08,"longitude":5.21,"name":"Gibraltar","updated_at":"2013-03-01T00:00:43+10:30"},{"created_at":"2013-03-01T00:00:43+10:30","id":83,"iso_3166_code":"GL","latitude":72.0,"longitude":40.0,"name":"Greenland","updated_at":"2013-03-01T00:00:43+10:30"},{"created_at":"2013-03-01T00:00:43+10:30","id":84,"iso_3166_code":"GM","latitude":13.28,"longitude":16.34,"name":"Gambia","updated_at":"2013-03-01T00:00:43+10:30"},{"created_at":"2013-03-01T00:00:43+10:30","id":85,"iso_3166_code":"GN","latitude":11.0,"longitude":10.0,"name":"Guinea","updated_at":"2013-03-01T00:00:43+10:30"},{"created_at":"2013-03-01T00:00:44+10:30","id":86,"iso_3166_code":"GP","latitude":0.0,"longitude":0.0,"name":"Guadeloupe","updated_at":"2013-03-01T00:00:44+10:30"},{"created_at":"2013-03-01T00:00:44+10:30","id":87,"iso_3166_code":"GQ","latitude":2.0,"longitude":-10.0,"name":"Equatorial
72
+ Guinea","updated_at":"2013-03-01T00:00:44+10:30"},{"created_at":"2013-03-01T00:00:44+10:30","id":88,"iso_3166_code":"GR","latitude":39.0,"longitude":-22.0,"name":"Greece","updated_at":"2013-03-01T00:00:44+10:30"},{"created_at":"2013-03-01T00:00:44+10:30","id":89,"iso_3166_code":"GS","latitude":-54.3,"longitude":37.0,"name":"South
73
+ Georgia and the South Sandwich Islands","updated_at":"2013-03-01T00:00:44+10:30"},{"created_at":"2013-03-01T00:00:44+10:30","id":90,"iso_3166_code":"GT","latitude":15.3,"longitude":90.15,"name":"Guatemala","updated_at":"2013-03-01T00:00:44+10:30"},{"created_at":"2013-03-01T00:00:45+10:30","id":91,"iso_3166_code":"GU","latitude":13.28,"longitude":-144.47,"name":"Guam","updated_at":"2013-03-01T00:00:45+10:30"},{"created_at":"2013-03-01T00:00:45+10:30","id":92,"iso_3166_code":"GW","latitude":12.0,"longitude":15.0,"name":"Guinea-Bissau","updated_at":"2013-03-01T00:00:45+10:30"},{"created_at":"2013-03-01T00:00:45+10:30","id":93,"iso_3166_code":"GY","latitude":5.0,"longitude":59.0,"name":"Guyana","updated_at":"2013-03-01T00:00:45+10:30"},{"created_at":"2013-03-01T00:00:45+10:30","id":94,"iso_3166_code":"HK","latitude":22.15,"longitude":-114.1,"name":"Hong
74
+ Kong","updated_at":"2013-03-01T00:00:45+10:30"},{"created_at":"2013-03-01T00:00:45+10:30","id":95,"iso_3166_code":"HM","latitude":-53.06,"longitude":-72.31,"name":"Heard
75
+ and McDonald Islands","updated_at":"2013-03-01T00:00:45+10:30"},{"created_at":"2013-03-01T00:00:45+10:30","id":96,"iso_3166_code":"HN","latitude":15.0,"longitude":86.3,"name":"Honduras","updated_at":"2013-03-01T00:00:45+10:30"},{"created_at":"2013-03-01T00:00:46+10:30","id":97,"iso_3166_code":"HR","latitude":45.1,"longitude":-15.3,"name":"Croatia","updated_at":"2013-03-01T00:00:46+10:30"},{"created_at":"2013-03-01T00:00:46+10:30","id":98,"iso_3166_code":"HT","latitude":19.0,"longitude":72.25,"name":"Haiti","updated_at":"2013-03-01T00:00:46+10:30"},{"created_at":"2013-03-01T00:00:46+10:30","id":99,"iso_3166_code":"HU","latitude":47.0,"longitude":-20.0,"name":"Hungary","updated_at":"2013-03-01T00:00:46+10:30"},{"created_at":"2013-03-01T00:00:46+10:30","id":100,"iso_3166_code":"ID","latitude":-5.0,"longitude":-120.0,"name":"Indonesia","updated_at":"2013-03-01T00:00:46+10:30"},{"created_at":"2013-03-01T00:00:46+10:30","id":101,"iso_3166_code":"IE","latitude":53.0,"longitude":8.0,"name":"Ireland","updated_at":"2013-03-01T00:00:46+10:30"},{"created_at":"2013-03-01T00:00:47+10:30","id":102,"iso_3166_code":"IL","latitude":31.3,"longitude":-34.45,"name":"Israel","updated_at":"2013-03-01T00:00:47+10:30"},{"created_at":"2013-03-01T00:00:47+10:30","id":103,"iso_3166_code":"IM","latitude":54.15,"longitude":4.3,"name":"Isle
76
+ of Man","updated_at":"2013-03-01T00:00:47+10:30"},{"created_at":"2013-03-01T00:00:47+10:30","id":104,"iso_3166_code":"IN","latitude":20.0,"longitude":-77.0,"name":"India","updated_at":"2013-03-01T00:00:47+10:30"},{"created_at":"2013-03-01T00:00:48+10:30","id":105,"iso_3166_code":"IO","latitude":-6.0,"longitude":-71.3,"name":"British
77
+ Indian Ocean Territory","updated_at":"2013-03-01T00:00:48+10:30"},{"created_at":"2013-03-01T00:00:48+10:30","id":106,"iso_3166_code":"IQ","latitude":33.0,"longitude":-44.0,"name":"Iraq","updated_at":"2013-03-01T00:00:48+10:30"},{"created_at":"2013-03-01T00:00:48+10:30","id":107,"iso_3166_code":"IR","latitude":32.0,"longitude":-53.0,"name":"Iran,
78
+ Islamic Republic Of","updated_at":"2013-03-01T00:00:48+10:30"},{"created_at":"2013-03-01T00:00:48+10:30","id":108,"iso_3166_code":"IS","latitude":65.0,"longitude":18.0,"name":"Iceland","updated_at":"2013-03-01T00:00:48+10:30"},{"created_at":"2013-03-01T00:00:48+10:30","id":109,"iso_3166_code":"IT","latitude":42.5,"longitude":-12.5,"name":"Italy","updated_at":"2013-03-01T00:00:48+10:30"},{"created_at":"2013-03-01T00:00:49+10:30","id":110,"iso_3166_code":"JE","latitude":49.15,"longitude":2.1,"name":"Jersey","updated_at":"2013-03-01T00:00:49+10:30"},{"created_at":"2013-03-01T00:00:49+10:30","id":111,"iso_3166_code":"JM","latitude":18.15,"longitude":77.3,"name":"Jamaica","updated_at":"2013-03-01T00:00:49+10:30"},{"created_at":"2013-03-01T00:00:49+10:30","id":112,"iso_3166_code":"JO","latitude":31.0,"longitude":-36.0,"name":"Jordan","updated_at":"2013-03-01T00:00:49+10:30"},{"created_at":"2013-03-01T00:00:49+10:30","id":113,"iso_3166_code":"JP","latitude":36.0,"longitude":-138.0,"name":"Japan","updated_at":"2013-03-01T00:00:49+10:30"},{"created_at":"2013-03-01T00:00:49+10:30","id":114,"iso_3166_code":"KE","latitude":1.0,"longitude":-38.0,"name":"Kenya","updated_at":"2013-03-01T00:00:49+10:30"},{"created_at":"2013-03-01T00:00:50+10:30","id":115,"iso_3166_code":"KG","latitude":41.0,"longitude":-75.0,"name":"Kyrgyzstan","updated_at":"2013-03-01T00:00:50+10:30"},{"created_at":"2013-03-01T00:00:50+10:30","id":116,"iso_3166_code":"KH","latitude":13.0,"longitude":-105.0,"name":"Cambodia","updated_at":"2013-03-01T00:00:50+10:30"},{"created_at":"2013-03-01T00:00:50+10:30","id":117,"iso_3166_code":"KI","latitude":1.25,"longitude":-173.0,"name":"Kiribati","updated_at":"2013-03-01T00:00:50+10:30"},{"created_at":"2013-03-01T00:00:50+10:30","id":118,"iso_3166_code":"KM","latitude":-12.1,"longitude":-44.15,"name":"Comoros","updated_at":"2013-03-01T00:00:50+10:30"},{"created_at":"2013-03-01T00:00:50+10:30","id":119,"iso_3166_code":"KN","latitude":17.2,"longitude":62.45,"name":"Saint
79
+ Kitts And Nevis","updated_at":"2013-03-01T00:00:50+10:30"},{"created_at":"2013-03-01T00:00:50+10:30","id":120,"iso_3166_code":"KP","latitude":40.0,"longitude":-127.0,"name":"Korea,
80
+ Democratic People''s Republic Of","updated_at":"2013-03-01T00:00:50+10:30"},{"created_at":"2013-03-01T00:00:51+10:30","id":121,"iso_3166_code":"KR","latitude":37.0,"longitude":-127.3,"name":"Korea,
81
+ Republic of","updated_at":"2013-03-01T00:00:51+10:30"},{"created_at":"2013-03-01T00:00:51+10:30","id":122,"iso_3166_code":"KW","latitude":29.3,"longitude":-45.45,"name":"Kuwait","updated_at":"2013-03-01T00:00:51+10:30"},{"created_at":"2013-03-01T00:00:51+10:30","id":123,"iso_3166_code":"KY","latitude":19.3,"longitude":80.3,"name":"Cayman
82
+ Islands","updated_at":"2013-03-01T00:00:51+10:30"},{"created_at":"2013-03-01T00:00:51+10:30","id":124,"iso_3166_code":"KZ","latitude":48.0,"longitude":-68.0,"name":"Kazakhstan","updated_at":"2013-03-01T00:00:51+10:30"},{"created_at":"2013-03-01T00:00:52+10:30","id":125,"iso_3166_code":"LA","latitude":18.0,"longitude":-105.0,"name":"Lao
83
+ People''s Democratic Republic","updated_at":"2013-03-01T00:00:52+10:30"},{"created_at":"2013-03-01T00:00:52+10:30","id":126,"iso_3166_code":"LB","latitude":33.5,"longitude":-35.5,"name":"Lebanon","updated_at":"2013-03-01T00:00:52+10:30"},{"created_at":"2013-03-01T00:00:52+10:30","id":127,"iso_3166_code":"LC","latitude":13.53,"longitude":60.58,"name":"Saint
84
+ Lucia","updated_at":"2013-03-01T00:00:52+10:30"},{"created_at":"2013-03-01T00:00:52+10:30","id":128,"iso_3166_code":"LI","latitude":47.16,"longitude":-9.32,"name":"Liechtenstein","updated_at":"2013-03-01T00:00:52+10:30"},{"created_at":"2013-03-01T00:00:52+10:30","id":129,"iso_3166_code":"LK","latitude":7.0,"longitude":-81.0,"name":"Sri
85
+ Lanka","updated_at":"2013-03-01T00:00:52+10:30"},{"created_at":"2013-03-01T00:00:52+10:30","id":130,"iso_3166_code":"LR","latitude":6.3,"longitude":9.3,"name":"Liberia","updated_at":"2013-03-01T00:00:52+10:30"},{"created_at":"2013-03-01T00:00:52+10:30","id":131,"iso_3166_code":"LS","latitude":-29.3,"longitude":-28.3,"name":"Lesotho","updated_at":"2013-03-01T00:00:52+10:30"},{"created_at":"2013-03-01T00:00:53+10:30","id":132,"iso_3166_code":"LT","latitude":56.0,"longitude":-24.0,"name":"Lithuania","updated_at":"2013-03-01T00:00:53+10:30"},{"created_at":"2013-03-01T00:00:53+10:30","id":133,"iso_3166_code":"LU","latitude":49.45,"longitude":-6.1,"name":"Luxembourg","updated_at":"2013-03-01T00:00:53+10:30"},{"created_at":"2013-03-01T00:00:53+10:30","id":134,"iso_3166_code":"LV","latitude":57.0,"longitude":-25.0,"name":"Latvia","updated_at":"2013-03-01T00:00:53+10:30"},{"created_at":"2013-03-01T00:00:53+10:30","id":135,"iso_3166_code":"LY","latitude":25.0,"longitude":-17.0,"name":"Libya","updated_at":"2013-03-01T00:00:53+10:30"},{"created_at":"2013-03-01T00:00:54+10:30","id":136,"iso_3166_code":"MA","latitude":32.0,"longitude":5.0,"name":"Morocco","updated_at":"2013-03-01T00:00:54+10:30"},{"created_at":"2013-03-01T00:00:56+10:30","id":137,"iso_3166_code":"MC","latitude":43.44,"longitude":-7.24,"name":"Monaco","updated_at":"2013-03-01T00:00:56+10:30"},{"created_at":"2013-03-01T00:00:56+10:30","id":138,"iso_3166_code":"MD","latitude":47.0,"longitude":-29.0,"name":"Moldova,
86
+ Republic of","updated_at":"2013-03-01T00:00:56+10:30"},{"created_at":"2013-03-01T00:00:56+10:30","id":139,"iso_3166_code":"ME","latitude":42.3,"longitude":-19.18,"name":"Montenegro","updated_at":"2013-03-01T00:00:56+10:30"},{"created_at":"2013-03-01T00:00:56+10:30","id":140,"iso_3166_code":"MF","latitude":18.05,"longitude":63.57,"name":"Saint
87
+ Martin","updated_at":"2013-03-01T00:00:56+10:30"},{"created_at":"2013-03-01T00:00:56+10:30","id":141,"iso_3166_code":"MG","latitude":-20.0,"longitude":-47.0,"name":"Madagascar","updated_at":"2013-03-01T00:00:56+10:30"},{"created_at":"2013-03-01T00:00:56+10:30","id":142,"iso_3166_code":"MH","latitude":9.0,"longitude":-168.0,"name":"Marshall
88
+ Islands","updated_at":"2013-03-01T00:00:56+10:30"},{"created_at":"2013-03-01T00:00:57+10:30","id":143,"iso_3166_code":"MK","latitude":41.5,"longitude":-22.0,"name":"Macedonia,
89
+ the Former Yugoslav Republic Of","updated_at":"2013-03-01T00:00:57+10:30"},{"created_at":"2013-03-01T00:00:58+10:30","id":144,"iso_3166_code":"ML","latitude":17.0,"longitude":4.0,"name":"Mali","updated_at":"2013-03-01T00:00:58+10:30"},{"created_at":"2013-03-01T00:00:58+10:30","id":145,"iso_3166_code":"MM","latitude":22.0,"longitude":-98.0,"name":"Myanmar","updated_at":"2013-03-01T00:00:58+10:30"},{"created_at":"2013-03-01T00:00:58+10:30","id":146,"iso_3166_code":"MN","latitude":46.0,"longitude":-105.0,"name":"Mongolia","updated_at":"2013-03-01T00:00:58+10:30"},{"created_at":"2013-03-01T00:00:59+10:30","id":147,"iso_3166_code":"MO","latitude":22.1,"longitude":-113.33,"name":"Macao","updated_at":"2013-03-01T00:00:59+10:30"},{"created_at":"2013-03-01T00:00:59+10:30","id":148,"iso_3166_code":"MP","latitude":15.12,"longitude":-145.45,"name":"Northern
90
+ Mariana Islands","updated_at":"2013-03-01T00:00:59+10:30"},{"created_at":"2013-03-01T00:00:59+10:30","id":149,"iso_3166_code":"MQ","latitude":0.0,"longitude":0.0,"name":"Martinique","updated_at":"2013-03-01T00:00:59+10:30"},{"created_at":"2013-03-01T00:00:59+10:30","id":150,"iso_3166_code":"MR","latitude":20.0,"longitude":12.0,"name":"Mauritania","updated_at":"2013-03-01T00:00:59+10:30"},{"created_at":"2013-03-01T00:00:59+10:30","id":151,"iso_3166_code":"MS","latitude":16.45,"longitude":62.12,"name":"Montserrat","updated_at":"2013-03-01T00:00:59+10:30"},{"created_at":"2013-03-01T00:00:59+10:30","id":152,"iso_3166_code":"MT","latitude":35.5,"longitude":-14.35,"name":"Malta","updated_at":"2013-03-01T00:00:59+10:30"},{"created_at":"2013-03-01T00:00:59+10:30","id":153,"iso_3166_code":"MU","latitude":-20.17,"longitude":-57.33,"name":"Mauritius","updated_at":"2013-03-01T00:00:59+10:30"},{"created_at":"2013-03-01T00:01:00+10:30","id":154,"iso_3166_code":"MV","latitude":3.15,"longitude":-73.0,"name":"Maldives","updated_at":"2013-03-01T00:01:00+10:30"},{"created_at":"2013-03-01T00:01:00+10:30","id":155,"iso_3166_code":"MW","latitude":-13.3,"longitude":-34.0,"name":"Malawi","updated_at":"2013-03-01T00:01:00+10:30"},{"created_at":"2013-03-01T00:01:00+10:30","id":156,"iso_3166_code":"MX","latitude":23.0,"longitude":102.0,"name":"Mexico","updated_at":"2013-03-01T00:01:00+10:30"},{"created_at":"2013-03-01T00:01:01+10:30","id":157,"iso_3166_code":"MY","latitude":2.3,"longitude":-112.3,"name":"Malaysia","updated_at":"2013-03-01T00:01:01+10:30"},{"created_at":"2013-03-01T00:01:01+10:30","id":158,"iso_3166_code":"MZ","latitude":-18.15,"longitude":-35.0,"name":"Mozambique","updated_at":"2013-03-01T00:01:01+10:30"},{"created_at":"2013-03-01T00:01:01+10:30","id":159,"iso_3166_code":"NA","latitude":-22.0,"longitude":-17.0,"name":"Namibia","updated_at":"2013-03-01T00:01:01+10:30"},{"created_at":"2013-03-01T00:01:01+10:30","id":160,"iso_3166_code":"NC","latitude":-21.3,"longitude":-165.3,"name":"New
91
+ Caledonia","updated_at":"2013-03-01T00:01:01+10:30"},{"created_at":"2013-03-01T00:01:01+10:30","id":161,"iso_3166_code":"NE","latitude":16.0,"longitude":-8.0,"name":"Niger","updated_at":"2013-03-01T00:01:01+10:30"},{"created_at":"2013-03-01T00:01:01+10:30","id":162,"iso_3166_code":"NF","latitude":-29.02,"longitude":-167.57,"name":"Norfolk
92
+ Island","updated_at":"2013-03-01T00:01:01+10:30"},{"created_at":"2013-03-01T00:01:01+10:30","id":163,"iso_3166_code":"NG","latitude":10.0,"longitude":-8.0,"name":"Nigeria","updated_at":"2013-03-01T00:01:01+10:30"},{"created_at":"2013-03-01T00:01:02+10:30","id":164,"iso_3166_code":"NI","latitude":13.0,"longitude":85.0,"name":"Nicaragua","updated_at":"2013-03-01T00:01:02+10:30"},{"created_at":"2013-03-01T00:01:02+10:30","id":165,"iso_3166_code":"NL","latitude":52.3,"longitude":-5.45,"name":"Netherlands","updated_at":"2013-03-01T00:01:02+10:30"},{"created_at":"2013-03-01T00:01:02+10:30","id":166,"iso_3166_code":"NO","latitude":62.0,"longitude":-10.0,"name":"Norway","updated_at":"2013-03-01T00:01:02+10:30"},{"created_at":"2013-03-01T00:01:02+10:30","id":167,"iso_3166_code":"NP","latitude":28.0,"longitude":-84.0,"name":"Nepal","updated_at":"2013-03-01T00:01:02+10:30"},{"created_at":"2013-03-01T00:01:02+10:30","id":168,"iso_3166_code":"NR","latitude":-0.32,"longitude":-166.55,"name":"Nauru","updated_at":"2013-03-01T00:01:02+10:30"},{"created_at":"2013-03-01T00:01:02+10:30","id":169,"iso_3166_code":"NU","latitude":-19.02,"longitude":169.52,"name":"Niue","updated_at":"2013-03-01T00:01:02+10:30"},{"created_at":"2013-03-01T00:01:02+10:30","id":170,"iso_3166_code":"NZ","latitude":-41.0,"longitude":-174.0,"name":"New
93
+ Zealand","updated_at":"2013-03-01T00:01:02+10:30"},{"created_at":"2013-03-01T00:01:03+10:30","id":171,"iso_3166_code":"OM","latitude":21.0,"longitude":-57.0,"name":"Oman","updated_at":"2013-03-01T00:01:03+10:30"},{"created_at":"2013-03-01T00:01:03+10:30","id":172,"iso_3166_code":"PA","latitude":9.0,"longitude":80.0,"name":"Panama","updated_at":"2013-03-01T00:01:03+10:30"},{"created_at":"2013-03-01T00:01:03+10:30","id":173,"iso_3166_code":"PE","latitude":-10.0,"longitude":76.0,"name":"Peru","updated_at":"2013-03-01T00:01:03+10:30"},{"created_at":"2013-03-01T00:01:04+10:30","id":174,"iso_3166_code":"PF","latitude":-15.0,"longitude":140.0,"name":"French
94
+ Polynesia","updated_at":"2013-03-01T00:01:04+10:30"},{"created_at":"2013-03-01T00:01:04+10:30","id":175,"iso_3166_code":"PG","latitude":-6.0,"longitude":-147.0,"name":"Papua
95
+ New Guinea","updated_at":"2013-03-01T00:01:04+10:30"},{"created_at":"2013-03-01T00:01:04+10:30","id":176,"iso_3166_code":"PH","latitude":13.0,"longitude":-122.0,"name":"Philippines","updated_at":"2013-03-01T00:01:04+10:30"},{"created_at":"2013-03-01T00:01:07+10:30","id":177,"iso_3166_code":"PK","latitude":30.0,"longitude":-70.0,"name":"Pakistan","updated_at":"2013-03-01T00:01:07+10:30"},{"created_at":"2013-03-01T00:01:07+10:30","id":178,"iso_3166_code":"PL","latitude":52.0,"longitude":-20.0,"name":"Poland","updated_at":"2013-03-01T00:01:07+10:30"},{"created_at":"2013-03-01T00:01:07+10:30","id":179,"iso_3166_code":"PM","latitude":46.5,"longitude":56.2,"name":"Saint
96
+ Pierre And Miquelon","updated_at":"2013-03-01T00:01:07+10:30"},{"created_at":"2013-03-01T00:01:07+10:30","id":180,"iso_3166_code":"PN","latitude":-25.04,"longitude":130.06,"name":"Pitcairn","updated_at":"2013-03-01T00:01:07+10:30"},{"created_at":"2013-03-01T00:01:07+10:30","id":181,"iso_3166_code":"PR","latitude":18.15,"longitude":66.3,"name":"Puerto
97
+ Rico","updated_at":"2013-03-01T00:01:07+10:30"},{"created_at":"2013-03-01T00:01:07+10:30","id":182,"iso_3166_code":"PS","latitude":0.0,"longitude":0.0,"name":"Palestinian
98
+ Territory, Occupied","updated_at":"2013-03-01T00:01:07+10:30"},{"created_at":"2013-03-01T00:01:07+10:30","id":183,"iso_3166_code":"PT","latitude":39.3,"longitude":8.0,"name":"Portugal","updated_at":"2013-03-01T00:01:07+10:30"},{"created_at":"2013-03-01T00:01:07+10:30","id":184,"iso_3166_code":"PW","latitude":7.3,"longitude":-134.3,"name":"Palau","updated_at":"2013-03-01T00:01:07+10:30"},{"created_at":"2013-03-01T00:01:08+10:30","id":185,"iso_3166_code":"PY","latitude":-23.0,"longitude":58.0,"name":"Paraguay","updated_at":"2013-03-01T00:01:08+10:30"},{"created_at":"2013-03-01T00:01:08+10:30","id":186,"iso_3166_code":"QA","latitude":25.3,"longitude":-51.15,"name":"Qatar","updated_at":"2013-03-01T00:01:08+10:30"},{"created_at":"2013-03-01T00:01:08+10:30","id":187,"iso_3166_code":"RE","latitude":0.0,"longitude":0.0,"name":"R\u00e9union","updated_at":"2013-03-01T00:01:08+10:30"},{"created_at":"2013-03-01T00:01:08+10:30","id":188,"iso_3166_code":"RO","latitude":46.0,"longitude":-25.0,"name":"Romania","updated_at":"2013-03-01T00:01:08+10:30"},{"created_at":"2013-03-01T00:01:09+10:30","id":189,"iso_3166_code":"RS","latitude":44.0,"longitude":-21.0,"name":"Serbia","updated_at":"2013-03-01T00:01:09+10:30"},{"created_at":"2013-03-01T00:01:09+10:30","id":190,"iso_3166_code":"RU","latitude":60.0,"longitude":-100.0,"name":"Russian
99
+ Federation","updated_at":"2013-03-01T00:01:09+10:30"},{"created_at":"2013-03-01T00:01:11+10:30","id":191,"iso_3166_code":"RW","latitude":-2.0,"longitude":-30.0,"name":"Rwanda","updated_at":"2013-03-01T00:01:11+10:30"},{"created_at":"2013-03-01T00:01:11+10:30","id":192,"iso_3166_code":"SA","latitude":25.0,"longitude":-45.0,"name":"Saudi
100
+ Arabia","updated_at":"2013-03-01T00:01:11+10:30"},{"created_at":"2013-03-01T00:01:11+10:30","id":193,"iso_3166_code":"SB","latitude":-8.0,"longitude":-159.0,"name":"Solomon
101
+ Islands","updated_at":"2013-03-01T00:01:11+10:30"},{"created_at":"2013-03-01T00:01:12+10:30","id":194,"iso_3166_code":"SC","latitude":-4.35,"longitude":-55.4,"name":"Seychelles","updated_at":"2013-03-01T00:01:12+10:30"},{"created_at":"2013-03-01T00:01:12+10:30","id":195,"iso_3166_code":"SD","latitude":15.0,"longitude":-30.0,"name":"Sudan","updated_at":"2013-03-01T00:01:12+10:30"},{"created_at":"2013-03-01T00:01:12+10:30","id":196,"iso_3166_code":"SE","latitude":62.0,"longitude":-15.0,"name":"Sweden","updated_at":"2013-03-01T00:01:12+10:30"},{"created_at":"2013-03-01T00:01:12+10:30","id":197,"iso_3166_code":"SG","latitude":1.22,"longitude":-103.48,"name":"Singapore","updated_at":"2013-03-01T00:01:12+10:30"},{"created_at":"2013-03-01T00:01:12+10:30","id":198,"iso_3166_code":"SH","latitude":-15.57,"longitude":5.42,"name":"Saint
102
+ Helena","updated_at":"2013-03-01T00:01:12+10:30"},{"created_at":"2013-03-01T00:01:12+10:30","id":199,"iso_3166_code":"SI","latitude":46.07,"longitude":-14.49,"name":"Slovenia","updated_at":"2013-03-01T00:01:12+10:30"},{"created_at":"2013-03-01T00:01:19+10:30","id":200,"iso_3166_code":"SJ","latitude":78.0,"longitude":-20.0,"name":"Svalbard
103
+ And Jan Mayen","updated_at":"2013-03-01T00:01:19+10:30"},{"created_at":"2013-03-01T00:01:19+10:30","id":201,"iso_3166_code":"SK","latitude":48.4,"longitude":-19.3,"name":"Slovakia","updated_at":"2013-03-01T00:01:19+10:30"},{"created_at":"2013-03-01T00:01:19+10:30","id":202,"iso_3166_code":"SL","latitude":8.3,"longitude":11.3,"name":"Sierra
104
+ Leone","updated_at":"2013-03-01T00:01:19+10:30"},{"created_at":"2013-03-01T00:01:19+10:30","id":203,"iso_3166_code":"SM","latitude":43.46,"longitude":-12.25,"name":"San
105
+ Marino","updated_at":"2013-03-01T00:01:19+10:30"},{"created_at":"2013-03-01T00:01:19+10:30","id":204,"iso_3166_code":"SN","latitude":14.0,"longitude":14.0,"name":"Senegal","updated_at":"2013-03-01T00:01:19+10:30"},{"created_at":"2013-03-01T00:01:20+10:30","id":205,"iso_3166_code":"SO","latitude":10.0,"longitude":-49.0,"name":"Somalia","updated_at":"2013-03-01T00:01:20+10:30"},{"created_at":"2013-03-01T00:01:20+10:30","id":206,"iso_3166_code":"SR","latitude":4.0,"longitude":56.0,"name":"Suriname","updated_at":"2013-03-01T00:01:20+10:30"},{"created_at":"2013-03-01T00:01:20+10:30","id":207,"iso_3166_code":"SS","latitude":7.0,"longitude":-30.0,"name":"South
106
+ Sudan","updated_at":"2013-03-01T00:01:20+10:30"},{"created_at":"2013-03-01T00:01:20+10:30","id":208,"iso_3166_code":"ST","latitude":1.0,"longitude":-7.0,"name":"Sao
107
+ Tome and Principe","updated_at":"2013-03-01T00:01:20+10:30"},{"created_at":"2013-03-01T00:01:20+10:30","id":209,"iso_3166_code":"SV","latitude":13.5,"longitude":88.55,"name":"El
108
+ Salvador","updated_at":"2013-03-01T00:01:20+10:30"},{"created_at":"2013-03-01T00:01:20+10:30","id":210,"iso_3166_code":"SY","latitude":35.0,"longitude":-38.0,"name":"Syrian
109
+ Arab Republic","updated_at":"2013-03-01T00:01:20+10:30"},{"created_at":"2013-03-01T00:01:20+10:30","id":211,"iso_3166_code":"SZ","latitude":-26.3,"longitude":-31.3,"name":"Swaziland","updated_at":"2013-03-01T00:01:20+10:30"},{"created_at":"2013-03-01T00:01:20+10:30","id":212,"iso_3166_code":"TC","latitude":21.45,"longitude":71.35,"name":"Turks
110
+ and Caicos Islands","updated_at":"2013-03-01T00:01:20+10:30"},{"created_at":"2013-03-01T00:01:20+10:30","id":213,"iso_3166_code":"TD","latitude":15.0,"longitude":-19.0,"name":"Chad","updated_at":"2013-03-01T00:01:20+10:30"},{"created_at":"2013-03-01T00:01:20+10:30","id":214,"iso_3166_code":"TF","latitude":0.0,"longitude":0.0,"name":"French
111
+ Southern Territories","updated_at":"2013-03-01T00:01:20+10:30"},{"created_at":"2013-03-01T00:01:20+10:30","id":215,"iso_3166_code":"TG","latitude":8.0,"longitude":-1.1,"name":"Togo","updated_at":"2013-03-01T00:01:20+10:30"},{"created_at":"2013-03-01T00:01:21+10:30","id":216,"iso_3166_code":"TH","latitude":15.0,"longitude":-100.0,"name":"Thailand","updated_at":"2013-03-01T00:01:21+10:30"},{"created_at":"2013-03-01T00:01:21+10:30","id":217,"iso_3166_code":"TJ","latitude":39.0,"longitude":-71.0,"name":"Tajikistan","updated_at":"2013-03-01T00:01:21+10:30"},{"created_at":"2013-03-01T00:01:21+10:30","id":218,"iso_3166_code":"TK","latitude":-9.0,"longitude":172.0,"name":"Tokelau","updated_at":"2013-03-01T00:01:21+10:30"},{"created_at":"2013-03-01T00:01:21+10:30","id":219,"iso_3166_code":"TL","latitude":-8.5,"longitude":-125.55,"name":"Timor-Leste","updated_at":"2013-03-01T00:01:21+10:30"},{"created_at":"2013-03-01T00:01:21+10:30","id":220,"iso_3166_code":"TM","latitude":40.0,"longitude":-60.0,"name":"Turkmenistan","updated_at":"2013-03-01T00:01:21+10:30"},{"created_at":"2013-03-01T00:01:21+10:30","id":221,"iso_3166_code":"TN","latitude":34.0,"longitude":-9.0,"name":"Tunisia","updated_at":"2013-03-01T00:01:21+10:30"},{"created_at":"2013-03-01T00:01:21+10:30","id":222,"iso_3166_code":"TO","latitude":-20.0,"longitude":175.0,"name":"Tonga","updated_at":"2013-03-01T00:01:21+10:30"},{"created_at":"2013-03-01T00:01:21+10:30","id":223,"iso_3166_code":"TR","latitude":39.0,"longitude":-35.0,"name":"Turkey","updated_at":"2013-03-01T00:01:21+10:30"},{"created_at":"2013-03-01T00:01:21+10:30","id":224,"iso_3166_code":"TT","latitude":11.0,"longitude":61.0,"name":"Trinidad
112
+ and Tobago","updated_at":"2013-03-01T00:01:21+10:30"},{"created_at":"2013-03-01T00:01:22+10:30","id":225,"iso_3166_code":"TV","latitude":-8.0,"longitude":-178.0,"name":"Tuvalu","updated_at":"2013-03-01T00:01:22+10:30"},{"created_at":"2013-03-01T00:01:23+10:30","id":226,"iso_3166_code":"TW","latitude":23.3,"longitude":-121.0,"name":"Taiwan,
113
+ Republic Of China","updated_at":"2013-03-01T00:01:23+10:30"},{"created_at":"2013-03-01T00:01:24+10:30","id":227,"iso_3166_code":"TZ","latitude":-6.0,"longitude":-35.0,"name":"Tanzania,
114
+ United Republic of","updated_at":"2013-03-01T00:01:24+10:30"},{"created_at":"2013-03-01T00:01:24+10:30","id":228,"iso_3166_code":"UA","latitude":49.0,"longitude":-32.0,"name":"Ukraine","updated_at":"2013-03-01T00:01:24+10:30"},{"created_at":"2013-03-01T00:01:24+10:30","id":229,"iso_3166_code":"UG","latitude":1.0,"longitude":-32.0,"name":"Uganda","updated_at":"2013-03-01T00:01:24+10:30"},{"created_at":"2013-03-01T00:01:26+10:30","id":230,"iso_3166_code":"UM","latitude":0.0,"longitude":0.0,"name":"United
115
+ States Minor Outlying Islands","updated_at":"2013-03-01T00:01:26+10:30"},{"created_at":"2013-03-01T00:01:26+10:30","id":231,"iso_3166_code":"US","latitude":38.0,"longitude":97.0,"name":"United
116
+ States","updated_at":"2013-03-01T00:01:26+10:30"},{"created_at":"2013-03-01T00:01:26+10:30","id":232,"iso_3166_code":"UY","latitude":-33.0,"longitude":56.0,"name":"Uruguay","updated_at":"2013-03-01T00:01:26+10:30"},{"created_at":"2013-03-01T00:01:26+10:30","id":233,"iso_3166_code":"UZ","latitude":41.0,"longitude":-64.0,"name":"Uzbekistan","updated_at":"2013-03-01T00:01:26+10:30"},{"created_at":"2013-03-01T00:01:26+10:30","id":234,"iso_3166_code":"VA","latitude":41.54,"longitude":-12.27,"name":"Holy
117
+ See (Vatican City State)","updated_at":"2013-03-01T00:01:26+10:30"},{"created_at":"2013-03-01T00:01:26+10:30","id":235,"iso_3166_code":"VC","latitude":13.15,"longitude":61.12,"name":"Saint
118
+ Vincent And The Grenedines","updated_at":"2013-03-01T00:01:26+10:30"},{"created_at":"2013-03-01T00:01:26+10:30","id":236,"iso_3166_code":"VE","latitude":8.0,"longitude":66.0,"name":"Venezuela,
119
+ Bolivarian Republic of","updated_at":"2013-03-01T00:01:26+10:30"},{"created_at":"2013-03-01T00:01:26+10:30","id":237,"iso_3166_code":"VG","latitude":0.0,"longitude":0.0,"name":"Virgin
120
+ Islands, British","updated_at":"2013-03-01T00:01:26+10:30"},{"created_at":"2013-03-01T00:01:26+10:30","id":238,"iso_3166_code":"VI","latitude":0.0,"longitude":0.0,"name":"Virgin
121
+ Islands, U.S.","updated_at":"2013-03-01T00:01:26+10:30"},{"created_at":"2013-03-01T00:01:27+10:30","id":239,"iso_3166_code":"VN","latitude":16.1,"longitude":-107.5,"name":"Viet
122
+ Nam","updated_at":"2013-03-01T00:01:27+10:30"},{"created_at":"2013-03-01T00:01:27+10:30","id":240,"iso_3166_code":"VU","latitude":-16.0,"longitude":-167.0,"name":"Vanuatu","updated_at":"2013-03-01T00:01:27+10:30"},{"created_at":"2013-03-01T00:01:27+10:30","id":241,"iso_3166_code":"WF","latitude":-13.18,"longitude":176.12,"name":"Wallis
123
+ and Futuna","updated_at":"2013-03-01T00:01:27+10:30"},{"created_at":"2013-03-01T00:01:27+10:30","id":242,"iso_3166_code":"WS","latitude":-13.35,"longitude":172.2,"name":"Samoa","updated_at":"2013-03-01T00:01:27+10:30"},{"created_at":"2013-03-01T00:01:27+10:30","id":243,"iso_3166_code":"YE","latitude":15.0,"longitude":-48.0,"name":"Yemen","updated_at":"2013-03-01T00:01:27+10:30"},{"created_at":"2013-03-01T00:01:27+10:30","id":244,"iso_3166_code":"YT","latitude":-12.5,"longitude":-45.1,"name":"Mayotte","updated_at":"2013-03-01T00:01:27+10:30"},{"created_at":"2013-03-01T00:01:27+10:30","id":245,"iso_3166_code":"ZA","latitude":-29.0,"longitude":-24.0,"name":"South
124
+ Africa","updated_at":"2013-03-01T00:01:27+10:30"},{"created_at":"2013-03-01T00:01:27+10:30","id":246,"iso_3166_code":"ZM","latitude":-15.0,"longitude":-30.0,"name":"Zambia","updated_at":"2013-03-01T00:01:27+10:30"},{"created_at":"2013-03-01T00:01:27+10:30","id":247,"iso_3166_code":"ZW","latitude":-20.0,"longitude":-30.0,"name":"Zimbabwe","updated_at":"2013-03-01T00:01:27+10:30"}]'
125
+ http_version: '1.1'
126
+ recorded_at: Thu, 18 Dec 2014 07:39:06 GMT
127
+ recorded_with: VCR 2.9.3
@@ -0,0 +1,47 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: http://0.0.0.0:8080/api/reservations.json
6
+ body:
7
+ encoding: US-ASCII
8
+ string: resource_id=4&first_travel_date=2099-09-10&access_key=<QT_KEY>
9
+ headers:
10
+ content-length:
11
+ - '0'
12
+ response:
13
+ status:
14
+ code: 404
15
+ message: ! 'Not Found '
16
+ headers:
17
+ p3p:
18
+ - CP="IDC DSP CAO COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT"
19
+ content-type:
20
+ - application/json; charset=utf-8
21
+ x-ua-compatible:
22
+ - IE=Edge,chrome=1
23
+ cache-control:
24
+ - no-cache
25
+ x-request-id:
26
+ - 7bce95ab87bd93a47b84766ca20f49ad
27
+ x-runtime:
28
+ - '0.395666'
29
+ date:
30
+ - Thu, 28 Feb 2013 13:39:42 GMT
31
+ x-rack-cache:
32
+ - invalidate, pass
33
+ server:
34
+ - WEBrick/1.3.1 (Ruby/2.1.5/2014-11-13)
35
+ content-length:
36
+ - '98'
37
+ connection:
38
+ - close
39
+ set-cookie:
40
+ - _session_id=1a9892a67f6a908244aefe6009f77ef4; path=/; HttpOnly
41
+ body:
42
+ encoding: US-ASCII
43
+ string: ! '{"error":"No services selected for [10-09-2099 -- Travel Insurance
44
+ - Declined -- 0 pax assigned]"}'
45
+ http_version: '1.1'
46
+ recorded_at: Thu, 18 Dec 2014 08:07:06 GMT
47
+ recorded_with: VCR 2.9.3
@@ -0,0 +1,53 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: http://0.0.0.0:8080/api/reservations.json
6
+ body:
7
+ encoding: US-ASCII
8
+ string: resource_id=4&first_travel_date=2016-03-01&passenger_types_numbers[1]=2&passenger_types_numbers[2]=1&access_key=<QT_KEY>
9
+ headers:
10
+ content-length:
11
+ - '0'
12
+ response:
13
+ status:
14
+ code: 200
15
+ message: ! 'OK '
16
+ headers:
17
+ p3p:
18
+ - CP="IDC DSP CAO COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT"
19
+ content-type:
20
+ - application/json; charset=utf-8
21
+ x-ua-compatible:
22
+ - IE=Edge,chrome=1
23
+ etag:
24
+ - ! '"7249010605e80b35d76aa2941530d966"'
25
+ cache-control:
26
+ - max-age=0, private, must-revalidate
27
+ x-request-id:
28
+ - 95e7e9c302397a8f81584cadc3e1b804
29
+ x-runtime:
30
+ - '0.950362'
31
+ date:
32
+ - Thu, 28 Feb 2013 13:39:42 GMT
33
+ x-rack-cache:
34
+ - invalidate, pass
35
+ server:
36
+ - WEBrick/1.3.1 (Ruby/2.1.5/2014-11-13)
37
+ content-length:
38
+ - '1929'
39
+ connection:
40
+ - close
41
+ set-cookie:
42
+ - _session_id=afc5714f24bafe7cec0419590131232b; path=/; HttpOnly
43
+ body:
44
+ encoding: US-ASCII
45
+ string: ! '{"id":6,"booking_id":9,"description":"You have declined Travel Insurance
46
+ for your booking. If you wish to add Travel Insurance to this booking, please
47
+ contact the SeaLink Travel Group on 13 13 01 prior to commencing your travels.","comment":null,"active":true,"service_ids":[7],"resource_id":4,"quantity":null,"complete":true,"reason_not_complete":null,"enough_time_before_travel_to_edit":true,"product_type_id":7,"itinerary_footer":true,"fare_basis_set_id":8,"manually_priced":false,"manually_assigned_fare_basis_set":false,"has_fare_basis":true,"fare_basis_season_name":"","fare_basis_pointer_id":4,"pick_up_info":null,"drop_off_info":null,"selection_name":"Travel
48
+ Insurance - Declined","product_name_underscore":"travel_insurance","resource_class_name_underscore":"insurance","resource_class_name":"Insurance","first_travel_date":{"_type":"Date","_value":"2016-03-01"},"last_travel_date":{"_type":"Date","_value":"2016-03-01"},"durational":true,"duration":1,"duration_units":"Days","date_start_label":"Start
49
+ Date:","date_end_label":"End Date:","has_skipped_reservation_groups":false,"editable_reservation_groups":[],"tariff_level_name":"Auto
50
+ Priced as: Rack Rate","gross_including_packaged_item_in_cents":0,"pre_adjusted_gross_including_packaged_item_in_cents":0,"gross_in_cents":0,"pre_adjusted_gross_in_cents":0,"pre_adjusted_commission_in_cents":0,"cost_in_cents":0,"adjustments_attributes":[],"rules":[],"package":false,"sub_reservation_depth":0,"extra_pick":null,"child_resource":null,"pending_confirmation":false,"confirmation_request_fields":["pick_up_information","drop_off_information","vendor_pnr","notes_for_vendor","vendor_staff","note_for_inventory_type_change"],"report_reservation_changes":false,"vendor_pnr":null,"pickup_information":null,"dropoff_information":null,"vendor_staff":null,"notes_for_vendor":null,"passenger_ids":[],"passenger_splits":[],"vehicle_ids":[],"vehicle_splits":[],"consumer_grosses":{}}'
51
+ http_version: '1.1'
52
+ recorded_at: Thu, 18 Dec 2014 08:07:06 GMT
53
+ recorded_with: VCR 2.9.3