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.
Files changed (202) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +6 -0
  3. data/bookingsync-api.gemspec +1 -0
  4. data/lib/bookingsync/api/client.rb +41 -24
  5. data/lib/bookingsync/api/client/payments.rb +1 -1
  6. data/lib/bookingsync/api/client/rentals.rb +2 -2
  7. data/lib/bookingsync/api/version.rb +1 -1
  8. data/spec/bookingsync/api/client/accounts_spec.rb +8 -2
  9. data/spec/bookingsync/api/client/amenities_spec.rb +8 -2
  10. data/spec/bookingsync/api/client/availabilities_spec.rb +8 -2
  11. data/spec/bookingsync/api/client/bathrooms_spec.rb +25 -12
  12. data/spec/bookingsync/api/client/bedrooms_spec.rb +24 -11
  13. data/spec/bookingsync/api/client/booking_comments_spec.rb +23 -10
  14. data/spec/bookingsync/api/client/bookings_fees_spec.rb +8 -2
  15. data/spec/bookingsync/api/client/bookings_payments_spec.rb +8 -2
  16. data/spec/bookingsync/api/client/bookings_spec.rb +36 -20
  17. data/spec/bookingsync/api/client/bookings_taxes_spec.rb +8 -2
  18. data/spec/bookingsync/api/client/change_overs_spec.rb +8 -2
  19. data/spec/bookingsync/api/client/clients_spec.rb +23 -13
  20. data/spec/bookingsync/api/client/destinations_spec.rb +8 -2
  21. data/spec/bookingsync/api/client/fees_spec.rb +8 -2
  22. data/spec/bookingsync/api/client/inquiries_spec.rb +13 -7
  23. data/spec/bookingsync/api/client/living_rooms_spec.rb +22 -9
  24. data/spec/bookingsync/api/client/nightly_rate_maps_spec.rb +15 -6
  25. data/spec/bookingsync/api/client/payment_gateways_spec.rb +8 -2
  26. data/spec/bookingsync/api/client/payments_spec.rb +34 -16
  27. data/spec/bookingsync/api/client/periods_spec.rb +29 -14
  28. data/spec/bookingsync/api/client/photos_spec.rb +23 -9
  29. data/spec/bookingsync/api/client/preferences_general_settings_spec.rb +11 -4
  30. data/spec/bookingsync/api/client/rates_rules_spec.rb +25 -12
  31. data/spec/bookingsync/api/client/rates_spec.rb +8 -2
  32. data/spec/bookingsync/api/client/rates_tables_spec.rb +23 -10
  33. data/spec/bookingsync/api/client/rental_agreements_spec.rb +18 -8
  34. data/spec/bookingsync/api/client/rental_cancelation_policies_spec.rb +8 -1
  35. data/spec/bookingsync/api/client/rental_cancelation_policy_items_spec.rb +8 -1
  36. data/spec/bookingsync/api/client/rentals_amenities_spec.rb +22 -9
  37. data/spec/bookingsync/api/client/rentals_fees_spec.rb +14 -5
  38. data/spec/bookingsync/api/client/rentals_spec.rb +53 -19
  39. data/spec/bookingsync/api/client/reviews_spec.rb +12 -6
  40. data/spec/bookingsync/api/client/seasons_spec.rb +30 -14
  41. data/spec/bookingsync/api/client/sources_spec.rb +17 -8
  42. data/spec/bookingsync/api/client/special_offers_spec.rb +30 -15
  43. data/spec/bookingsync/api/client/strict_bookings_spec.rb +10 -14
  44. data/spec/bookingsync/api/client/taxes_spec.rb +8 -2
  45. data/spec/bookingsync/api/client_spec.rb +23 -7
  46. data/spec/bookingsync/api/relation_spec.rb +1 -1
  47. data/spec/bookingsync/api/resource_spec.rb +8 -8
  48. data/spec/bookingsync/api/response_spec.rb +8 -8
  49. data/spec/fixtures/cassettes/BookingSync_API_Client_Accounts/_account/returns_a_single_account.yml +26 -18
  50. data/spec/fixtures/cassettes/BookingSync_API_Client_Accounts/_accounts/returns_accounts.yml +26 -18
  51. data/spec/fixtures/cassettes/BookingSync_API_Client_Amenities/_amenities/returns_amenities.yml +220 -26
  52. data/spec/fixtures/cassettes/BookingSync_API_Client_Amenities/_amenity/returns_amenity.yml +50 -26
  53. data/spec/fixtures/cassettes/BookingSync_API_Client_Availabilities/_availabilities/returns_availabilities.yml +37 -21
  54. data/spec/fixtures/cassettes/BookingSync_API_Client_Availabilities/_availability/returns_a_single_availability.yml +33 -25
  55. data/spec/fixtures/cassettes/BookingSync_API_Client_Bathrooms/_bathroom/returns_a_single_bathroom.yml +26 -18
  56. data/spec/fixtures/cassettes/BookingSync_API_Client_Bathrooms/_bathrooms/returns_bathrooms.yml +33 -22
  57. data/spec/fixtures/cassettes/BookingSync_API_Client_Bathrooms/_cancel_bathroom/cancels_given_bathroom.yml +21 -15
  58. data/spec/fixtures/cassettes/BookingSync_API_Client_Bathrooms/_create_bathroom/creates_a_new_bathroom.yml +30 -19
  59. data/spec/fixtures/cassettes/BookingSync_API_Client_Bathrooms/_edit_bathroom/updates_given_bathroom_by_ID.yml +26 -19
  60. data/spec/fixtures/cassettes/BookingSync_API_Client_Bedrooms/_bedroom/returns_a_single_bedroom.yml +26 -18
  61. data/spec/fixtures/cassettes/BookingSync_API_Client_Bedrooms/_bedrooms/returns_bedrooms.yml +32 -24
  62. data/spec/fixtures/cassettes/BookingSync_API_Client_Bedrooms/_cancel_bedroom/cancels_given_bedroom.yml +21 -15
  63. data/spec/fixtures/cassettes/BookingSync_API_Client_Bedrooms/_create_bedroom/creates_a_new_bedroom.yml +29 -18
  64. data/spec/fixtures/cassettes/BookingSync_API_Client_Bedrooms/_edit_bedroom/updates_given_bedroom_by_ID.yml +25 -19
  65. data/spec/fixtures/cassettes/BookingSync_API_Client_BookingComments/_booking_comment/returns_single_booking_comment.yml +42 -26
  66. data/spec/fixtures/cassettes/BookingSync_API_Client_BookingComments/_booking_comments/returns_booking_comments.yml +45 -33
  67. data/spec/fixtures/cassettes/BookingSync_API_Client_BookingComments/_create_booking_comment/creates_booking_comment.yml +43 -24
  68. data/spec/fixtures/cassettes/BookingSync_API_Client_BookingComments/_create_booking_comment/returns_newly_created_booking_comment.yml +43 -24
  69. data/spec/fixtures/cassettes/BookingSync_API_Client_BookingComments/_delete_booking_comment/deletes_given_booking_comment.yml +29 -17
  70. data/spec/fixtures/cassettes/BookingSync_API_Client_BookingComments/_edit_booking_comment/returns_updated_booking_comment.yml +36 -22
  71. data/spec/fixtures/cassettes/BookingSync_API_Client_BookingComments/_edit_booking_comment/updates_booking_comment.yml +36 -22
  72. data/spec/fixtures/cassettes/BookingSync_API_Client_Bookings/_booking/returns_a_single_booking.yml +44 -26
  73. data/spec/fixtures/cassettes/BookingSync_API_Client_Bookings/_booking/returns_a_single_canceled_booking.yml +30 -23
  74. data/spec/fixtures/cassettes/BookingSync_API_Client_Bookings/_bookings/pagination/with_a_block/yields_block_with_batch_of_bookings.yml +100 -115
  75. data/spec/fixtures/cassettes/BookingSync_API_Client_Bookings/_bookings/pagination/with_auto_paginate_true/returns_all_bookings_joined_from_many_requests.yml +100 -115
  76. data/spec/fixtures/cassettes/BookingSync_API_Client_Bookings/_bookings/pagination/with_per_page_setting/returns_limited_number_of_bookings.yml +52 -28
  77. data/spec/fixtures/cassettes/BookingSync_API_Client_Bookings/_bookings/returns_bookings.yml +57 -25
  78. data/spec/fixtures/cassettes/BookingSync_API_Client_Bookings/_cancel_booking/cancels_given_booking.yml +36 -20
  79. data/spec/fixtures/cassettes/BookingSync_API_Client_Bookings/_create_booking/creates_a_booking.yml +49 -26
  80. data/spec/fixtures/cassettes/BookingSync_API_Client_Bookings/_edit_booking/updates_given_booking_by_ID.yml +44 -24
  81. data/spec/fixtures/cassettes/BookingSync_API_Client_BookingsFees/_bookings_fee/returns_a_single_bookings_fee.yml +26 -18
  82. data/spec/fixtures/cassettes/BookingSync_API_Client_BookingsFees/_bookings_fees/returns_bookings_fees.yml +27 -19
  83. data/spec/fixtures/cassettes/BookingSync_API_Client_BookingsPayments/_bookings_payment/returns_a_single_bookings_payment.yml +26 -18
  84. data/spec/fixtures/cassettes/BookingSync_API_Client_BookingsPayments/_bookings_payments/returns_bookings_payments.yml +51 -28
  85. data/spec/fixtures/cassettes/BookingSync_API_Client_BookingsTaxes/_bookings_tax/returns_a_single_bookings_tax.yml +26 -18
  86. data/spec/fixtures/cassettes/BookingSync_API_Client_BookingsTaxes/_bookings_taxes/returns_bookings_taxes.yml +28 -20
  87. data/spec/fixtures/cassettes/BookingSync_API_Client_ChangeOvers/_change_over/returns_a_single_change_over.yml +44 -38
  88. data/spec/fixtures/cassettes/BookingSync_API_Client_ChangeOvers/_change_overs/returns_change_overs.yml +43 -37
  89. data/spec/fixtures/cassettes/BookingSync_API_Client_Clients/_client/returns_a_single_client.yml +27 -19
  90. data/spec/fixtures/cassettes/BookingSync_API_Client_Clients/_clients/returns_clients.yml +32 -26
  91. data/spec/fixtures/cassettes/BookingSync_API_Client_Clients/_create_client/creates_a_new_client.yml +30 -19
  92. data/spec/fixtures/cassettes/BookingSync_API_Client_Clients/_edit_client/updates_given_client_by_ID.yml +25 -19
  93. data/spec/fixtures/cassettes/BookingSync_API_Client_Destinations/_destination/returns_a_single_destination.yml +29 -24
  94. data/spec/fixtures/cassettes/BookingSync_API_Client_Destinations/_destinations/returns_destinations.yml +59 -25
  95. data/spec/fixtures/cassettes/BookingSync_API_Client_Fees/_create_fee/creates_a_new_fee.yml +25 -18
  96. data/spec/fixtures/cassettes/BookingSync_API_Client_Fees/_fee/returns_a_single_fee.yml +26 -18
  97. data/spec/fixtures/cassettes/BookingSync_API_Client_Fees/_fees/returns_fees.yml +31 -19
  98. data/spec/fixtures/cassettes/BookingSync_API_Client_Inquiries/_create_inquiry/creates_a_new_inquiry.yml +50 -27
  99. data/spec/fixtures/cassettes/BookingSync_API_Client_Inquiries/_inquiries/returns_inquiries.yml +50 -26
  100. data/spec/fixtures/cassettes/BookingSync_API_Client_Inquiries/_inquiry/returns_a_single_inquiry.yml +29 -21
  101. data/spec/fixtures/cassettes/BookingSync_API_Client_LivingRooms/_cancel_living_room/cancels_given_living_room.yml +35 -31
  102. data/spec/fixtures/cassettes/BookingSync_API_Client_LivingRooms/_create_living_room/creates_a_new_living_room.yml +41 -37
  103. data/spec/fixtures/cassettes/BookingSync_API_Client_LivingRooms/_edit_living_room/updates_given_living_room_by_ID.yml +38 -34
  104. data/spec/fixtures/cassettes/BookingSync_API_Client_LivingRooms/_living_room/returns_a_single_living_room.yml +44 -40
  105. data/spec/fixtures/cassettes/BookingSync_API_Client_LivingRooms/_living_rooms/returns_living_rooms.yml +43 -39
  106. data/spec/fixtures/cassettes/BookingSync_API_Client_NightlyRateMaps/_edit_nightly_rate_map/updates_given_nightly_rate_map_by_ID.yml +39 -33
  107. data/spec/fixtures/cassettes/BookingSync_API_Client_NightlyRateMaps/_nightly_rate_map/returns_a_single_nightly_rate_map.yml +44 -38
  108. data/spec/fixtures/cassettes/BookingSync_API_Client_NightlyRateMaps/_nightly_rate_maps/returns_nightly_rate_maps.yml +44 -38
  109. data/spec/fixtures/cassettes/BookingSync_API_Client_PaymentGateways/_payment_gateway/returns_a_single_payment_gateway.yml +38 -24
  110. data/spec/fixtures/cassettes/BookingSync_API_Client_PaymentGateways/_payment_gateways/returns_payment_gateways.yml +37 -23
  111. data/spec/fixtures/cassettes/BookingSync_API_Client_Payments/_cancel_payment/cancels_given_payment.yml +36 -20
  112. data/spec/fixtures/cassettes/BookingSync_API_Client_Payments/_create_payment/creates_a_new_payment.yml +50 -26
  113. data/spec/fixtures/cassettes/BookingSync_API_Client_Payments/_edit_payment/updates_given_payment_by_ID.yml +44 -25
  114. data/spec/fixtures/cassettes/BookingSync_API_Client_Payments/_payment/returns_a_single_payment.yml +26 -18
  115. data/spec/fixtures/cassettes/BookingSync_API_Client_Payments/_payments/returns_payments.yml +55 -27
  116. data/spec/fixtures/cassettes/BookingSync_API_Client_Periods/_create_period/creates_a_new_period.yml +49 -26
  117. data/spec/fixtures/cassettes/BookingSync_API_Client_Periods/_delete_period/deletes_given_period.yml +35 -19
  118. data/spec/fixtures/cassettes/BookingSync_API_Client_Periods/_edit_period/updates_given_period_by_ID.yml +43 -25
  119. data/spec/fixtures/cassettes/BookingSync_API_Client_Periods/_period/returns_a_single_period.yml +28 -20
  120. data/spec/fixtures/cassettes/BookingSync_API_Client_Periods/_periods/returns_periods.yml +49 -25
  121. data/spec/fixtures/cassettes/BookingSync_API_Client_Photos/_create_photo/creates_a_photo.yml +47 -24
  122. data/spec/fixtures/cassettes/BookingSync_API_Client_Photos/_create_photo/creates_a_photo_with_encoded_photo_file.yml +47 -24
  123. data/spec/fixtures/cassettes/BookingSync_API_Client_Photos/_create_photo/creates_a_photo_with_photo_path.yml +47 -24
  124. data/spec/fixtures/cassettes/BookingSync_API_Client_Photos/_create_photo/creates_a_photo_with_remote_URL.yml +47 -24
  125. data/spec/fixtures/cassettes/BookingSync_API_Client_Photos/_delete_photo/delete_given_photo.yml +37 -21
  126. data/spec/fixtures/cassettes/BookingSync_API_Client_Photos/_edit_photo/updates_photo_s_description.yml +42 -23
  127. data/spec/fixtures/cassettes/BookingSync_API_Client_Photos/_edit_photo/updates_photo_s_image_file.yml +42 -23
  128. data/spec/fixtures/cassettes/BookingSync_API_Client_Photos/_photo/returns_a_single_photo.yml +28 -20
  129. data/spec/fixtures/cassettes/BookingSync_API_Client_Photos/_photos/returns_photos.yml +38 -22
  130. data/spec/fixtures/cassettes/BookingSync_API_Client_PreferencesGeneralSettings/_edit_preferences_general_setting/updates_given_preferences_general_setting_by_ID.yml +39 -34
  131. data/spec/fixtures/cassettes/BookingSync_API_Client_PreferencesGeneralSettings/_preferences_general_settings/returns_preferences_general_settings.yml +50 -42
  132. data/spec/fixtures/cassettes/BookingSync_API_Client_Rates/_rate/returns_a_single_rate.yml +28 -20
  133. data/spec/fixtures/cassettes/BookingSync_API_Client_Rates/_rates/returns_rates.yml +48 -24
  134. data/spec/fixtures/cassettes/BookingSync_API_Client_RatesRules/_create_rates_rule/creates_a_new_rates_rule.yml +29 -18
  135. data/spec/fixtures/cassettes/BookingSync_API_Client_RatesRules/_delete_rates_rule/deletes_given_rates_rule.yml +21 -15
  136. data/spec/fixtures/cassettes/BookingSync_API_Client_RatesRules/_edit_rates_rule/updates_given_rates_rule_by_ID.yml +24 -18
  137. data/spec/fixtures/cassettes/BookingSync_API_Client_RatesRules/_rates_rule/returns_a_single_rates_rule.yml +26 -18
  138. data/spec/fixtures/cassettes/BookingSync_API_Client_RatesRules/_rates_rules/returns_rates_rules.yml +27 -19
  139. data/spec/fixtures/cassettes/BookingSync_API_Client_RatesTables/_create_rates_table/creates_a_new_rates_table.yml +49 -26
  140. data/spec/fixtures/cassettes/BookingSync_API_Client_RatesTables/_delete_rates_table/deletes_given_rates_table.yml +36 -20
  141. data/spec/fixtures/cassettes/BookingSync_API_Client_RatesTables/_edit_rates_table/updates_given_rates_table_by_ID.yml +43 -25
  142. data/spec/fixtures/cassettes/BookingSync_API_Client_RatesTables/_rates_table/returns_a_single_rates_table.yml +26 -18
  143. data/spec/fixtures/cassettes/BookingSync_API_Client_RatesTables/_rates_tables/returns_rates_tables.yml +54 -36
  144. data/spec/fixtures/cassettes/BookingSync_API_Client_RentalAgreements/_create_rental_agreement/creates_a_new_rental_agreement.yml +50 -26
  145. data/spec/fixtures/cassettes/BookingSync_API_Client_RentalAgreements/_create_rental_agreement_for_booking/creates_a_new_rental_agreement.yml +50 -26
  146. data/spec/fixtures/cassettes/BookingSync_API_Client_RentalAgreements/_create_rental_agreement_for_rental/creates_a_new_rental_agreement.yml +50 -26
  147. data/spec/fixtures/cassettes/BookingSync_API_Client_RentalAgreements/_rental_agreement/returns_a_single_rental_agreement.yml +30 -21
  148. data/spec/fixtures/cassettes/BookingSync_API_Client_RentalAgreements/_rental_agreements/returns_rental_agreements.yml +52 -26
  149. data/spec/fixtures/cassettes/BookingSync_API_Client_RentalCancelationPolicies/_rental_cancelation_policies/returns_rental_cancelation_policies.yml +48 -27
  150. data/spec/fixtures/cassettes/BookingSync_API_Client_RentalCancelationPolicies/_rental_cancelation_policy/returns_a_single_rental_cancelation_policy.yml +42 -26
  151. data/spec/fixtures/cassettes/BookingSync_API_Client_RentalCancelationPolicyItems/_rental_cancelation_policy_item/returns_a_single_rental_cancelation_policy_item.yml +41 -25
  152. data/spec/fixtures/cassettes/BookingSync_API_Client_RentalCancelationPolicyItems/_rental_cancelation_policy_items/returns_rental_cancelation_policy_items.yml +43 -26
  153. data/spec/fixtures/cassettes/BookingSync_API_Client_Rentals/_create_rental/creates_a_new_rental.yml +49 -26
  154. data/spec/fixtures/cassettes/BookingSync_API_Client_Rentals/_delete_rental/deletes_given_rental.yml +36 -20
  155. data/spec/fixtures/cassettes/BookingSync_API_Client_Rentals/_edit_rental/updates_given_rental_by_ID.yml +44 -28
  156. data/spec/fixtures/cassettes/BookingSync_API_Client_Rentals/_rental/returns_a_single_rental.yml +234 -31
  157. data/spec/fixtures/cassettes/BookingSync_API_Client_Rentals/_rental/with_additional_query_params/returns_a_single_rental_with_defined_params.yml +322 -0
  158. data/spec/fixtures/cassettes/BookingSync_API_Client_Rentals/_rentals/links/returns_associated_photos.yml +453 -77
  159. data/spec/fixtures/cassettes/BookingSync_API_Client_Rentals/_rentals/returns_rentals.yml +405 -54
  160. data/spec/fixtures/cassettes/BookingSync_API_Client_Rentals/_rentals/returns_rentals_by_ids.yml +336 -32
  161. data/spec/fixtures/cassettes/BookingSync_API_Client_Rentals/_rentals_meta/returns_meta_information_about_all_rentals.yml +53 -25
  162. data/spec/fixtures/cassettes/BookingSync_API_Client_Rentals/_rentals_meta/returns_meta_information_about_requested_rentals.yml +55 -26
  163. data/spec/fixtures/cassettes/BookingSync_API_Client_Rentals/_rentals_search/performs_autopagination_using_POST.yml +121 -81
  164. data/spec/fixtures/cassettes/BookingSync_API_Client_Rentals/_rentals_search/rentals_ids_given/makes_a_search_within_given_rentals.yml +42 -28
  165. data/spec/fixtures/cassettes/BookingSync_API_Client_Rentals/_rentals_search/returns_rentals.yml +42 -28
  166. data/spec/fixtures/cassettes/BookingSync_API_Client_RentalsAmenities/_create_rentals_amenity/creates_a_new_rentals_amenity.yml +29 -18
  167. data/spec/fixtures/cassettes/BookingSync_API_Client_RentalsAmenities/_delete_rentals_amenity/deletes_given_rentals_amenity.yml +21 -15
  168. data/spec/fixtures/cassettes/BookingSync_API_Client_RentalsAmenities/_edit_rentals_amenity/updates_given_rentals_amenity_by_ID.yml +24 -18
  169. data/spec/fixtures/cassettes/BookingSync_API_Client_RentalsAmenities/_rentals_amenities/links/returns_associated_amenity.yml +104 -52
  170. data/spec/fixtures/cassettes/BookingSync_API_Client_RentalsAmenities/_rentals_amenities/links/returns_associated_rental.yml +283 -53
  171. data/spec/fixtures/cassettes/BookingSync_API_Client_RentalsAmenities/_rentals_amenities/returns_rentals_amenities.yml +51 -26
  172. data/spec/fixtures/cassettes/BookingSync_API_Client_RentalsAmenities/_rentals_amenity/returns_rentals_amenity.yml +50 -26
  173. data/spec/fixtures/cassettes/BookingSync_API_Client_RentalsFees/_create_rentals_fee/creates_a_new_rentals_fee.yml +30 -19
  174. data/spec/fixtures/cassettes/BookingSync_API_Client_RentalsFees/_rentals_fee/returns_a_single_rentals_fee.yml +30 -22
  175. data/spec/fixtures/cassettes/BookingSync_API_Client_RentalsFees/_rentals_fees/returns_rentals_fees.yml +27 -18
  176. data/spec/fixtures/cassettes/BookingSync_API_Client_Reviews/_create_review/creates_a_new_review.yml +49 -26
  177. data/spec/fixtures/cassettes/BookingSync_API_Client_Reviews/_review/returns_a_single_review.yml +26 -18
  178. data/spec/fixtures/cassettes/BookingSync_API_Client_Reviews/_reviews/returns_reviews.yml +41 -33
  179. data/spec/fixtures/cassettes/BookingSync_API_Client_Seasons/_create_season/creates_a_new_season.yml +50 -27
  180. data/spec/fixtures/cassettes/BookingSync_API_Client_Seasons/_delete_season/deletes_given_season.yml +36 -20
  181. data/spec/fixtures/cassettes/BookingSync_API_Client_Seasons/_edit_season/updates_given_season_by_ID.yml +44 -26
  182. data/spec/fixtures/cassettes/BookingSync_API_Client_Seasons/_season/returns_a_single_season.yml +29 -21
  183. data/spec/fixtures/cassettes/BookingSync_API_Client_Seasons/_seasons/returns_seasons.yml +55 -36
  184. data/spec/fixtures/cassettes/BookingSync_API_Client_Sources/_create_source/creates_a_new_source.yml +40 -25
  185. data/spec/fixtures/cassettes/BookingSync_API_Client_Sources/_edit_source/updates_given_source_by_ID.yml +36 -25
  186. data/spec/fixtures/cassettes/BookingSync_API_Client_Sources/_source/returns_a_single_source.yml +26 -18
  187. data/spec/fixtures/cassettes/BookingSync_API_Client_Sources/_sources/returns_sources.yml +42 -24
  188. data/spec/fixtures/cassettes/BookingSync_API_Client_SpecialOffers/_create_special_offer/creates_a_new_special_offer.yml +50 -26
  189. data/spec/fixtures/cassettes/BookingSync_API_Client_SpecialOffers/_delete_special_offer/deletes_given_special_offer.yml +36 -20
  190. data/spec/fixtures/cassettes/BookingSync_API_Client_SpecialOffers/_edit_special_offer/updates_given_special_offer_by_ID.yml +44 -25
  191. data/spec/fixtures/cassettes/BookingSync_API_Client_SpecialOffers/_special_offer/returns_a_single_special_offer.yml +29 -22
  192. data/spec/fixtures/cassettes/BookingSync_API_Client_SpecialOffers/_special_offers/returns_special_offers.yml +48 -24
  193. data/spec/fixtures/cassettes/BookingSync_API_Client_StrictBookings/_create_strict_booking/creates_a_booking.yml +43 -24
  194. data/spec/fixtures/cassettes/BookingSync_API_Client_Taxes/_tax/returns_a_single_tax.yml +26 -18
  195. data/spec/fixtures/cassettes/BookingSync_API_Client_Taxes/_taxes/returns_taxes.yml +28 -19
  196. data/spec/spec_helper.rb +6 -0
  197. data/spec/support/vcr_helper.rb +29 -0
  198. metadata +21 -10
  199. data/lib/bookingsync/api/client/preferences_payments.rb +0 -22
  200. data/spec/bookingsync/api/client/preferences_payments_spec.rb +0 -12
  201. data/spec/fixtures/cassettes/BookingSync_API_Client_PreferencesPayments/_preferences_payments/returns_preferences_payments.yml +0 -80
  202. data/spec/fixtures/cassettes/BookingSync_API_Client_Rentals/_rentals/links/returns_links_to_associated_resources.yml +0 -91
