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
@@ -2,13 +2,13 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: https://www.bookingsync.com/api/v3/rentals/26,28
5
+ uri: https://www.bookingsync.com/api/v3/rentals/5116,5117
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,52 +17,356 @@ 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:52 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:52 UTC
25
49
  X-Ratelimit-Limit:
26
50
  - '1000'
27
51
  X-Ratelimit-Reset:
28
- - '1401213600'
52
+ - '1481544000'
29
53
  X-Ratelimit-Remaining:
30
- - '995'
54
+ - '959'
31
55
  Link:
32
- - <https://www.bookingsync.com/api/v3/rentals/26,28?page=1>; rel="first", <https://www.bookingsync.com/api/v3/rentals/26,28?page=1>;
33
- rel="last"
56
+ - <https://www.bookingsync.com/api/v3/rentals/5116,5117?page=1>; rel="first",
57
+ <https://www.bookingsync.com/api/v3/rentals/5116,5117?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
+ - '2'
62
+ X-Per-Page:
63
+ - '50'
44
64
  Etag:
45
- - '"d4e1087b3d3c8f53b50094dbfd6451f4"'
65
+ - W/"461f848c7d3a13d080620fc41e94127b"
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=97afbcd3-bef0-48e7-b2bb-fd43e22cc256; path=/; expires=Mon, 19 Dec
74
+ 2016 11:32:52 -0000; secure
75
+ - ahoy_visitor=0815f64a-f665-4bbc-b171-8d0a474f0317; path=/; expires=Wed, 12
76
+ Dec 2018 11:32:52 -0000; secure
51
77
  X-Request-Id:
52
- - 02b91f60682136fd3a239a3d4391a4f1
78
+ - 61552965-5e19-4354-9ada-eaf3d7ba2367
53
79
  X-Runtime:
54
- - '0.191607'
55
- Date:
56
- - Tue, 27 May 2014 17:53:12 GMT
57
- Connection:
58
- - close
80
+ - '0.170446'
81
+ Strict-Transport-Security:
82
+ - max-age=31536000
59
83
  body:
