bookingsync-api 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/bookingsync-api.gemspec +1 -0
- data/lib/bookingsync/api/client.rb +41 -24
- data/lib/bookingsync/api/client/payments.rb +1 -1
- data/lib/bookingsync/api/client/rentals.rb +2 -2
- data/lib/bookingsync/api/version.rb +1 -1
- data/spec/bookingsync/api/client/accounts_spec.rb +8 -2
- data/spec/bookingsync/api/client/amenities_spec.rb +8 -2
- data/spec/bookingsync/api/client/availabilities_spec.rb +8 -2
- data/spec/bookingsync/api/client/bathrooms_spec.rb +25 -12
- data/spec/bookingsync/api/client/bedrooms_spec.rb +24 -11
- data/spec/bookingsync/api/client/booking_comments_spec.rb +23 -10
- data/spec/bookingsync/api/client/bookings_fees_spec.rb +8 -2
- data/spec/bookingsync/api/client/bookings_payments_spec.rb +8 -2
- data/spec/bookingsync/api/client/bookings_spec.rb +36 -20
- data/spec/bookingsync/api/client/bookings_taxes_spec.rb +8 -2
- data/spec/bookingsync/api/client/change_overs_spec.rb +8 -2
- data/spec/bookingsync/api/client/clients_spec.rb +23 -13
- data/spec/bookingsync/api/client/destinations_spec.rb +8 -2
- data/spec/bookingsync/api/client/fees_spec.rb +8 -2
- data/spec/bookingsync/api/client/inquiries_spec.rb +13 -7
- data/spec/bookingsync/api/client/living_rooms_spec.rb +22 -9
- data/spec/bookingsync/api/client/nightly_rate_maps_spec.rb +15 -6
- data/spec/bookingsync/api/client/payment_gateways_spec.rb +8 -2
- data/spec/bookingsync/api/client/payments_spec.rb +34 -16
- data/spec/bookingsync/api/client/periods_spec.rb +29 -14
- data/spec/bookingsync/api/client/photos_spec.rb +23 -9
- data/spec/bookingsync/api/client/preferences_general_settings_spec.rb +11 -4
- data/spec/bookingsync/api/client/rates_rules_spec.rb +25 -12
- data/spec/bookingsync/api/client/rates_spec.rb +8 -2
- data/spec/bookingsync/api/client/rates_tables_spec.rb +23 -10
- data/spec/bookingsync/api/client/rental_agreements_spec.rb +18 -8
- data/spec/bookingsync/api/client/rental_cancelation_policies_spec.rb +8 -1
- data/spec/bookingsync/api/client/rental_cancelation_policy_items_spec.rb +8 -1
- data/spec/bookingsync/api/client/rentals_amenities_spec.rb +22 -9
- data/spec/bookingsync/api/client/rentals_fees_spec.rb +14 -5
- data/spec/bookingsync/api/client/rentals_spec.rb +53 -19
- data/spec/bookingsync/api/client/reviews_spec.rb +12 -6
- data/spec/bookingsync/api/client/seasons_spec.rb +30 -14
- data/spec/bookingsync/api/client/sources_spec.rb +17 -8
- data/spec/bookingsync/api/client/special_offers_spec.rb +30 -15
- data/spec/bookingsync/api/client/strict_bookings_spec.rb +10 -14
- data/spec/bookingsync/api/client/taxes_spec.rb +8 -2
- data/spec/bookingsync/api/client_spec.rb +23 -7
- data/spec/bookingsync/api/relation_spec.rb +1 -1
- data/spec/bookingsync/api/resource_spec.rb +8 -8
- data/spec/bookingsync/api/response_spec.rb +8 -8
- data/spec/fixtures/cassettes/BookingSync_API_Client_Accounts/_account/returns_a_single_account.yml +26 -18
- data/spec/fixtures/cassettes/BookingSync_API_Client_Accounts/_accounts/returns_accounts.yml +26 -18
- data/spec/fixtures/cassettes/BookingSync_API_Client_Amenities/_amenities/returns_amenities.yml +220 -26
- data/spec/fixtures/cassettes/BookingSync_API_Client_Amenities/_amenity/returns_amenity.yml +50 -26
- data/spec/fixtures/cassettes/BookingSync_API_Client_Availabilities/_availabilities/returns_availabilities.yml +37 -21
- data/spec/fixtures/cassettes/BookingSync_API_Client_Availabilities/_availability/returns_a_single_availability.yml +33 -25
- data/spec/fixtures/cassettes/BookingSync_API_Client_Bathrooms/_bathroom/returns_a_single_bathroom.yml +26 -18
- data/spec/fixtures/cassettes/BookingSync_API_Client_Bathrooms/_bathrooms/returns_bathrooms.yml +33 -22
- data/spec/fixtures/cassettes/BookingSync_API_Client_Bathrooms/_cancel_bathroom/cancels_given_bathroom.yml +21 -15
- data/spec/fixtures/cassettes/BookingSync_API_Client_Bathrooms/_create_bathroom/creates_a_new_bathroom.yml +30 -19
- data/spec/fixtures/cassettes/BookingSync_API_Client_Bathrooms/_edit_bathroom/updates_given_bathroom_by_ID.yml +26 -19
- data/spec/fixtures/cassettes/BookingSync_API_Client_Bedrooms/_bedroom/returns_a_single_bedroom.yml +26 -18
- data/spec/fixtures/cassettes/BookingSync_API_Client_Bedrooms/_bedrooms/returns_bedrooms.yml +32 -24
- data/spec/fixtures/cassettes/BookingSync_API_Client_Bedrooms/_cancel_bedroom/cancels_given_bedroom.yml +21 -15
- data/spec/fixtures/cassettes/BookingSync_API_Client_Bedrooms/_create_bedroom/creates_a_new_bedroom.yml +29 -18
- data/spec/fixtures/cassettes/BookingSync_API_Client_Bedrooms/_edit_bedroom/updates_given_bedroom_by_ID.yml +25 -19
- data/spec/fixtures/cassettes/BookingSync_API_Client_BookingComments/_booking_comment/returns_single_booking_comment.yml +42 -26
- data/spec/fixtures/cassettes/BookingSync_API_Client_BookingComments/_booking_comments/returns_booking_comments.yml +45 -33
- data/spec/fixtures/cassettes/BookingSync_API_Client_BookingComments/_create_booking_comment/creates_booking_comment.yml +43 -24
- data/spec/fixtures/cassettes/BookingSync_API_Client_BookingComments/_create_booking_comment/returns_newly_created_booking_comment.yml +43 -24
- data/spec/fixtures/cassettes/BookingSync_API_Client_BookingComments/_delete_booking_comment/deletes_given_booking_comment.yml +29 -17
- data/spec/fixtures/cassettes/BookingSync_API_Client_BookingComments/_edit_booking_comment/returns_updated_booking_comment.yml +36 -22
- data/spec/fixtures/cassettes/BookingSync_API_Client_BookingComments/_edit_booking_comment/updates_booking_comment.yml +36 -22
- data/spec/fixtures/cassettes/BookingSync_API_Client_Bookings/_booking/returns_a_single_booking.yml +44 -26
- data/spec/fixtures/cassettes/BookingSync_API_Client_Bookings/_booking/returns_a_single_canceled_booking.yml +30 -23
- data/spec/fixtures/cassettes/BookingSync_API_Client_Bookings/_bookings/pagination/with_a_block/yields_block_with_batch_of_bookings.yml +100 -115
- data/spec/fixtures/cassettes/BookingSync_API_Client_Bookings/_bookings/pagination/with_auto_paginate_true/returns_all_bookings_joined_from_many_requests.yml +100 -115
- data/spec/fixtures/cassettes/BookingSync_API_Client_Bookings/_bookings/pagination/with_per_page_setting/returns_limited_number_of_bookings.yml +52 -28
- data/spec/fixtures/cassettes/BookingSync_API_Client_Bookings/_bookings/returns_bookings.yml +57 -25
- data/spec/fixtures/cassettes/BookingSync_API_Client_Bookings/_cancel_booking/cancels_given_booking.yml +36 -20
- data/spec/fixtures/cassettes/BookingSync_API_Client_Bookings/_create_booking/creates_a_booking.yml +49 -26
- data/spec/fixtures/cassettes/BookingSync_API_Client_Bookings/_edit_booking/updates_given_booking_by_ID.yml +44 -24
- data/spec/fixtures/cassettes/BookingSync_API_Client_BookingsFees/_bookings_fee/returns_a_single_bookings_fee.yml +26 -18
- data/spec/fixtures/cassettes/BookingSync_API_Client_BookingsFees/_bookings_fees/returns_bookings_fees.yml +27 -19
- data/spec/fixtures/cassettes/BookingSync_API_Client_BookingsPayments/_bookings_payment/returns_a_single_bookings_payment.yml +26 -18
- data/spec/fixtures/cassettes/BookingSync_API_Client_BookingsPayments/_bookings_payments/returns_bookings_payments.yml +51 -28
- data/spec/fixtures/cassettes/BookingSync_API_Client_BookingsTaxes/_bookings_tax/returns_a_single_bookings_tax.yml +26 -18
- data/spec/fixtures/cassettes/BookingSync_API_Client_BookingsTaxes/_bookings_taxes/returns_bookings_taxes.yml +28 -20
- data/spec/fixtures/cassettes/BookingSync_API_Client_ChangeOvers/_change_over/returns_a_single_change_over.yml +44 -38
- data/spec/fixtures/cassettes/BookingSync_API_Client_ChangeOvers/_change_overs/returns_change_overs.yml +43 -37
- data/spec/fixtures/cassettes/BookingSync_API_Client_Clients/_client/returns_a_single_client.yml +27 -19
- data/spec/fixtures/cassettes/BookingSync_API_Client_Clients/_clients/returns_clients.yml +32 -26
- data/spec/fixtures/cassettes/BookingSync_API_Client_Clients/_create_client/creates_a_new_client.yml +30 -19
- data/spec/fixtures/cassettes/BookingSync_API_Client_Clients/_edit_client/updates_given_client_by_ID.yml +25 -19
- data/spec/fixtures/cassettes/BookingSync_API_Client_Destinations/_destination/returns_a_single_destination.yml +29 -24
- data/spec/fixtures/cassettes/BookingSync_API_Client_Destinations/_destinations/returns_destinations.yml +59 -25
- data/spec/fixtures/cassettes/BookingSync_API_Client_Fees/_create_fee/creates_a_new_fee.yml +25 -18
- data/spec/fixtures/cassettes/BookingSync_API_Client_Fees/_fee/returns_a_single_fee.yml +26 -18
- data/spec/fixtures/cassettes/BookingSync_API_Client_Fees/_fees/returns_fees.yml +31 -19
- data/spec/fixtures/cassettes/BookingSync_API_Client_Inquiries/_create_inquiry/creates_a_new_inquiry.yml +50 -27
- data/spec/fixtures/cassettes/BookingSync_API_Client_Inquiries/_inquiries/returns_inquiries.yml +50 -26
- data/spec/fixtures/cassettes/BookingSync_API_Client_Inquiries/_inquiry/returns_a_single_inquiry.yml +29 -21
- data/spec/fixtures/cassettes/BookingSync_API_Client_LivingRooms/_cancel_living_room/cancels_given_living_room.yml +35 -31
- data/spec/fixtures/cassettes/BookingSync_API_Client_LivingRooms/_create_living_room/creates_a_new_living_room.yml +41 -37
- data/spec/fixtures/cassettes/BookingSync_API_Client_LivingRooms/_edit_living_room/updates_given_living_room_by_ID.yml +38 -34
- data/spec/fixtures/cassettes/BookingSync_API_Client_LivingRooms/_living_room/returns_a_single_living_room.yml +44 -40
- data/spec/fixtures/cassettes/BookingSync_API_Client_LivingRooms/_living_rooms/returns_living_rooms.yml +43 -39
- data/spec/fixtures/cassettes/BookingSync_API_Client_NightlyRateMaps/_edit_nightly_rate_map/updates_given_nightly_rate_map_by_ID.yml +39 -33
- data/spec/fixtures/cassettes/BookingSync_API_Client_NightlyRateMaps/_nightly_rate_map/returns_a_single_nightly_rate_map.yml +44 -38
- data/spec/fixtures/cassettes/BookingSync_API_Client_NightlyRateMaps/_nightly_rate_maps/returns_nightly_rate_maps.yml +44 -38
- data/spec/fixtures/cassettes/BookingSync_API_Client_PaymentGateways/_payment_gateway/returns_a_single_payment_gateway.yml +38 -24
- data/spec/fixtures/cassettes/BookingSync_API_Client_PaymentGateways/_payment_gateways/returns_payment_gateways.yml +37 -23
- data/spec/fixtures/cassettes/BookingSync_API_Client_Payments/_cancel_payment/cancels_given_payment.yml +36 -20
- data/spec/fixtures/cassettes/BookingSync_API_Client_Payments/_create_payment/creates_a_new_payment.yml +50 -26
- data/spec/fixtures/cassettes/BookingSync_API_Client_Payments/_edit_payment/updates_given_payment_by_ID.yml +44 -25
- data/spec/fixtures/cassettes/BookingSync_API_Client_Payments/_payment/returns_a_single_payment.yml +26 -18
- data/spec/fixtures/cassettes/BookingSync_API_Client_Payments/_payments/returns_payments.yml +55 -27
- data/spec/fixtures/cassettes/BookingSync_API_Client_Periods/_create_period/creates_a_new_period.yml +49 -26
- data/spec/fixtures/cassettes/BookingSync_API_Client_Periods/_delete_period/deletes_given_period.yml +35 -19
- data/spec/fixtures/cassettes/BookingSync_API_Client_Periods/_edit_period/updates_given_period_by_ID.yml +43 -25
- data/spec/fixtures/cassettes/BookingSync_API_Client_Periods/_period/returns_a_single_period.yml +28 -20
- data/spec/fixtures/cassettes/BookingSync_API_Client_Periods/_periods/returns_periods.yml +49 -25
- data/spec/fixtures/cassettes/BookingSync_API_Client_Photos/_create_photo/creates_a_photo.yml +47 -24
- data/spec/fixtures/cassettes/BookingSync_API_Client_Photos/_create_photo/creates_a_photo_with_encoded_photo_file.yml +47 -24
- data/spec/fixtures/cassettes/BookingSync_API_Client_Photos/_create_photo/creates_a_photo_with_photo_path.yml +47 -24
- data/spec/fixtures/cassettes/BookingSync_API_Client_Photos/_create_photo/creates_a_photo_with_remote_URL.yml +47 -24
- data/spec/fixtures/cassettes/BookingSync_API_Client_Photos/_delete_photo/delete_given_photo.yml +37 -21
- data/spec/fixtures/cassettes/BookingSync_API_Client_Photos/_edit_photo/updates_photo_s_description.yml +42 -23
- data/spec/fixtures/cassettes/BookingSync_API_Client_Photos/_edit_photo/updates_photo_s_image_file.yml +42 -23
- data/spec/fixtures/cassettes/BookingSync_API_Client_Photos/_photo/returns_a_single_photo.yml +28 -20
- data/spec/fixtures/cassettes/BookingSync_API_Client_Photos/_photos/returns_photos.yml +38 -22
- data/spec/fixtures/cassettes/BookingSync_API_Client_PreferencesGeneralSettings/_edit_preferences_general_setting/updates_given_preferences_general_setting_by_ID.yml +39 -34
- data/spec/fixtures/cassettes/BookingSync_API_Client_PreferencesGeneralSettings/_preferences_general_settings/returns_preferences_general_settings.yml +50 -42
- data/spec/fixtures/cassettes/BookingSync_API_Client_Rates/_rate/returns_a_single_rate.yml +28 -20
- data/spec/fixtures/cassettes/BookingSync_API_Client_Rates/_rates/returns_rates.yml +48 -24
- data/spec/fixtures/cassettes/BookingSync_API_Client_RatesRules/_create_rates_rule/creates_a_new_rates_rule.yml +29 -18
- data/spec/fixtures/cassettes/BookingSync_API_Client_RatesRules/_delete_rates_rule/deletes_given_rates_rule.yml +21 -15
- data/spec/fixtures/cassettes/BookingSync_API_Client_RatesRules/_edit_rates_rule/updates_given_rates_rule_by_ID.yml +24 -18
- data/spec/fixtures/cassettes/BookingSync_API_Client_RatesRules/_rates_rule/returns_a_single_rates_rule.yml +26 -18
- data/spec/fixtures/cassettes/BookingSync_API_Client_RatesRules/_rates_rules/returns_rates_rules.yml +27 -19
- data/spec/fixtures/cassettes/BookingSync_API_Client_RatesTables/_create_rates_table/creates_a_new_rates_table.yml +49 -26
- data/spec/fixtures/cassettes/BookingSync_API_Client_RatesTables/_delete_rates_table/deletes_given_rates_table.yml +36 -20
- data/spec/fixtures/cassettes/BookingSync_API_Client_RatesTables/_edit_rates_table/updates_given_rates_table_by_ID.yml +43 -25
- data/spec/fixtures/cassettes/BookingSync_API_Client_RatesTables/_rates_table/returns_a_single_rates_table.yml +26 -18
- data/spec/fixtures/cassettes/BookingSync_API_Client_RatesTables/_rates_tables/returns_rates_tables.yml +54 -36
- data/spec/fixtures/cassettes/BookingSync_API_Client_RentalAgreements/_create_rental_agreement/creates_a_new_rental_agreement.yml +50 -26
- data/spec/fixtures/cassettes/BookingSync_API_Client_RentalAgreements/_create_rental_agreement_for_booking/creates_a_new_rental_agreement.yml +50 -26
- data/spec/fixtures/cassettes/BookingSync_API_Client_RentalAgreements/_create_rental_agreement_for_rental/creates_a_new_rental_agreement.yml +50 -26
- data/spec/fixtures/cassettes/BookingSync_API_Client_RentalAgreements/_rental_agreement/returns_a_single_rental_agreement.yml +30 -21
- data/spec/fixtures/cassettes/BookingSync_API_Client_RentalAgreements/_rental_agreements/returns_rental_agreements.yml +52 -26
- data/spec/fixtures/cassettes/BookingSync_API_Client_RentalCancelationPolicies/_rental_cancelation_policies/returns_rental_cancelation_policies.yml +48 -27
- data/spec/fixtures/cassettes/BookingSync_API_Client_RentalCancelationPolicies/_rental_cancelation_policy/returns_a_single_rental_cancelation_policy.yml +42 -26
- data/spec/fixtures/cassettes/BookingSync_API_Client_RentalCancelationPolicyItems/_rental_cancelation_policy_item/returns_a_single_rental_cancelation_policy_item.yml +41 -25
- data/spec/fixtures/cassettes/BookingSync_API_Client_RentalCancelationPolicyItems/_rental_cancelation_policy_items/returns_rental_cancelation_policy_items.yml +43 -26
- data/spec/fixtures/cassettes/BookingSync_API_Client_Rentals/_create_rental/creates_a_new_rental.yml +49 -26
- data/spec/fixtures/cassettes/BookingSync_API_Client_Rentals/_delete_rental/deletes_given_rental.yml +36 -20
- data/spec/fixtures/cassettes/BookingSync_API_Client_Rentals/_edit_rental/updates_given_rental_by_ID.yml +44 -28
- data/spec/fixtures/cassettes/BookingSync_API_Client_Rentals/_rental/returns_a_single_rental.yml +234 -31
- data/spec/fixtures/cassettes/BookingSync_API_Client_Rentals/_rental/with_additional_query_params/returns_a_single_rental_with_defined_params.yml +322 -0
- data/spec/fixtures/cassettes/BookingSync_API_Client_Rentals/_rentals/links/returns_associated_photos.yml +453 -77
- data/spec/fixtures/cassettes/BookingSync_API_Client_Rentals/_rentals/returns_rentals.yml +405 -54
- data/spec/fixtures/cassettes/BookingSync_API_Client_Rentals/_rentals/returns_rentals_by_ids.yml +336 -32
- data/spec/fixtures/cassettes/BookingSync_API_Client_Rentals/_rentals_meta/returns_meta_information_about_all_rentals.yml +53 -25
- data/spec/fixtures/cassettes/BookingSync_API_Client_Rentals/_rentals_meta/returns_meta_information_about_requested_rentals.yml +55 -26
- data/spec/fixtures/cassettes/BookingSync_API_Client_Rentals/_rentals_search/performs_autopagination_using_POST.yml +121 -81
- data/spec/fixtures/cassettes/BookingSync_API_Client_Rentals/_rentals_search/rentals_ids_given/makes_a_search_within_given_rentals.yml +42 -28
- data/spec/fixtures/cassettes/BookingSync_API_Client_Rentals/_rentals_search/returns_rentals.yml +42 -28
- data/spec/fixtures/cassettes/BookingSync_API_Client_RentalsAmenities/_create_rentals_amenity/creates_a_new_rentals_amenity.yml +29 -18
- data/spec/fixtures/cassettes/BookingSync_API_Client_RentalsAmenities/_delete_rentals_amenity/deletes_given_rentals_amenity.yml +21 -15
- data/spec/fixtures/cassettes/BookingSync_API_Client_RentalsAmenities/_edit_rentals_amenity/updates_given_rentals_amenity_by_ID.yml +24 -18
- data/spec/fixtures/cassettes/BookingSync_API_Client_RentalsAmenities/_rentals_amenities/links/returns_associated_amenity.yml +104 -52
- data/spec/fixtures/cassettes/BookingSync_API_Client_RentalsAmenities/_rentals_amenities/links/returns_associated_rental.yml +283 -53
- data/spec/fixtures/cassettes/BookingSync_API_Client_RentalsAmenities/_rentals_amenities/returns_rentals_amenities.yml +51 -26
- data/spec/fixtures/cassettes/BookingSync_API_Client_RentalsAmenities/_rentals_amenity/returns_rentals_amenity.yml +50 -26
- data/spec/fixtures/cassettes/BookingSync_API_Client_RentalsFees/_create_rentals_fee/creates_a_new_rentals_fee.yml +30 -19
- data/spec/fixtures/cassettes/BookingSync_API_Client_RentalsFees/_rentals_fee/returns_a_single_rentals_fee.yml +30 -22
- data/spec/fixtures/cassettes/BookingSync_API_Client_RentalsFees/_rentals_fees/returns_rentals_fees.yml +27 -18
- data/spec/fixtures/cassettes/BookingSync_API_Client_Reviews/_create_review/creates_a_new_review.yml +49 -26
- data/spec/fixtures/cassettes/BookingSync_API_Client_Reviews/_review/returns_a_single_review.yml +26 -18
- data/spec/fixtures/cassettes/BookingSync_API_Client_Reviews/_reviews/returns_reviews.yml +41 -33
- data/spec/fixtures/cassettes/BookingSync_API_Client_Seasons/_create_season/creates_a_new_season.yml +50 -27
- data/spec/fixtures/cassettes/BookingSync_API_Client_Seasons/_delete_season/deletes_given_season.yml +36 -20
- data/spec/fixtures/cassettes/BookingSync_API_Client_Seasons/_edit_season/updates_given_season_by_ID.yml +44 -26
- data/spec/fixtures/cassettes/BookingSync_API_Client_Seasons/_season/returns_a_single_season.yml +29 -21
- data/spec/fixtures/cassettes/BookingSync_API_Client_Seasons/_seasons/returns_seasons.yml +55 -36
- data/spec/fixtures/cassettes/BookingSync_API_Client_Sources/_create_source/creates_a_new_source.yml +40 -25
- data/spec/fixtures/cassettes/BookingSync_API_Client_Sources/_edit_source/updates_given_source_by_ID.yml +36 -25
- data/spec/fixtures/cassettes/BookingSync_API_Client_Sources/_source/returns_a_single_source.yml +26 -18
- data/spec/fixtures/cassettes/BookingSync_API_Client_Sources/_sources/returns_sources.yml +42 -24
- data/spec/fixtures/cassettes/BookingSync_API_Client_SpecialOffers/_create_special_offer/creates_a_new_special_offer.yml +50 -26
- data/spec/fixtures/cassettes/BookingSync_API_Client_SpecialOffers/_delete_special_offer/deletes_given_special_offer.yml +36 -20
- data/spec/fixtures/cassettes/BookingSync_API_Client_SpecialOffers/_edit_special_offer/updates_given_special_offer_by_ID.yml +44 -25
- data/spec/fixtures/cassettes/BookingSync_API_Client_SpecialOffers/_special_offer/returns_a_single_special_offer.yml +29 -22
- data/spec/fixtures/cassettes/BookingSync_API_Client_SpecialOffers/_special_offers/returns_special_offers.yml +48 -24
- data/spec/fixtures/cassettes/BookingSync_API_Client_StrictBookings/_create_strict_booking/creates_a_booking.yml +43 -24
- data/spec/fixtures/cassettes/BookingSync_API_Client_Taxes/_tax/returns_a_single_tax.yml +26 -18
- data/spec/fixtures/cassettes/BookingSync_API_Client_Taxes/_taxes/returns_taxes.yml +28 -19
- data/spec/spec_helper.rb +6 -0
- data/spec/support/vcr_helper.rb +29 -0
- metadata +21 -10
- data/lib/bookingsync/api/client/preferences_payments.rb +0 -22
- data/spec/bookingsync/api/client/preferences_payments_spec.rb +0 -12
- data/spec/fixtures/cassettes/BookingSync_API_Client_PreferencesPayments/_preferences_payments/returns_preferences_payments.yml +0 -80
- data/spec/fixtures/cassettes/BookingSync_API_Client_Rentals/_rentals/links/returns_links_to_associated_resources.yml +0 -91
@@ -2,13 +2,13 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: https://www.bookingsync.com/api/v3/rentals/
|
5
|
+
uri: https://www.bookingsync.com/api/v3/rentals/5116,5117,12216,13275/meta
|
6
6
|
body:
|
7
|
-
encoding:
|
8
|
-
string:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: "{}"
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
|
-
-
|
11
|
+
- BookingSync API gem v0.1.3
|
12
12
|
Accept:
|
13
13
|
- application/vnd.api+json
|
14
14
|
Content-Type:
|
@@ -22,40 +22,69 @@ http_interactions:
|
|
22
22
|
code: 200
|
23
23
|
message: OK
|
24
24
|
headers:
|
25
|
+
Server:
|
26
|
+
- nginx
|
27
|
+
Date:
|
28
|
+
- Fri, 09 Dec 2016 10:29:31 GMT
|
29
|
+
Content-Type:
|
30
|
+
- application/vnd.api+json; charset=utf-8
|
31
|
+
Transfer-Encoding:
|
32
|
+
- chunked
|
33
|
+
Connection:
|
34
|
+
- keep-alive
|
35
|
+
Status:
|
36
|
+
- 200 OK
|
37
|
+
X-Frame-Options:
|
38
|
+
- SAMEORIGIN
|
39
|
+
X-Xss-Protection:
|
40
|
+
- 1; mode=block
|
41
|
+
X-Content-Type-Options:
|
42
|
+
- nosniff
|
43
|
+
X-Updated-Since-Request-Synced-At:
|
44
|
+
- 2016-12-09 10:29:31 UTC
|
25
45
|
X-Ratelimit-Limit:
|
26
46
|
- '1000'
|
27
47
|
X-Ratelimit-Reset:
|
28
|
-
- '
|
48
|
+
- '1481281200'
|
29
49
|
X-Ratelimit-Remaining:
|
30
|
-
- '
|
50
|
+
- '963'
|
31
51
|
Link:
|
32
|
-
- <https://www.bookingsync.com/api/v3/rentals/
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
-
|
37
|
-
|
38
|
-
-
|
39
|
-
X-
|
40
|
-
-
|
52
|
+
- <https://www.bookingsync.com/api/v3/rentals/5116,5117,12216,13275/meta?page=1>;
|
53
|
+
rel="first", <https://www.bookingsync.com/api/v3/rentals/5116,5117,12216,13275/meta?page=1>;
|
54
|
+
rel="last"
|
55
|
+
X-Total-Pages:
|
56
|
+
- '1'
|
57
|
+
X-Total-Count:
|
58
|
+
- '1'
|
59
|
+
X-Per-Page:
|
60
|
+
- '50'
|
41
61
|
Etag:
|
42
|
-
-
|
62
|
+
- W/"45bf67f49f80bb725724e221d248358b"
|
43
63
|
Cache-Control:
|
44
64
|
- max-age=0, private, must-revalidate
|
45
65
|
P3p:
|
46
66
|
- CP="OTI DSP COR CUR ADMo DEVo TAI PSAi PSDi IVAi IVDi CONi HISi TELi OTPi
|
47
67
|
OUR SAMi OTRo UNRo PUBi IND UNI STA"
|
68
|
+
Set-Cookie:
|
69
|
+
- ahoy_track=true; path=/; secure
|
70
|
+
- ahoy_visit=3dd09738-7715-454f-8e45-615fc40740ad; path=/; expires=Fri, 16 Dec
|
71
|
+
2016 10:29:31 -0000; secure
|
72
|
+
- ahoy_visitor=f15e0594-7cb7-4991-b98b-6a4c5c5e87bb; path=/; expires=Sun, 09
|
73
|
+
Dec 2018 10:29:31 -0000; secure
|
48
74
|
X-Request-Id:
|
49
|
-
-
|
75
|
+
- 1c269e96-f732-4f18-99e7-937d48c02307
|
50
76
|
X-Runtime:
|
51
|
-
- '0.
|
52
|
-
|
53
|
-
-
|
54
|
-
Connection:
|
55
|
-
- close
|
77
|
+
- '0.207252'
|
78
|
+
Strict-Transport-Security:
|
79
|
+
- max-age=31536000
|
56
80
|
body:
|
57
81
|
encoding: UTF-8
|
58
|
-
string: '{"links":{"rentals_meta.destinations":"https://www.bookingsync.com/api/v3/destinations/{rentals_meta.destinations}"},"rentals_meta":[{"links":{"destinations":[
|
59
|
-
|
60
|
-
|
61
|
-
|
82
|
+
string: '{"links":{"rentals_meta.destinations":"https://www.bookingsync.com/api/v3/destinations/{rentals_meta.destinations}"},"rentals_meta":[{"links":{"destinations":[7301]},"price_ranges":[{"currency":"EUR","max_price":"401.85714","min_price":"401.71429"},{"currency":"USD","max_price":"10.0","min_price":"10.0"}],"rental_types":[{"name":"villa","counter":2}],"rentals_tags":[{"id":32,"name":{"en":"expensive"},"color":"rgba(40,207,223,0.73)","logo":"fa-money","counter":1},{"id":65,"name":{"en":"Destination","fr":""},"color":"#0021ff","logo":"fa-globe","counter":1}],"destinations":[{"id":7301,"name":{"en":"Sivota
|
83
|
+
Lefkada"},"fullname":{"en":"Sivota Lefkada, Lefkada (Lefkas), Ionian Islands,
|
84
|
+
Greece, Europe, World","fr":"Sivota Lefkada, Lefkada (Lefkas), Ionian Islands,
|
85
|
+
Greece, Europe, World","de":"Sivota Lefkada, Lefkada (Lefkas), Ionian Islands,
|
86
|
+
Greece, Europe, World"},"permalink":{"en":"world/europe/greece/ionian-islands/lefkada-lefkas/sivota-lefkada","fr":"world/europe/greece/ionian-islands/lefkada-lefkas/sivota-lefkada","de":"world/europe/greece/ionian-islands/lefkada-lefkas/sivota-lefkada"},"aliases":{"en":"---\n-
|
87
|
+
Syvota\n"},"counter":2,"ancestor_ids":[99,101,2918,6817,7160]}]}]}'
|
88
|
+
http_version:
|
89
|
+
recorded_at: Fri, 09 Dec 2016 10:29:31 GMT
|
90
|
+
recorded_with: VCR 3.0.3
|
@@ -8,7 +8,7 @@ http_interactions:
|
|
8
8
|
string: '{"per_page":1}'
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
|
-
- BookingSync API gem v0.
|
11
|
+
- BookingSync API gem v0.1.3
|
12
12
|
Accept:
|
13
13
|
- application/vnd.api+json
|
14
14
|
Content-Type:
|
@@ -22,18 +22,32 @@ http_interactions:
|
|
22
22
|
code: 200
|
23
23
|
message: OK
|
24
24
|
headers:
|
25
|
+
Server:
|
26
|
+
- nginx
|
27
|
+
Date:
|
28
|
+
- Fri, 09 Dec 2016 10:31:24 GMT
|
29
|
+
Content-Type:
|
30
|
+
- application/vnd.api+json; charset=utf-8
|
31
|
+
Transfer-Encoding:
|
32
|
+
- chunked
|
33
|
+
Connection:
|
34
|
+
- keep-alive
|
35
|
+
Status:
|
36
|
+
- 200 OK
|
25
37
|
X-Frame-Options:
|
26
38
|
- SAMEORIGIN
|
27
39
|
X-Xss-Protection:
|
28
40
|
- 1; mode=block
|
29
41
|
X-Content-Type-Options:
|
30
42
|
- nosniff
|
43
|
+
X-Updated-Since-Request-Synced-At:
|
44
|
+
- 2016-12-09 10:31:23 UTC
|
31
45
|
X-Ratelimit-Limit:
|
32
46
|
- '1000'
|
33
47
|
X-Ratelimit-Reset:
|
34
|
-
- '
|
48
|
+
- '1481281200'
|
35
49
|
X-Ratelimit-Remaining:
|
36
|
-
- '
|
50
|
+
- '960'
|
37
51
|
Link:
|
38
52
|
- <https://www.bookingsync.com/api/v3/rentals/search?page=1&per_page=1>; rel="first",
|
39
53
|
<https://www.bookingsync.com/api/v3/rentals/search?page=2&per_page=1>; rel="next",
|
@@ -44,34 +58,30 @@ http_interactions:
|
|
44
58
|
- '4'
|
45
59
|
X-Per-Page:
|
46
60
|
- '1'
|
47
|
-
Content-Type:
|
48
|
-
- application/vnd.api+json; charset=utf-8
|
49
61
|
Etag:
|
50
|
-
-
|
62
|
+
- W/"396406efe517c71f638073cca561522a"
|
51
63
|
Cache-Control:
|
52
64
|
- max-age=0, private, must-revalidate
|
53
65
|
P3p:
|
54
66
|
- CP="OTI DSP COR CUR ADMo DEVo TAI PSAi PSDi IVAi IVDi CONi HISi TELi OTPi
|
55
67
|
OUR SAMi OTRo UNRo PUBi IND UNI STA"
|
56
68
|
Set-Cookie:
|
57
|
-
- ahoy_track=true; path
|
58
|
-
- ahoy_visit=
|
59
|
-
2016
|
60
|
-
- ahoy_visitor=
|
61
|
-
|
69
|
+
- ahoy_track=true; path=/; secure
|
70
|
+
- ahoy_visit=d6d9b4ba-3cec-4ea3-bf77-561ab8264a7d; path=/; expires=Fri, 16 Dec
|
71
|
+
2016 10:31:23 -0000; secure
|
72
|
+
- ahoy_visitor=ffa5f4c4-9b60-41f8-9b3e-354673e2df2e; path=/; expires=Sun, 09
|
73
|
+
Dec 2018 10:31:23 -0000; secure
|
62
74
|
X-Request-Id:
|
63
|
-
-
|
75
|
+
- c9018289-a8d7-45ee-a16f-b80b98b61896
|
64
76
|
X-Runtime:
|
65
|
-
- '0.
|
66
|
-
|
67
|
-
-
|
68
|
-
Connection:
|
69
|
-
- close
|
77
|
+
- '0.609944'
|
78
|
+
Strict-Transport-Security:
|
79
|
+
- max-age=31536000
|
70
80
|
body:
|
71
81
|
encoding: UTF-8
|
72
|
-
string: '{"links":{"rentals.rentals_fees":"https://www.bookingsync.com/api/v3/rentals_fees/{rentals.rentals_fees}"},"rentals":[{"links":{"rentals_fees":[
|
73
|
-
http_version:
|
74
|
-
recorded_at: Fri,
|
82
|
+
string: '{"links":{"rentals.rentals_fees":"https://www.bookingsync.com/api/v3/rentals_fees/{rentals.rentals_fees}"},"rentals":[{"links":{"rentals_fees":[]},"id":5116,"currency":"USD","initial_price":null,"final_price":null,"updated_at":"2016-12-09T10:31:03Z","taxes":[],"price_details":{"taxes":[],"fees":[]},"price_to_pay_now":null}]}'
|
83
|
+
http_version:
|
84
|
+
recorded_at: Fri, 09 Dec 2016 10:31:24 GMT
|
75
85
|
- request:
|
76
86
|
method: post
|
77
87
|
uri: https://www.bookingsync.com/api/v3/rentals/search?page=2&per_page=1
|
@@ -80,7 +90,7 @@ http_interactions:
|
|
80
90
|
string: "{}"
|
81
91
|
headers:
|
82
92
|
User-Agent:
|
83
|
-
- BookingSync API gem v0.
|
93
|
+
- BookingSync API gem v0.1.3
|
84
94
|
Accept:
|
85
95
|
- application/vnd.api+json
|
86
96
|
Content-Type:
|
@@ -94,18 +104,32 @@ http_interactions:
|
|
94
104
|
code: 200
|
95
105
|
message: OK
|
96
106
|
headers:
|
107
|
+
Server:
|
108
|
+
- nginx
|
109
|
+
Date:
|
110
|
+
- Fri, 09 Dec 2016 10:31:24 GMT
|
111
|
+
Content-Type:
|
112
|
+
- application/vnd.api+json; charset=utf-8
|
113
|
+
Transfer-Encoding:
|
114
|
+
- chunked
|
115
|
+
Connection:
|
116
|
+
- keep-alive
|
117
|
+
Status:
|
118
|
+
- 200 OK
|
97
119
|
X-Frame-Options:
|
98
120
|
- SAMEORIGIN
|
99
121
|
X-Xss-Protection:
|
100
122
|
- 1; mode=block
|
101
123
|
X-Content-Type-Options:
|
102
124
|
- nosniff
|
125
|
+
X-Updated-Since-Request-Synced-At:
|
126
|
+
- 2016-12-09 10:31:24 UTC
|
103
127
|
X-Ratelimit-Limit:
|
104
128
|
- '1000'
|
105
129
|
X-Ratelimit-Reset:
|
106
|
-
- '
|
130
|
+
- '1481281200'
|
107
131
|
X-Ratelimit-Remaining:
|
108
|
-
- '
|
132
|
+
- '959'
|
109
133
|
Link:
|
110
134
|
- <https://www.bookingsync.com/api/v3/rentals/search?page=1&per_page=1>; rel="first",
|
111
135
|
<https://www.bookingsync.com/api/v3/rentals/search?page=1&per_page=1>; rel="prev",
|
@@ -117,34 +141,30 @@ http_interactions:
|
|
117
141
|
- '4'
|
118
142
|
X-Per-Page:
|
119
143
|
- '1'
|
120
|
-
Content-Type:
|
121
|
-
- application/vnd.api+json; charset=utf-8
|
122
144
|
Etag:
|
123
|
-
-
|
145
|
+
- W/"215b2ebcbbadfc8b352d423b77948bfc"
|
124
146
|
Cache-Control:
|
125
147
|
- max-age=0, private, must-revalidate
|
126
148
|
P3p:
|
127
149
|
- CP="OTI DSP COR CUR ADMo DEVo TAI PSAi PSDi IVAi IVDi CONi HISi TELi OTPi
|
128
150
|
OUR SAMi OTRo UNRo PUBi IND UNI STA"
|
129
151
|
Set-Cookie:
|
130
|
-
- ahoy_track=true; path
|
131
|
-
- ahoy_visit=
|
132
|
-
2016
|
133
|
-
- ahoy_visitor=
|
134
|
-
|
152
|
+
- ahoy_track=true; path=/; secure
|
153
|
+
- ahoy_visit=88f92332-cd61-4643-86c7-fa9e89bd46e5; path=/; expires=Fri, 16 Dec
|
154
|
+
2016 10:31:24 -0000; secure
|
155
|
+
- ahoy_visitor=33e2e723-f60f-402e-9f4b-f07ae9cbdabf; path=/; expires=Sun, 09
|
156
|
+
Dec 2018 10:31:24 -0000; secure
|
135
157
|
X-Request-Id:
|
136
|
-
-
|
158
|
+
- ff0d8d9b-34ab-4887-ad51-f8bf0c2d93ec
|
137
159
|
X-Runtime:
|
138
|
-
- '0.
|
139
|
-
|
140
|
-
-
|
141
|
-
Connection:
|
142
|
-
- close
|
160
|
+
- '0.134258'
|
161
|
+
Strict-Transport-Security:
|
162
|
+
- max-age=31536000
|
143
163
|
body:
|
144
164
|
encoding: UTF-8
|
145
|
-
string: '{"links":{"rentals.rentals_fees":"https://www.bookingsync.com/api/v3/rentals_fees/{rentals.rentals_fees}"},"rentals":[{"links":{"rentals_fees":[
|
146
|
-
http_version:
|
147
|
-
recorded_at: Fri,
|
165
|
+
string: '{"links":{"rentals.rentals_fees":"https://www.bookingsync.com/api/v3/rentals_fees/{rentals.rentals_fees}"},"rentals":[{"links":{"rentals_fees":[]},"id":5117,"currency":"EUR","initial_price":null,"final_price":null,"updated_at":"2016-12-09T10:31:03Z","taxes":[],"price_details":{"taxes":[],"fees":[]},"price_to_pay_now":null}]}'
|
166
|
+
http_version:
|
167
|
+
recorded_at: Fri, 09 Dec 2016 10:31:24 GMT
|
148
168
|
- request:
|
149
169
|
method: post
|
150
170
|
uri: https://www.bookingsync.com/api/v3/rentals/search?page=3&per_page=1
|
@@ -153,7 +173,7 @@ http_interactions:
|
|
153
173
|
string: "{}"
|
154
174
|
headers:
|
155
175
|
User-Agent:
|
156
|
-
- BookingSync API gem v0.
|
176
|
+
- BookingSync API gem v0.1.3
|
157
177
|
Accept:
|
158
178
|
- application/vnd.api+json
|
159
179
|
Content-Type:
|
@@ -167,18 +187,32 @@ http_interactions:
|
|
167
187
|
code: 200
|
168
188
|
message: OK
|
169
189
|
headers:
|
190
|
+
Server:
|
191
|
+
- nginx
|
192
|
+
Date:
|
193
|
+
- Fri, 09 Dec 2016 10:31:25 GMT
|
194
|
+
Content-Type:
|
195
|
+
- application/vnd.api+json; charset=utf-8
|
196
|
+
Transfer-Encoding:
|
197
|
+
- chunked
|
198
|
+
Connection:
|
199
|
+
- keep-alive
|
200
|
+
Status:
|
201
|
+
- 200 OK
|
170
202
|
X-Frame-Options:
|
171
203
|
- SAMEORIGIN
|
172
204
|
X-Xss-Protection:
|
173
205
|
- 1; mode=block
|
174
206
|
X-Content-Type-Options:
|
175
207
|
- nosniff
|
208
|
+
X-Updated-Since-Request-Synced-At:
|
209
|
+
- 2016-12-09 10:31:25 UTC
|
176
210
|
X-Ratelimit-Limit:
|
177
211
|
- '1000'
|
178
212
|
X-Ratelimit-Reset:
|
179
|
-
- '
|
213
|
+
- '1481281200'
|
180
214
|
X-Ratelimit-Remaining:
|
181
|
-
- '
|
215
|
+
- '958'
|
182
216
|
Link:
|
183
217
|
- <https://www.bookingsync.com/api/v3/rentals/search?page=1&per_page=1>; rel="first",
|
184
218
|
<https://www.bookingsync.com/api/v3/rentals/search?page=2&per_page=1>; rel="prev",
|
@@ -190,34 +224,30 @@ http_interactions:
|
|
190
224
|
- '4'
|
191
225
|
X-Per-Page:
|
192
226
|
- '1'
|
193
|
-
Content-Type:
|
194
|
-
- application/vnd.api+json; charset=utf-8
|
195
227
|
Etag:
|
196
|
-
-
|
228
|
+
- W/"24697a451a90174c1f3702f5511c9873"
|
197
229
|
Cache-Control:
|
198
230
|
- max-age=0, private, must-revalidate
|
199
231
|
P3p:
|
200
232
|
- CP="OTI DSP COR CUR ADMo DEVo TAI PSAi PSDi IVAi IVDi CONi HISi TELi OTPi
|
201
233
|
OUR SAMi OTRo UNRo PUBi IND UNI STA"
|
202
234
|
Set-Cookie:
|
203
|
-
- ahoy_track=true; path
|
204
|
-
- ahoy_visit=
|
205
|
-
2016
|
206
|
-
- ahoy_visitor=
|
207
|
-
|
235
|
+
- ahoy_track=true; path=/; secure
|
236
|
+
- ahoy_visit=aee7ac20-a03f-41d9-bf18-4ab059ec2416; path=/; expires=Fri, 16 Dec
|
237
|
+
2016 10:31:25 -0000; secure
|
238
|
+
- ahoy_visitor=4d8f9e81-8005-412c-b13c-a4d86a8e7250; path=/; expires=Sun, 09
|
239
|
+
Dec 2018 10:31:25 -0000; secure
|
208
240
|
X-Request-Id:
|
209
|
-
-
|
241
|
+
- a981c661-f7d9-40ad-b300-85def0285eac
|
210
242
|
X-Runtime:
|
211
|
-
- '0.
|
212
|
-
|
213
|
-
-
|
214
|
-
Connection:
|
215
|
-
- close
|
243
|
+
- '0.136798'
|
244
|
+
Strict-Transport-Security:
|
245
|
+
- max-age=31536000
|
216
246
|
body:
|
217
247
|
encoding: UTF-8
|
218
|
-
string: '{"links":{"rentals.rentals_fees":"https://www.bookingsync.com/api/v3/rentals_fees/{rentals.rentals_fees}"},"rentals":[{"links":{"rentals_fees":[
|
219
|
-
http_version:
|
220
|
-
recorded_at: Fri,
|
248
|
+
string: '{"links":{"rentals.rentals_fees":"https://www.bookingsync.com/api/v3/rentals_fees/{rentals.rentals_fees}"},"rentals":[{"links":{"rentals_fees":[]},"id":12216,"currency":"EUR","initial_price":null,"final_price":null,"updated_at":"2016-12-07T12:35:09Z","taxes":[],"price_details":{"taxes":[],"fees":[]},"price_to_pay_now":null}]}'
|
249
|
+
http_version:
|
250
|
+
recorded_at: Fri, 09 Dec 2016 10:31:25 GMT
|
221
251
|
- request:
|
222
252
|
method: post
|
223
253
|
uri: https://www.bookingsync.com/api/v3/rentals/search?page=4&per_page=1
|
@@ -226,7 +256,7 @@ http_interactions:
|
|
226
256
|
string: "{}"
|
227
257
|
headers:
|
228
258
|
User-Agent:
|
229
|
-
- BookingSync API gem v0.
|
259
|
+
- BookingSync API gem v0.1.3
|
230
260
|
Accept:
|
231
261
|
- application/vnd.api+json
|
232
262
|
Content-Type:
|
@@ -240,18 +270,32 @@ http_interactions:
|
|
240
270
|
code: 200
|
241
271
|
message: OK
|
242
272
|
headers:
|
273
|
+
Server:
|
274
|
+
- nginx
|
275
|
+
Date:
|
276
|
+
- Fri, 09 Dec 2016 10:31:25 GMT
|
277
|
+
Content-Type:
|
278
|
+
- application/vnd.api+json; charset=utf-8
|
279
|
+
Transfer-Encoding:
|
280
|
+
- chunked
|
281
|
+
Connection:
|
282
|
+
- keep-alive
|
283
|
+
Status:
|
284
|
+
- 200 OK
|
243
285
|
X-Frame-Options:
|
244
286
|
- SAMEORIGIN
|
245
287
|
X-Xss-Protection:
|
246
288
|
- 1; mode=block
|
247
289
|
X-Content-Type-Options:
|
248
290
|
- nosniff
|
291
|
+
X-Updated-Since-Request-Synced-At:
|
292
|
+
- 2016-12-09 10:31:25 UTC
|
249
293
|
X-Ratelimit-Limit:
|
250
294
|
- '1000'
|
251
295
|
X-Ratelimit-Reset:
|
252
|
-
- '
|
296
|
+
- '1481281200'
|
253
297
|
X-Ratelimit-Remaining:
|
254
|
-
- '
|
298
|
+
- '957'
|
255
299
|
Link:
|
256
300
|
- <https://www.bookingsync.com/api/v3/rentals/search?page=1&per_page=1>; rel="first",
|
257
301
|
<https://www.bookingsync.com/api/v3/rentals/search?page=3&per_page=1>; rel="prev",
|
@@ -262,32 +306,28 @@ http_interactions:
|
|
262
306
|
- '4'
|
263
307
|
X-Per-Page:
|
264
308
|
- '1'
|
265
|
-
Content-Type:
|
266
|
-
- application/vnd.api+json; charset=utf-8
|
267
309
|
Etag:
|
268
|
-
-
|
310
|
+
- W/"a406e43aa74884c129e821dde8e1b2ce"
|
269
311
|
Cache-Control:
|
270
312
|
- max-age=0, private, must-revalidate
|
271
313
|
P3p:
|
272
314
|
- CP="OTI DSP COR CUR ADMo DEVo TAI PSAi PSDi IVAi IVDi CONi HISi TELi OTPi
|
273
315
|
OUR SAMi OTRo UNRo PUBi IND UNI STA"
|
274
316
|
Set-Cookie:
|
275
|
-
- ahoy_track=true; path
|
276
|
-
- ahoy_visit=
|
277
|
-
2016
|
278
|
-
- ahoy_visitor=
|
279
|
-
|
317
|
+
- ahoy_track=true; path=/; secure
|
318
|
+
- ahoy_visit=20f0a968-3192-4715-a8fe-761aa81bec62; path=/; expires=Fri, 16 Dec
|
319
|
+
2016 10:31:25 -0000; secure
|
320
|
+
- ahoy_visitor=7bb879b7-08b6-4668-82fb-79b02187d489; path=/; expires=Sun, 09
|
321
|
+
Dec 2018 10:31:25 -0000; secure
|
280
322
|
X-Request-Id:
|
281
|
-
-
|
323
|
+
- ff377d9f-a14a-4e78-a9a7-a1e5116e7392
|
282
324
|
X-Runtime:
|
283
|
-
- '0.
|
284
|
-
|
285
|
-
-
|
286
|
-
Connection:
|
287
|
-
- close
|
325
|
+
- '0.266652'
|
326
|
+
Strict-Transport-Security:
|
327
|
+
- max-age=31536000
|
288
328
|
body:
|
289
329
|
encoding: UTF-8
|
290
|
-
string: '{"links":{"rentals.rentals_fees":"https://www.bookingsync.com/api/v3/rentals_fees/{rentals.rentals_fees}"},"rentals":[{"links":{"rentals_fees":[]},"id":
|
291
|
-
http_version:
|
292
|
-
recorded_at: Fri,
|
293
|
-
recorded_with: VCR
|
330
|
+
string: '{"links":{"rentals.rentals_fees":"https://www.bookingsync.com/api/v3/rentals_fees/{rentals.rentals_fees}"},"rentals":[{"links":{"rentals_fees":[]},"id":13275,"currency":null,"initial_price":null,"final_price":null,"updated_at":"2016-12-07T12:35:09Z","taxes":[],"price_details":{"taxes":[],"fees":[]},"price_to_pay_now":null}]}'
|
331
|
+
http_version:
|
332
|
+
recorded_at: Fri, 09 Dec 2016 10:31:25 GMT
|
333
|
+
recorded_with: VCR 3.0.3
|