@@ -4,11 +4,11 @@ http_interactions:
4
4
  method: get
5
5
  uri: https://www.bookingsync.com/api/v3/rentals_amenities
6
6
  body:
7
- encoding: US-ASCII
8
- string: ''
7
+ encoding: UTF-8
8
+ string: "{}"
9
9
  headers:
10
10
  User-Agent:
11
- - Faraday v0.9.0
11
+ - BookingSync API gem v0.1.3
12
12
  Accept:
13
13
  - application/vnd.api+json
14
14
  Content-Type:
@@ -17,59 +17,84 @@ http_interactions:
17
17
  - Bearer <<ACCESS_TOKEN>>
18
18
  Accept-Encoding:
19
19
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
20
+ Connection:
21
+ - keep-alive
22
+ Keep-Alive:
23
+ - 30
20
24
  response:
21
25
  status:
22
26
  code: 200
23
27
  message: OK
24
28
  headers:
29
+ Server:
30
+ - nginx
31
+ Date:
32
+ - Mon, 12 Dec 2016 11:32:50 GMT
33
+ Content-Type:
34
+ - application/vnd.api+json; charset=utf-8
35
+ Transfer-Encoding:
36
+ - chunked
37
+ Connection:
38
+ - keep-alive
39
+ Status:
40
+ - 200 OK
41
+ X-Frame-Options:
42
+ - SAMEORIGIN
43
+ X-Xss-Protection:
44
+ - 1; mode=block
45
+ X-Content-Type-Options:
46
+ - nosniff
47
+ X-Updated-Since-Request-Synced-At:
48
+ - 2016-12-12 11:32:50 UTC
25
49
  X-Ratelimit-Limit:
26
50
  - '1000'
27
51
  X-Ratelimit-Reset:
28
- - '1401202800'
52
+ - '1481544000'
29
53
  X-Ratelimit-Remaining:
30
- - '992'
54
+ - '963'
31
55
  Link:
32
- - <https://www.bookingsync.com/api/v3/rentals_amenities?page=1>; rel="first", <https://www.bookingsync.com/api/v3/rentals_amenities?page=1>;
33
- rel="last"
56
+ - <https://www.bookingsync.com/api/v3/rentals_amenities?page=1>; rel="first",
57
+ <https://www.bookingsync.com/api/v3/rentals_amenities?page=1>; rel="last"
34
58
  X-Total-Pages:
35
59
  - '1'
36
- Access-Control-Allow-Origin:
37
- - "*"
38
- Access-Control-Request-Method:
39
- - "*"
40
- Content-Type:
41
- - application/vnd.api+json; charset=utf-8
42
- X-Ua-Compatible:
43
- - IE=Edge
60
+ X-Total-Count:
61
+ - '62'
62
+ X-Per-Page:
63
+ - '100'
44
64
  Etag:
45
- - '"ae2467cb53532417eefd56d80bf4d1ff"'
65
+ - W/"34fe643fe4cf774d7009a2d73e8ff7e2"
46
66
  Cache-Control:
47
67
  - max-age=0, private, must-revalidate
48
68
  P3p:
49
69
  - CP="OTI DSP COR CUR ADMo DEVo TAI PSAi PSDi IVAi IVDi CONi HISi TELi OTPi
50
70
  OUR SAMi OTRo UNRo PUBi IND UNI STA"
71
+ Set-Cookie:
72
+ - ahoy_track=true; path=/; secure
73
+ - ahoy_visit=8f20780c-d659-46f1-b165-72147846d7c6; path=/; expires=Mon, 19 Dec
74
+ 2016 11:32:50 -0000; secure
75
+ - ahoy_visitor=24490c66-14fe-43a7-8354-1ae6de443aa9; path=/; expires=Wed, 12
76
+ Dec 2018 11:32:50 -0000; secure
51
77
  X-Request-Id:
52
- - 8297d24ac49878ced50f6dc6167adb68
78
+ - f9d27137-937a-4627-83b6-3aaf7ad15e29
53
79
  X-Runtime:
54
- - '0.072612'
55
- Date:
56
- - Tue, 27 May 2014 14:05:28 GMT
57
- Connection:
58
- - close
80
+ - '0.092057'
81
+ Strict-Transport-Security:
82
+ - max-age=31536000
59
83
  body:
60
84
  encoding: UTF-8
61
- string: '{"links":{"rentals_amenities.amenity":"https://www.bookingsync.com/api/v3/amenities/{rentals_amenities.amenity}","rentals_amenities.rental":"https://www.bookingsync.com/api/v3/rentals/{rentals_amenities.rental}"},"rentals_amenities":[{"links":{"amenity":1,"rental":67},"id":1}]}'
62
- http_version:
63
- recorded_at: Tue, 27 May 2014 14:05:28 GMT
85
+ string: '{"links":{"rentals_amenities.amenity":"https://www.bookingsync.com/api/v3/amenities/{rentals_amenities.amenity}","rentals_amenities.rental":"https://www.bookingsync.com/api/v3/rentals/{rentals_amenities.rental}"},"rentals_amenities":[{"links":{"amenity":32,"rental":5116},"id":6128,"created_at":"2014-08-08T18:28:39Z","updated_at":"2014-08-08T18:28:39Z","details":{}},{"links":{"amenity":33,"rental":5116},"id":6129,"created_at":"2014-08-08T18:28:39Z","updated_at":"2014-08-08T18:28:39Z","details":{}},{"links":{"amenity":35,"rental":5116},"id":6130,"created_at":"2014-08-08T18:28:39Z","updated_at":"2014-08-08T18:28:39Z","details":{}},{"links":{"amenity":39,"rental":5116},"id":6131,"created_at":"2014-08-08T18:28:39Z","updated_at":"2014-08-08T18:28:39Z","details":{}},{"links":{"amenity":41,"rental":5116},"id":6132,"created_at":"2014-08-08T18:28:39Z","updated_at":"2014-08-08T18:28:39Z","details":{}},{"links":{"amenity":42,"rental":5116},"id":6133,"created_at":"2014-08-08T18:28:39Z","updated_at":"2014-08-08T18:28:39Z","details":{}},{"links":{"amenity":75,"rental":5116},"id":6134,"created_at":"2014-08-08T18:28:39Z","updated_at":"2014-08-08T18:28:39Z","details":{}},{"links":{"amenity":79,"rental":5116},"id":6135,"created_at":"2014-08-08T18:28:39Z","updated_at":"2014-08-08T18:28:39Z","details":{}},{"links":{"amenity":45,"rental":5116},"id":6136,"created_at":"2014-08-08T18:28:39Z","updated_at":"2014-08-08T18:28:39Z","details":{}},{"links":{"amenity":46,"rental":5116},"id":6137,"created_at":"2014-08-08T18:28:40Z","updated_at":"2014-08-08T18:28:40Z","details":{}},{"links":{"amenity":77,"rental":5116},"id":6138,"created_at":"2014-08-08T18:28:40Z","updated_at":"2014-08-08T18:28:40Z","details":{}},{"links":{"amenity":50,"rental":5116},"id":6139,"created_at":"2014-08-08T18:28:40Z","updated_at":"2014-08-08T18:28:40Z","details":{}},{"links":{"amenity":78,"rental":5116},"id":6140,"created_at":"2014-08-08T18:28:40Z","updated_at":"2014-08-08T18:28:40Z","details":{}},{"links":{"amenity":62,"rental":5116},"id":6141,"created_at":"2014-08-08T18:28:40Z","updated_at":"2014-08-08T18:28:40Z","details":{}},{"links":{"amenity":73,"rental":5116},"id":6142,"created_at":"2014-08-08T18:28:40Z","updated_at":"2014-08-08T18:28:40Z","details":{}},{"links":{"amenity":51,"rental":5116},"id":6143,"created_at":"2014-08-08T18:28:40Z","updated_at":"2014-08-08T18:28:40Z","details":{}},{"links":{"amenity":54,"rental":5116},"id":6144,"created_at":"2014-08-08T18:28:40Z","updated_at":"2014-08-08T18:28:40Z","details":{}},{"links":{"amenity":74,"rental":5116},"id":6145,"created_at":"2014-08-08T18:28:40Z","updated_at":"2014-08-08T18:28:40Z","details":{}},{"links":{"amenity":71,"rental":5116},"id":6146,"created_at":"2014-08-08T18:28:40Z","updated_at":"2014-08-08T18:28:40Z","details":{}},{"links":{"amenity":70,"rental":5116},"id":6147,"created_at":"2014-08-08T18:28:40Z","updated_at":"2014-08-08T18:28:40Z","details":{}},{"links":{"amenity":65,"rental":5116},"id":6148,"created_at":"2014-08-08T18:28:40Z","updated_at":"2014-08-08T18:28:40Z","details":{}},{"links":{"amenity":67,"rental":5116},"id":6149,"created_at":"2014-08-08T18:28:40Z","updated_at":"2014-08-08T18:28:40Z","details":{}},{"links":{"amenity":68,"rental":5116},"id":6150,"created_at":"2014-08-08T18:28:40Z","updated_at":"2014-08-08T18:28:40Z","details":{}},{"links":{"amenity":56,"rental":5116},"id":6151,"created_at":"2014-08-08T18:28:40Z","updated_at":"2014-08-08T18:28:40Z","details":{}},{"links":{"amenity":82,"rental":5116},"id":6152,"created_at":"2014-08-08T18:28:40Z","updated_at":"2014-08-08T18:28:40Z","details":{}},{"links":{"amenity":72,"rental":5116},"id":6153,"created_at":"2014-08-08T18:28:40Z","updated_at":"2014-08-08T18:28:40Z","details":{}},{"links":{"amenity":63,"rental":5116},"id":6154,"created_at":"2014-08-08T18:28:40Z","updated_at":"2014-08-08T18:28:40Z","details":{}},{"links":{"amenity":58,"rental":5116},"id":6155,"created_at":"2014-08-08T18:28:40Z","updated_at":"2014-08-08T18:28:40Z","details":{}},{"links":{"amenity":52,"rental":5116},"id":6156,"created_at":"2014-08-08T18:28:40Z","updated_at":"2014-08-08T18:28:40Z","details":{}},{"links":{"amenity":85,"rental":5116},"id":6157,"created_at":"2014-08-08T18:28:40Z","updated_at":"2014-08-08T18:28:40Z","details":{}},{"links":{"amenity":92,"rental":5116},"id":6158,"created_at":"2014-08-08T18:28:40Z","updated_at":"2014-08-08T18:28:40Z","details":{}},{"links":{"amenity":32,"rental":5117},"id":6159,"created_at":"2014-08-08T19:30:20Z","updated_at":"2015-09-09T20:48:41Z","details":{"en":"New
86
+ Details"}},{"links":{"amenity":33,"rental":5117},"id":6160,"created_at":"2014-08-08T19:30:20Z","updated_at":"2014-08-08T19:30:20Z","details":{}},{"links":{"amenity":39,"rental":5117},"id":6161,"created_at":"2014-08-08T19:30:20Z","updated_at":"2014-08-08T19:30:20Z","details":{}},{"links":{"amenity":41,"rental":5117},"id":6162,"created_at":"2014-08-08T19:30:20Z","updated_at":"2014-08-08T19:30:20Z","details":{}},{"links":{"amenity":42,"rental":5117},"id":6163,"created_at":"2014-08-08T19:30:20Z","updated_at":"2014-08-08T19:30:20Z","details":{}},{"links":{"amenity":76,"rental":5117},"id":6164,"created_at":"2014-08-08T19:30:20Z","updated_at":"2014-08-08T19:30:20Z","details":{}},{"links":{"amenity":75,"rental":5117},"id":6165,"created_at":"2014-08-08T19:30:20Z","updated_at":"2014-08-08T19:30:20Z","details":{}},{"links":{"amenity":79,"rental":5117},"id":6166,"created_at":"2014-08-08T19:30:21Z","updated_at":"2014-08-08T19:30:21Z","details":{}},{"links":{"amenity":44,"rental":5117},"id":6167,"created_at":"2014-08-08T19:30:21Z","updated_at":"2014-08-08T19:30:21Z","details":{}},{"links":{"amenity":45,"rental":5117},"id":6168,"created_at":"2014-08-08T19:30:21Z","updated_at":"2014-08-08T19:30:21Z","details":{}},{"links":{"amenity":46,"rental":5117},"id":6169,"created_at":"2014-08-08T19:30:21Z","updated_at":"2014-08-08T19:30:21Z","details":{}},{"links":{"amenity":47,"rental":5117},"id":6170,"created_at":"2014-08-08T19:30:21Z","updated_at":"2014-08-08T19:30:21Z","details":{}},{"links":{"amenity":77,"rental":5117},"id":6171,"created_at":"2014-08-08T19:30:21Z","updated_at":"2014-08-08T19:30:21Z","details":{}},{"links":{"amenity":50,"rental":5117},"id":6172,"created_at":"2014-08-08T19:30:21Z","updated_at":"2014-08-08T19:30:21Z","details":{}},{"links":{"amenity":78,"rental":5117},"id":6173,"created_at":"2014-08-08T19:30:21Z","updated_at":"2014-08-08T19:30:21Z","details":{}},{"links":{"amenity":73,"rental":5117},"id":6174,"created_at":"2014-08-08T19:30:21Z","updated_at":"2014-08-08T19:30:21Z","details":{}},{"links":{"amenity":51,"rental":5117},"id":6175,"created_at":"2014-08-08T19:30:21Z","updated_at":"2014-08-08T19:30:21Z","details":{}},{"links":{"amenity":53,"rental":5117},"id":6176,"created_at":"2014-08-08T19:30:21Z","updated_at":"2014-08-08T19:30:21Z","details":{}},{"links":{"amenity":54,"rental":5117},"id":6177,"created_at":"2014-08-08T19:30:21Z","updated_at":"2014-08-08T19:30:21Z","details":{}},{"links":{"amenity":74,"rental":5117},"id":6178,"created_at":"2014-08-08T19:30:21Z","updated_at":"2014-08-08T19:30:21Z","details":{}},{"links":{"amenity":71,"rental":5117},"id":6179,"created_at":"2014-08-08T19:30:21Z","updated_at":"2014-08-08T19:30:21Z","details":{}},{"links":{"amenity":70,"rental":5117},"id":6180,"created_at":"2014-08-08T19:30:22Z","updated_at":"2014-08-08T19:30:22Z","details":{}},{"links":{"amenity":65,"rental":5117},"id":6181,"created_at":"2014-08-08T19:30:22Z","updated_at":"2014-08-08T19:30:22Z","details":{}},{"links":{"amenity":67,"rental":5117},"id":6182,"created_at":"2014-08-08T19:30:22Z","updated_at":"2014-08-08T19:30:22Z","details":{}},{"links":{"amenity":68,"rental":5117},"id":6183,"created_at":"2014-08-08T19:30:22Z","updated_at":"2014-08-08T19:30:22Z","details":{}},{"links":{"amenity":56,"rental":5117},"id":6184,"created_at":"2014-08-08T19:30:22Z","updated_at":"2014-08-08T19:30:22Z","details":{}},{"links":{"amenity":82,"rental":5117},"id":6185,"created_at":"2014-08-08T19:30:22Z","updated_at":"2014-08-08T19:30:22Z","details":{}},{"links":{"amenity":72,"rental":5117},"id":6186,"created_at":"2014-08-08T19:30:22Z","updated_at":"2014-08-08T19:30:22Z","details":{}},{"links":{"amenity":63,"rental":5117},"id":6187,"created_at":"2014-08-08T19:30:22Z","updated_at":"2014-08-08T19:30:22Z","details":{}},{"links":{"amenity":58,"rental":5117},"id":6188,"created_at":"2014-08-08T19:30:22Z","updated_at":"2014-08-08T19:30:22Z","details":{}},{"links":{"amenity":1,"rental":5117},"id":6189,"created_at":"2014-08-08T19:30:22Z","updated_at":"2014-08-08T19:30:22Z","details":{}}],"meta":{}}'
87
+ http_version:
88
+ recorded_at: Mon, 12 Dec 2016 11:32:50 GMT
64
89
  - request:
65
90
  method: get
66
- uri: https://www.bookingsync.com/api/v3/amenities/1
91
+ uri: https://www.bookingsync.com/api/v3/amenities/32
67
92
  body:
68
- encoding: US-ASCII
69
- string: ''
93
+ encoding: UTF-8
94
+ string: "{}"
70
95
  headers:
71
96
  User-Agent:
72
- - Faraday v0.9.0
97
+ - BookingSync API gem v0.1.3
73
98
  Accept:
74
99
  - application/vnd.api+json
75
100
  Content-Type:
@@ -78,48 +103,75 @@ http_interactions:
78
103
  - Bearer <<ACCESS_TOKEN>>
79
104
  Accept-Encoding:
80
105
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
106
+ Connection:
107
+ - keep-alive
108
+ Keep-Alive:
109
+ - 30
81
110
  response:
82
111
  status:
83
112
  code: 200
84
113
  message: OK
85
114
  headers:
115
+ Server:
116
+ - nginx
117
+ Date:
118
+ - Mon, 12 Dec 2016 11:32:50 GMT
119
+ Content-Type:
120
+ - application/vnd.api+json; charset=utf-8
121
+ Transfer-Encoding:
122
+ - chunked
123
+ Connection:
124
+ - keep-alive
125
+ Status:
126
+ - 200 OK
127
+ X-Frame-Options:
128
+ - SAMEORIGIN
129
+ X-Xss-Protection:
130
+ - 1; mode=block
131
+ X-Content-Type-Options:
132
+ - nosniff
133
+ X-Updated-Since-Request-Synced-At:
134
+ - 2016-12-12 11:32:50 UTC
86
135
  X-Ratelimit-Limit:
87
136
  - '1000'
88
137
  X-Ratelimit-Reset:
89
- - '1401202800'
138
+ - '1481544000'
90
139
  X-Ratelimit-Remaining:
91
- - '991'
140
+ - '962'
92
141
  Link:
93
- - <https://www.bookingsync.com/api/v3/amenities/1?page=1>; rel="first", <https://www.bookingsync.com/api/v3/amenities/1?page=1>;
142
+ - <https://www.bookingsync.com/api/v3/amenities/32?page=1>; rel="first", <https://www.bookingsync.com/api/v3/amenities/32?page=1>;
94
143
  rel="last"
95
144
  X-Total-Pages:
96
145
  - '1'
97
- Access-Control-Allow-Origin:
98
- - "*"
99
- Access-Control-Request-Method:
100
- - "*"
101
- Content-Type:
102
- - application/vnd.api+json; charset=utf-8
103
- X-Ua-Compatible:
104
- - IE=Edge
146
+ X-Total-Count:
147
+ - '1'
148
+ X-Per-Page:
149
+ - '100'
105
150
  Etag:
106
- - '"b0d2e7221e50f0c65b3f4d017b992d1e"'
151
+ - W/"ca216e45eda2d338348aeeb80b897868"
107
152
  Cache-Control:
108
153
  - max-age=0, private, must-revalidate
109
154
  P3p:
110
155
  - CP="OTI DSP COR CUR ADMo DEVo TAI PSAi PSDi IVAi IVDi CONi HISi TELi OTPi
111
156
  OUR SAMi OTRo UNRo PUBi IND UNI STA"
157
+ Set-Cookie:
158
+ - ahoy_track=true; path=/; secure
159
+ - ahoy_visit=d312ab74-747d-4925-aa63-77a3587f3368; path=/; expires=Mon, 19 Dec
160
+ 2016 11:32:50 -0000; secure
161
+ - ahoy_visitor=a0f66e56-348e-470b-8f83-040c6481cbdf; path=/; expires=Wed, 12
162
+ Dec 2018 11:32:50 -0000; secure
112
163
  X-Request-Id:
113
- - 62550b20eecde802047bd5a9593034e4
164
+ - 790d7e66-5890-4560-9f71-c6d099602959
114
165
  X-Runtime:
115
- - '0.068027'
116
- Date:
117
- - Tue, 27 May 2014 14:05:28 GMT
118
- Connection:
119
- - close
166
+ - '0.032424'
167
+ Strict-Transport-Security:
168
+ - max-age=31536000
120
169
  body:
121
- encoding: UTF-8
122
- string: '{"amenities":[{"id":1,"title":"internet"}]}'
123
- http_version:
124
- recorded_at: Tue, 27 May 2014 14:05:28 GMT
125
- recorded_with: VCR 2.9.1
170
+ encoding: ASCII-8BIT
171
+ string: !binary |-
172
+ eyJhbWVuaXRpZXMiOlt7ImlkIjozMiwia2V5IjoiYWlyX2NvbmRpdGlvbmlu
173
+ ZyIsInRpdGxlIjp7ImVuIjoiQWlyIENvbmRpdGlvbmluZyIsImZyIjoiQWly
174
+ IGNvbmRpdGlvbm7DqSJ9fV0sIm1ldGEiOnt9fQ==
175
+ http_version:
176
+ recorded_at: Mon, 12 Dec 2016 11:32:50 GMT
177
+ recorded_with: VCR 3.0.3
@@ -4,11 +4,11 @@ http_interactions:
4
4
  method: get
5
5
  uri: https://www.bookingsync.com/api/v3/rentals_amenities
6
6
  body:
7
- encoding: US-ASCII
8
- string: ''
7
+ encoding: UTF-8
8
+ string: "{}"
9
9
  headers:
10
10
  User-Agent:
11
- - Faraday v0.9.0
11
+ - BookingSync API gem v0.1.3
12
12
  Accept:
13
13
  - application/vnd.api+json
14
14
  Content-Type:
@@ -17,59 +17,84 @@ http_interactions:
17
17
  - Bearer <<ACCESS_TOKEN>>
18
18
  Accept-Encoding:
19
19
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
20
+ Connection:
21
+ - keep-alive
22
+ Keep-Alive:
23
+ - 30
20
24
  response:
21
25
  status:
22
26
  code: 200
23
27
  message: OK
24
28
  headers:
29
+ Server:
30
+ - nginx
31
+ Date:
32
+ - Mon, 12 Dec 2016 11:32:49 GMT
33
+ Content-Type:
34
+ - application/vnd.api+json; charset=utf-8
35
+ Transfer-Encoding:
36
+ - chunked
37
+ Connection:
38
+ - keep-alive
39
+ Status:
40
+ - 200 OK
41
+ X-Frame-Options:
42
+ - SAMEORIGIN
43
+ X-Xss-Protection:
44
+ - 1; mode=block
45
+ X-Content-Type-Options:
46
+ - nosniff
47
+ X-Updated-Since-Request-Synced-At:
48
+ - 2016-12-12 11:32:49 UTC
25
49
  X-Ratelimit-Limit:
26
50
  - '1000'
27
51
  X-Ratelimit-Reset:
28
- - '1401202800'
52
+ - '1481544000'
29
53
  X-Ratelimit-Remaining:
30
- - '994'
54
+ - '965'
31
55
  Link:
32
- - <https://www.bookingsync.com/api/v3/rentals_amenities?page=1>; rel="first", <https://www.bookingsync.com/api/v3/rentals_amenities?page=1>;
33
- rel="last"
56
+ - <https://www.bookingsync.com/api/v3/rentals_amenities?page=1>; rel="first",
57
+ <https://www.bookingsync.com/api/v3/rentals_amenities?page=1>; rel="last"
34
58
  X-Total-Pages:
35
59
  - '1'
36
- Access-Control-Allow-Origin:
37
- - "*"
38
- Access-Control-Request-Method:
39
- - "*"
40
- Content-Type:
41
- - application/vnd.api+json; charset=utf-8
42
- X-Ua-Compatible:
43
- - IE=Edge
60
+ X-Total-Count:
61
+ - '62'
62
+ X-Per-Page:
63
+ - '100'
44
64
  Etag:
45
- - '"ae2467cb53532417eefd56d80bf4d1ff"'
65
+ - W/"34fe643fe4cf774d7009a2d73e8ff7e2"
46
66
  Cache-Control:
47
67
  - max-age=0, private, must-revalidate
48
68
  P3p:
49
69
  - CP="OTI DSP COR CUR ADMo DEVo TAI PSAi PSDi IVAi IVDi CONi HISi TELi OTPi
50
70
  OUR SAMi OTRo UNRo PUBi IND UNI STA"
71
+ Set-Cookie:
72
+ - ahoy_track=true; path=/; secure
73
+ - ahoy_visit=481ba19b-64ca-47f7-ac11-d04914984870; path=/; expires=Mon, 19 Dec
74
+ 2016 11:32:49 -0000; secure
75
+ - ahoy_visitor=bd459761-6046-42e5-ad86-47928f781f77; path=/; expires=Wed, 12
76
+ Dec 2018 11:32:49 -0000; secure
51
77
  X-Request-Id:
52
- - 028b3920e5ba80a9a254fbdc8dba3cda
78
+ - c5119a35-8bfa-41e9-bfd8-a78758732417
53
79
  X-Runtime:
54
- - '0.094834'
55
- Date:
56
- - Tue, 27 May 2014 14:05:26 GMT
57
- Connection:
58
- - close
80
+ - '0.124075'
81
+ Strict-Transport-Security:
82
+ - max-age=31536000
59
83
  body:
60
84
  encoding: UTF-8