60
- encoding: UTF-8
61
- 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.amenities":"https://www.bookingsync.com/api/v3/amenities/{rentals.amenities}"},"rentals":[{"links":{"account":42,"destination":13,"rates_table":25,"rental_agreement":null,"photos":[13],"reviews":[],"special_offers":[],"rates":[],"amenities":[]},"id":26,"name":"2
62
- ducimus est","headline":{"en":null},"summary":{"en":null},"description":{"en":null},"rental_type":"villa","units":1,"bedrooms_count":null,"sleeps":7,"sleeps_max":null,"bathrooms_count":3,"surface":120,"bookable_online":false,"min_price":700,"max_price":700,"price_kind":"weekly","currency":"EUR","price_public_notes":{"en":null},"lat":45.02,"lng":6.6,"city":"Nevache","state":null,"country":"France","contact_name":"Contact
63
- Fullname","reviews_count":0,"reviews_average_rating":null,"created_at":"2014-02-10T15:32:21Z","updated_at":"2014-02-10T15:32:22Z","address1":null,"address2":null,"zip":null,"checkin_time":16,"checkout_time":10},{"links":{"account":42,"destination":14,"rates_table":27,"rental_agreement":null,"photos":[14],"reviews":[],"special_offers":[],"rates":[],"amenities":[]},"id":28,"name":"3
64
- et","headline":{"en":null},"summary":{"en":null},"description":{"en":null},"rental_type":"villa","units":1,"bedrooms_count":null,"sleeps":7,"sleeps_max":null,"bathrooms_count":3,"surface":120,"bookable_online":false,"min_price":700,"max_price":700,"price_kind":"weekly","currency":"EUR","price_public_notes":{"en":null},"lat":45.02,"lng":6.6,"city":"Nevache","state":null,"country":"France","contact_name":"Contact
65
- Fullname","reviews_count":0,"reviews_average_rating":null,"created_at":"2014-02-10T15:32:24Z","updated_at":"2014-02-10T15:32:25Z","address1":null,"address2":null,"zip":null,"checkin_time":16,"checkout_time":10}]}'
66
- http_version:
67
- recorded_at: Tue, 27 May 2014 17:53:12 GMT
68
- recorded_with: VCR 2.9.0
84
+ encoding: ASCII-8BIT
85
+ string: !binary |-
86
+ eyJsaW5rcyI6eyJyZW50YWxzLmFjY291bnQiOiJodHRwczovL3d3dy5ib29r
87
+ aW5nc3luYy5jb20vYXBpL3YzL2FjY291bnRzL3tyZW50YWxzLmFjY291bnR9
88
+ IiwicmVudGFscy5hdmFpbGFiaWxpdHkiOiJodHRwczovL3d3dy5ib29raW5n
89
+ c3luYy5jb20vYXBpL3YzL2F2YWlsYWJpbGl0aWVzL3tyZW50YWxzLmF2YWls
90
+ YWJpbGl0eX0iLCJyZW50YWxzLmNoYW5nZV9vdmVyIjoiaHR0cHM6Ly93d3cu
91
+ Ym9va2luZ3N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108
+ b3Mve3JlbnRhbHMucGhvdG9zfSIsInJlbnRhbHMucmV2aWV3cyI6Imh0dHBz
109
+ Oi8vd3d3LmJvb2tpbmdzeW5jLmNvbS9hcGkvdjMvcmV2aWV3cy97cmVudGFs
110
+ cy5yZXZpZXdzfSIsInJlbnRhbHMuc3BlY2lhbF9vZmZlcnMiOiJodHRwczov
111
+ L3d3dy5ib29raW5nc3luYy5jb20vYXBpL3YzL3NwZWNpYWxfb2ZmZXJzL3ty
112
+ ZW50YWxzLnNwZWNpYWxfb2ZmZXJzfSIsInJlbnRhbHMucmF0ZXMiOiJodHRw
113
+ czovL3d3dy5ib29raW5nc3luYy5jb20vYXBpL3YzL3JhdGVzL3tyZW50YWxz
114
+ LnJhdGVzfSIsInJlbnRhbHMucmVudGFsc19hbWVuaXRpZXMiOiJodHRwczov
115
+ L3d3dy5ib29raW5nc3luYy5jb20vYXBpL3YzL3JlbnRhbHNfYW1lbml0aWVz
116
+ L3tyZW50YWxzLnJlbnRhbHNfYW1lbml0aWVzfSIsInJlbnRhbHMucmVudGFs
117
+ c19mZWVzIjoiaHR0cHM6Ly93d3cuYm9va2luZ3N5bmMuY29tL2FwaS92My9y
118
+ ZW50YWxzX2ZlZXMve3JlbnRhbHMucmVudGFsc19mZWVzfSIsInJlbnRhbHMu
119
+ YmF0aHJvb21zIjoiaHR0cHM6Ly93d3cuYm9va2luZ3N5bmMuY29tL2FwaS92
120
+ My9iYXRocm9vbXMve3JlbnRhbHMuYmF0aHJvb21zfSIsInJlbnRhbHMuYmVk
121
+ cm9vbXMiOiJodHRwczovL3d3dy5ib29raW5nc3luYy5jb20vYXBpL3YzL2Jl
122
+ ZHJvb21zL3tyZW50YWxzLmJlZHJvb21zfSIsInJlbnRhbHMubGl2aW5nX3Jv
123
+ b21zIjoiaHR0cHM6Ly93d3cuYm9va2luZ3N5bmMuY29tL2FwaS92My9saXZp
124
+ bmdfcm9vbXMve3JlbnRhbHMubGl2aW5nX3Jvb21zfSIsInJlbnRh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
369
+ dGEiOnt9fQ==
370
+ http_version:
371
+ recorded_at: Mon, 12 Dec 2016 11:32:52 GMT
372
+ 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/meta
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:
@@ -22,40 +22,68 @@ 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
- - '1401375600'
48
+ - '1481281200'
29
49
  X-Ratelimit-Remaining:
30
- - '996'
50
+ - '962'
31
51
  Link:
32
- - <https://www.bookingsync.com/api/v3/rentals/meta?page=1>; rel="first"
33
- Access-Control-Allow-Origin:
34
- - "*"
35
- Access-Control-Request-Method:
36
- - "*"
37
- Content-Type:
38
- - application/vnd.api+json; charset=utf-8
39
- X-Ua-Compatible:
40
- - IE=Edge
52
+ - <https://www.bookingsync.com/api/v3/rentals/meta?page=1>; rel="first", <https://www.bookingsync.com/api/v3/rentals/meta?page=1>;
53
+ rel="last"
54
+ X-Total-Pages:
55
+ - '1'
56
+ X-Total-Count:
57
+ - '1'
58
+ X-Per-Page:
59
+ - '50'
41
60
  Etag:
42
- - '"36171a199e62810a25e7a2e22ed243d1"'
61
+ - W/"45bf67f49f80bb725724e221d248358b"
43
62
  Cache-Control:
44
63
  - max-age=0, private, must-revalidate
45
64
  P3p:
46
65
  - CP="OTI DSP COR CUR ADMo DEVo TAI PSAi PSDi IVAi IVDi CONi HISi TELi OTPi
47
66
  OUR SAMi OTRo UNRo PUBi IND UNI STA"
67
+ Set-Cookie:
68
+ - ahoy_track=true; path=/; secure
69
+ - ahoy_visit=3d3c22c3-8466-4cab-94ca-5c152b7815b0; path=/; expires=Fri, 16 Dec
70
+ 2016 10:29:31 -0000; secure
71
+ - ahoy_visitor=9bd81fb5-4f0e-4daa-ad2a-cf41eeb0a1ad; path=/; expires=Sun, 09
72
+ Dec 2018 10:29:31 -0000; secure
48
73
  X-Request-Id:
49
- - 2a80562ae108eeebc99b1aa0e93e1668
74
+ - cf8bf5fa-5ace-4de0-84c2-25f85fbeb208
50
75
  X-Runtime:
51
- - '0.194290'
52
- Date:
53
- - Thu, 29 May 2014 14:13:03 GMT
54
- Connection:
55
- - close
76
+ - '0.083723'
77
+ Strict-Transport-Security:
78
+ - max-age=31536000
56
79
  body:
57
80
  encoding: UTF-8
58
- string: '{"links":{"rentals_meta.destinations":"https://www.bookingsync.com/api/v3/destinations/{rentals_meta.destinations}"},"rentals_meta":[{"links":{"destinations":[35,36]},"price_range":{"currency":"EUR","max_price":700,"min_price":null},"rental_types":[{"name":"villa","counter":2}],"destinations":[{"id":35,"name":{"en":"Name-1"},"fullname":{"en":"Name-1"},"permalink":{"en":"name-1"},"aliases":{"en":null}},{"id":36,"name":{"en":"Name-2"},"fullname":{"en":"Name-2"},"permalink":{"en":"name-2"},"aliases":{"en":null}}]}]}'
59
- http_version:
60
- recorded_at: Thu, 29 May 2014 14:13:04 GMT
61
- recorded_with: VCR 2.9.1
81
+ 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
82
+ Lefkada"},"fullname":{"en":"Sivota Lefkada, Lefkada (Lefkas), Ionian Islands,
83
+ Greece, Europe, World","fr":"Sivota Lefkada, Lefkada (Lefkas), Ionian Islands,
84
+ Greece, Europe, World","de":"Sivota Lefkada, Lefkada (Lefkas), Ionian Islands,
85
+ 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-
86
+ Syvota\n"},"counter":2,"ancestor_ids":[99,101,2918,6817,7160]}]}]}'
87
+ http_version:
88
+ recorded_at: Fri, 09 Dec 2016 10:29:32 GMT
89
+ recorded_with: VCR 3.0.3