61
- string: '{"links":{"rentals_amenities.amenity":"https://www.bookingsync.com/api/v3/amenities/{rentals_amenities.amenity}","rentals_amenities.rental":"https://www.bookingsync.com/api/v3/rentals/{rentals_amenities.rental}"},"rentals_amenities":[{"links":{"amenity":1,"rental":67},"id":1}]}'
62
- http_version:
63
- recorded_at: Tue, 27 May 2014 14:05:26 GMT
85
+ string: '{"links":{"rentals_amenities.amenity":"https://www.bookingsync.com/api/v3/amenities/{rentals_amenities.amenity}","rentals_amenities.rental":"https://www.bookingsync.com/api/v3/rentals/{rentals_amenities.rental}"},"rentals_amenities":[{"links":{"amenity":32,"rental":5116},"id":6128,"created_at":"2014-08-08T18:28:39Z","updated_at":"2014-08-08T18:28:39Z","details":{}},{"links":{"amenity":33,"rental":5116},"id":6129,"created_at":"2014-08-08T18:28:39Z","updated_at":"2014-08-08T18:28:39Z","details":{}},{"links":{"amenity":35,"rental":5116},"id":6130,"created_at":"2014-08-08T18:28:39Z","updated_at":"2014-08-08T18:28:39Z","details":{}},{"links":{"amenity":39,"rental":5116},"id":6131,"created_at":"2014-08-08T18:28:39Z","updated_at":"2014-08-08T18:28:39Z","details":{}},{"links":{"amenity":41,"rental":5116},"id":6132,"created_at":"2014-08-08T18:28:39Z","updated_at":"2014-08-08T18:28:39Z","details":{}},{"links":{"amenity":42,"rental":5116},"id":6133,"created_at":"2014-08-08T18:28:39Z","updated_at":"2014-08-08T18:28:39Z","details":{}},{"links":{"amenity":75,"rental":5116},"id":6134,"created_at":"2014-08-08T18:28:39Z","updated_at":"2014-08-08T18:28:39Z","details":{}},{"links":{"amenity":79,"rental":5116},"id":6135,"created_at":"2014-08-08T18:28:39Z","updated_at":"2014-08-08T18:28:39Z","details":{}},{"links":{"amenity":45,"rental":5116},"id":6136,"created_at":"2014-08-08T18:28:39Z","updated_at":"2014-08-08T18:28:39Z","details":{}},{"links":{"amenity":46,"rental":5116},"id":6137,"created_at":"2014-08-08T18:28:40Z","updated_at":"2014-08-08T18:28:40Z","details":{}},{"links":{"amenity":77,"rental":5116},"id":6138,"created_at":"2014-08-08T18:28:40Z","updated_at":"2014-08-08T18:28:40Z","details":{}},{"links":{"amenity":50,"rental":5116},"id":6139,"created_at":"2014-08-08T18:28:40Z","updated_at":"2014-08-08T18:28:40Z","details":{}},{"links":{"amenity":78,"rental":5116},"id":6140,"created_at":"2014-08-08T18:28:40Z","updated_at":"2014-08-08T18:28:40Z","details":{}},{"links":{"amenity":62,"rental":5116},"id":6141,"created_at":"2014-08-08T18:28:40Z","updated_at":"2014-08-08T18:28:40Z","details":{}},{"links":{"amenity":73,"rental":5116},"id":6142,"created_at":"2014-08-08T18:28:40Z","updated_at":"2014-08-08T18:28:40Z","details":{}},{"links":{"amenity":51,"rental":5116},"id":6143,"created_at":"2014-08-08T18:28:40Z","updated_at":"2014-08-08T18:28:40Z","details":{}},{"links":{"amenity":54,"rental":5116},"id":6144,"created_at":"2014-08-08T18:28:40Z","updated_at":"2014-08-08T18:28:40Z","details":{}},{"links":{"amenity":74,"rental":5116},"id":6145,"created_at":"2014-08-08T18:28:40Z","updated_at":"2014-08-08T18:28:40Z","details":{}},{"links":{"amenity":71,"rental":5116},"id":6146,"created_at":"2014-08-08T18:28:40Z","updated_at":"2014-08-08T18:28:40Z","details":{}},{"links":{"amenity":70,"rental":5116},"id":6147,"created_at":"2014-08-08T18:28:40Z","updated_at":"2014-08-08T18:28:40Z","details":{}},{"links":{"amenity":65,"rental":5116},"id":6148,"created_at":"2014-08-08T18:28:40Z","updated_at":"2014-08-08T18:28:40Z","details":{}},{"links":{"amenity":67,"rental":5116},"id":6149,"created_at":"2014-08-08T18:28:40Z","updated_at":"2014-08-08T18:28:40Z","details":{}},{"links":{"amenity":68,"rental":5116},"id":6150,"created_at":"2014-08-08T18:28:40Z","updated_at":"2014-08-08T18:28:40Z","details":{}},{"links":{"amenity":56,"rental":5116},"id":6151,"created_at":"2014-08-08T18:28:40Z","updated_at":"2014-08-08T18:28:40Z","details":{}},{"links":{"amenity":82,"rental":5116},"id":6152,"created_at":"2014-08-08T18:28:40Z","updated_at":"2014-08-08T18:28:40Z","details":{}},{"links":{"amenity":72,"rental":5116},"id":6153,"created_at":"2014-08-08T18:28:40Z","updated_at":"2014-08-08T18:28:40Z","details":{}},{"links":{"amenity":63,"rental":5116},"id":6154,"created_at":"2014-08-08T18:28:40Z","updated_at":"2014-08-08T18:28:40Z","details":{}},{"links":{"amenity":58,"rental":5116},"id":6155,"created_at":"2014-08-08T18:28:40Z","updated_at":"2014-08-08T18:28:40Z","details":{}},{"links":{"amenity":52,"rental":5116},"id":6156,"created_at":"2014-08-08T18:28:40Z","updated_at":"2014-08-08T18:28:40Z","details":{}},{"links":{"amenity":85,"rental":5116},"id":6157,"created_at":"2014-08-08T18:28:40Z","updated_at":"2014-08-08T18:28:40Z","details":{}},{"links":{"amenity":92,"rental":5116},"id":6158,"created_at":"2014-08-08T18:28:40Z","updated_at":"2014-08-08T18:28:40Z","details":{}},{"links":{"amenity":32,"rental":5117},"id":6159,"created_at":"2014-08-08T19:30:20Z","updated_at":"2015-09-09T20:48:41Z","details":{"en":"New
86
+ Details"}},{"links":{"amenity":33,"rental":5117},"id":6160,"created_at":"2014-08-08T19:30:20Z","updated_at":"2014-08-08T19:30:20Z","details":{}},{"links":{"amenity":39,"rental":5117},"id":6161,"created_at":"2014-08-08T19:30:20Z","updated_at":"2014-08-08T19:30:20Z","details":{}},{"links":{"amenity":41,"rental":5117},"id":6162,"created_at":"2014-08-08T19:30:20Z","updated_at":"2014-08-08T19:30:20Z","details":{}},{"links":{"amenity":42,"rental":5117},"id":6163,"created_at":"2014-08-08T19:30:20Z","updated_at":"2014-08-08T19:30:20Z","details":{}},{"links":{"amenity":76,"rental":5117},"id":6164,"created_at":"2014-08-08T19:30:20Z","updated_at":"2014-08-08T19:30:20Z","details":{}},{"links":{"amenity":75,"rental":5117},"id":6165,"created_at":"2014-08-08T19:30:20Z","updated_at":"2014-08-08T19:30:20Z","details":{}},{"links":{"amenity":79,"rental":5117},"id":6166,"created_at":"2014-08-08T19:30:21Z","updated_at":"2014-08-08T19:30:21Z","details":{}},{"links":{"amenity":44,"rental":5117},"id":6167,"created_at":"2014-08-08T19:30:21Z","updated_at":"2014-08-08T19:30:21Z","details":{}},{"links":{"amenity":45,"rental":5117},"id":6168,"created_at":"2014-08-08T19:30:21Z","updated_at":"2014-08-08T19:30:21Z","details":{}},{"links":{"amenity":46,"rental":5117},"id":6169,"created_at":"2014-08-08T19:30:21Z","updated_at":"2014-08-08T19:30:21Z","details":{}},{"links":{"amenity":47,"rental":5117},"id":6170,"created_at":"2014-08-08T19:30:21Z","updated_at":"2014-08-08T19:30:21Z","details":{}},{"links":{"amenity":77,"rental":5117},"id":6171,"created_at":"2014-08-08T19:30:21Z","updated_at":"2014-08-08T19:30:21Z","details":{}},{"links":{"amenity":50,"rental":5117},"id":6172,"created_at":"2014-08-08T19:30:21Z","updated_at":"2014-08-08T19:30:21Z","details":{}},{"links":{"amenity":78,"rental":5117},"id":6173,"created_at":"2014-08-08T19:30:21Z","updated_at":"2014-08-08T19:30:21Z","details":{}},{"links":{"amenity":73,"rental":5117},"id":6174,"created_at":"2014-08-08T19:30:21Z","updated_at":"2014-08-08T19:30:21Z","details":{}},{"links":{"amenity":51,"rental":5117},"id":6175,"created_at":"2014-08-08T19:30:21Z","updated_at":"2014-08-08T19:30:21Z","details":{}},{"links":{"amenity":53,"rental":5117},"id":6176,"created_at":"2014-08-08T19:30:21Z","updated_at":"2014-08-08T19:30:21Z","details":{}},{"links":{"amenity":54,"rental":5117},"id":6177,"created_at":"2014-08-08T19:30:21Z","updated_at":"2014-08-08T19:30:21Z","details":{}},{"links":{"amenity":74,"rental":5117},"id":6178,"created_at":"2014-08-08T19:30:21Z","updated_at":"2014-08-08T19:30:21Z","details":{}},{"links":{"amenity":71,"rental":5117},"id":6179,"created_at":"2014-08-08T19:30:21Z","updated_at":"2014-08-08T19:30:21Z","details":{}},{"links":{"amenity":70,"rental":5117},"id":6180,"created_at":"2014-08-08T19:30:22Z","updated_at":"2014-08-08T19:30:22Z","details":{}},{"links":{"amenity":65,"rental":5117},"id":6181,"created_at":"2014-08-08T19:30:22Z","updated_at":"2014-08-08T19:30:22Z","details":{}},{"links":{"amenity":67,"rental":5117},"id":6182,"created_at":"2014-08-08T19:30:22Z","updated_at":"2014-08-08T19:30:22Z","details":{}},{"links":{"amenity":68,"rental":5117},"id":6183,"created_at":"2014-08-08T19:30:22Z","updated_at":"2014-08-08T19:30:22Z","details":{}},{"links":{"amenity":56,"rental":5117},"id":6184,"created_at":"2014-08-08T19:30:22Z","updated_at":"2014-08-08T19:30:22Z","details":{}},{"links":{"amenity":82,"rental":5117},"id":6185,"created_at":"2014-08-08T19:30:22Z","updated_at":"2014-08-08T19:30:22Z","details":{}},{"links":{"amenity":72,"rental":5117},"id":6186,"created_at":"2014-08-08T19:30:22Z","updated_at":"2014-08-08T19:30:22Z","details":{}},{"links":{"amenity":63,"rental":5117},"id":6187,"created_at":"2014-08-08T19:30:22Z","updated_at":"2014-08-08T19:30:22Z","details":{}},{"links":{"amenity":58,"rental":5117},"id":6188,"created_at":"2014-08-08T19:30:22Z","updated_at":"2014-08-08T19:30:22Z","details":{}},{"links":{"amenity":1,"rental":5117},"id":6189,"created_at":"2014-08-08T19:30:22Z","updated_at":"2014-08-08T19:30:22Z","details":{}}],"meta":{}}'
87
+ http_version:
88
+ recorded_at: Mon, 12 Dec 2016 11:32:49 GMT
64
89
  - request:
65
90
  method: get
66
- uri: https://www.bookingsync.com/api/v3/rentals/67
91
+ uri: https://www.bookingsync.com/api/v3/rentals/5116
67
92
  body:
68
- encoding: US-ASCII
69
- string: ''
93
+ encoding: UTF-8
94
+ string: "{}"
70
95
  headers:
71
96
  User-Agent:
72
- - Faraday v0.9.0
97
+ - BookingSync API gem v0.1.3
73
98
  Accept:
74
99
  - application/vnd.api+json
75
100
  Content-Type:
@@ -78,49 +103,254 @@ http_interactions:
78
103
  - Bearer <<ACCESS_TOKEN>>
79
104
  Accept-Encoding:
80
105
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
106
+ Connection:
107
+ - keep-alive
108
+ Keep-Alive:
109
+ - 30
81
110
  response:
82
111
  status:
83
112
  code: 200
84
113
  message: OK
85
114
  headers:
115
+ Server:
116
+ - nginx
117
+ Date:
118
+ - Mon, 12 Dec 2016 11:32:50 GMT
119
+ Content-Type:
120
+ - application/vnd.api+json; charset=utf-8
121
+ Transfer-Encoding:
122
+ - chunked
123
+ Connection:
124
+ - keep-alive
125
+ Status:
126
+ - 200 OK
127
+ X-Frame-Options:
128
+ - SAMEORIGIN
129
+ X-Xss-Protection:
130
+ - 1; mode=block
131
+ X-Content-Type-Options:
132
+ - nosniff
133
+ X-Updated-Since-Request-Synced-At:
134
+ - 2016-12-12 11:32:49 UTC
86
135
  X-Ratelimit-Limit:
87
136
  - '1000'
88
137
  X-Ratelimit-Reset:
89
- - '1401202800'
138
+ - '1481544000'
90
139
  X-Ratelimit-Remaining:
91
- - '993'
140
+ - '964'
92
141
  Link:
93
- - <https://www.bookingsync.com/api/v3/rentals/67?page=1>; rel="first", <https://www.bookingsync.com/api/v3/rentals/67?page=1>;
142
+ - <https://www.bookingsync.com/api/v3/rentals/5116?page=1>; rel="first", <https://www.bookingsync.com/api/v3/rentals/5116?page=1>;
94
143
  rel="last"
95
144
  X-Total-Pages:
96
145
  - '1'
97
- Access-Control-Allow-Origin:
98
- - "*"
99
- Access-Control-Request-Method:
100
- - "*"
101
- Content-Type:
102
- - application/vnd.api+json; charset=utf-8
103
- X-Ua-Compatible:
104
- - IE=Edge
146
+ X-Total-Count:
147
+ - '1'
148
+ X-Per-Page:
149
+ - '50'
105
150
  Etag:
106
- - '"3ea506e8ca0a27d845a900e853bf8813"'
151
+ - W/"dbc0a3e2215f4e7c8c1b0370e7ad7a7e"
107
152
  Cache-Control:
108
153
  - max-age=0, private, must-revalidate
109
154
  P3p:
110
155
  - CP="OTI DSP COR CUR ADMo DEVo TAI PSAi PSDi IVAi IVDi CONi HISi TELi OTPi
111
156
  OUR SAMi OTRo UNRo PUBi IND UNI STA"
157
+ Set-Cookie:
158
+ - ahoy_track=true; path=/; secure
159
+ - ahoy_visit=faf90038-fa7f-48f6-97c1-a3183217cb5c; path=/; expires=Mon, 19 Dec
160
+ 2016 11:32:49 -0000; secure
161
+ - ahoy_visitor=1cabd8ae-6edf-4c77-b218-b6983debe487; path=/; expires=Wed, 12
162
+ Dec 2018 11:32:49 -0000; secure
112
163
  X-Request-Id:
113
- - 81e2bf87a432103b66ada90d5d64950c
164
+ - 391d9d7a-135c-41b6-920e-f7755a48162c
114
165
  X-Runtime:
115
- - '1.159624'
116
- Date:
117
- - Tue, 27 May 2014 14:05:27 GMT
118
- Connection:
119
- - close
166
+ - '0.110049'
167
+ Strict-Transport-Security:
168
+ - max-age=31536000
120
169
  body:
121
- encoding: UTF-8
122
- string: '{"links":{"rentals.account":"https://www.bookingsync.com/api/v3/accounts/{rentals.account}","rentals.destination":"https://www.bookingsync.com/api/v3/destinations/{rentals.destination}","rentals.rates_table":"https://www.bookingsync.com/api/v3/rates_tables/{rentals.rates_table}","rentals.rental_agreement":"https://www.bookingsync.com/api/v3/rental_agreements/{rentals.rental_agreement}","rentals.photos":"https://www.bookingsync.com/api/v3/photos/{rentals.photos}","rentals.reviews":"https://www.bookingsync.com/api/v3/reviews/{rentals.reviews}","rentals.special_offers":"https://www.bookingsync.com/api/v3/special_offers/{rentals.special_offers}","rentals.rates":"https://www.bookingsync.com/api/v3/rates/{rentals.rates}","rentals.rentals_amenities":"https://www.bookingsync.com/api/v3/rentals_amenities/{rentals.rentals_amenities}"},"rentals":[{"links":{"account":1,"destination":null,"rates_table":null,"rental_agreement":null,"photos":[],"reviews":[],"special_offers":[],"rates":[],"rentals_amenities":[1]},"id":67,"name":"New
123
- Rental","headline":{"en":null},"summary":{"en":null},"description":{"en":null},"rental_type":null,"units":1,"bedrooms_count":null,"sleeps":null,"sleeps_max":null,"bathrooms_count":null,"surface":null,"bookable_online":false,"min_price":null,"max_price":null,"price_kind":null,"currency":null,"price_public_notes":{"en":null},"lat":null,"lng":null,"city":null,"state":null,"country":"","contact_name":null,"reviews_count":0,"reviews_average_rating":null,"created_at":"2014-04-09T09:17:14Z","updated_at":"2014-05-27T14:04:54Z","address1":null,"address2":null,"zip":null,"checkin_time":16,"checkout_time":10}]}'
124
- http_version:
125
- recorded_at: Tue, 27 May 2014 14:05:27 GMT
126
- recorded_with: VCR 2.9.1
170
+ encoding: ASCII-8BIT
171
+ string: !binary |-
172
+ eyJsaW5rcyI6eyJyZW50YWxzLmFjY291bnQiOiJodHRwczovL3d3dy5ib29r
173
+ aW5nc3luYy5jb20vYXBpL3YzL2FjY291bnRzL3tyZW50YWxzLmFjY291bnR9
174
+ IiwicmVudGFscy5hdmFpbGFiaWxpdHkiOiJodHRwczovL3d3dy5ib29raW5n
175
+ c3luYy5jb20vYXBpL3YzL2F2YWlsYWJpbGl0aWVzL3tyZW50YWxzLmF2YWls
176
+ YWJpbGl0eX0iLCJyZW50YWxzLmNoYW5nZV9vdmVyIjoiaHR0cHM6Ly93d3cu
177
+ Ym9va2luZ3N5bmMuY29tL2FwaS92My9jaGFuZ2Vfb3ZlcnMve3JlbnRhbHMu
178
+ Y2hhbmdlX292ZXJ9IiwicmVudGFscy5kZXN0aW5hdGlvbiI6Imh0dHBzOi8v
179
+ d3d3LmJvb2tpbmdzeW5jLmNvbS9hcGkvdjMvZGVzdGluYXRpb25zL3tyZW50
180
+ YWxzLmRlc3RpbmF0aW9ufSIsInJlbnRhbHMucGF5bWVudF9nYXRld2F5Ijoi
181
+ aHR0cHM6Ly93d3cuYm9va2luZ3N5bmMuY29tL2FwaS92My9wYXltZW50X2dh
182
+ dGV3YXlzL3tyZW50YWxzLnBheW1lbnRfZ2F0ZXdheX0iLCJyZW50YWxzLnJh
183
+ dGVzX3RhYmxlIjoiaHR0cHM6Ly93d3cuYm9va2luZ3N5bmMuY29tL2FwaS92
184
+ My9yYXRlc190YWJsZXMve3JlbnRhbHMucmF0ZXNfdGFibGV9IiwicmVudGFs
185
+ cy5yZW50YWxfYWdyZWVtZW50IjoiaHR0cHM6Ly93d3cuYm9va2luZ3N5bmMu
186
+ Y29tL2FwaS92My9yZW50YWxfYWdyZWVtZW50cy97cmVudGFscy5yZW50YWxf
187
+ YWdyZWVtZW50fSIsInJlbnRhbHMucmVudGFsX2NhbmNlbGF0aW9uX3BvbGlj
188
+ eSI6Imh0dHBzOi8vd3d3LmJvb2tpbmdzeW5jLmNvbS9hcGkvdjMvcmVudGFs
189
+ X2NhbmNlbGF0aW9uX3BvbGljaWVzL3tyZW50YWxzLnJlbnRhbF9jYW5jZWxh
190
+ dGlvbl9wb2xpY3l9IiwicmVudGFscy5uaWdodGx5X3JhdGVfbWFwIjoiaHR0
191
+ cHM6Ly93d3cuYm9va2luZ3N5bmMuY29tL2FwaS92My9uaWdodGx5X3JhdGVf
192
+ bWFwcy97cmVudGFscy5uaWdodGx5X3JhdGVfbWFwfSIsInJlbnRhbHMucGhv
193
+ dG9zIjoiaHR0cHM6Ly93d3cuYm9va2luZ3N5bmMuY29tL2FwaS92My9waG90
194
+ b3Mve3JlbnRhbHMucGhvdG9zfSIsInJlbnRhbHMucmV2aWV3cyI6Imh0dHBz
195
+ Oi8vd3d3LmJvb2tpbmdzeW5jLmNvbS9hcGkvdjMvcmV2aWV3cy97cmVudGFs
196
+ cy5yZXZpZXdzfSIsInJlbnRhbHMuc3BlY2lhbF9vZmZlcnMiOiJodHRwczov
197
+ L3d3dy5ib29raW5nc3luYy5jb20vYXBpL3YzL3NwZWNpYWxfb2ZmZXJzL3ty
198
+ ZW50YWxzLnNwZWNpYWxfb2ZmZXJzfSIsInJlbnRhbHMucmF0ZXMiOiJodHRw
199
+ czovL3d3dy5ib29raW5nc3luYy5jb20vYXBpL3YzL3JhdGVzL3tyZW50YWxz
200
+ LnJhdGVzfSIsInJlbnRhbHMucmVudGFsc19hbWVuaXRpZXMiOiJodHRwczov
201
+ L3d3dy5ib29raW5nc3luYy5jb20vYXBpL3YzL3JlbnRhbHNfYW1lbml0aWVz
202
+ L3tyZW50YWxzLnJlbnRhbHNfYW1lbml0aWVzfSIsInJlbnRhbHMucmVudGFs
203
+ c19mZWVz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fZGVwb3NpdF9vbl9hcnJpdmFs
350
+ Ijp0cnVlLCJmdWxsX2JhdGhyb29tc19jb3VudCI6MCwic3RhbmRhbG9uZV90
351
+ b2lsZXRzX2NvdW50IjoyLCJ2cl9iYXRocm9vbXNfY291bnQiOjMuNSwibmln
352
+ aHRseV9yYXRlc19tYW5hZ2VkX2V4dGVybmFsbHkiOnRydWUsInJvdW5kaW5n
353
+ X2tpbmQiOiJuby1yb3VuZGluZyJ9XSwibWV0YSI6e319
354
+ http_version:
355
+ recorded_at: Mon, 12 Dec 2016 11:32:50 GMT
356
+ recorded_with: VCR 3.0.3