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/bookings_payments/71982
6
6
  body:
7
- encoding: US-ASCII
8
- string: ''
7
+ encoding: UTF-8
8
+ string: "{}"
9
9
  headers:
10
10
  User-Agent:
11
- - BookingSync API gem v0.0.29
11
+ - BookingSync API gem v0.1.3
12
12
  Accept:
13
13
  - application/vnd.api+json
14
14
  Content-Type:
@@ -17,6 +17,10 @@ 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
@@ -25,7 +29,7 @@ http_interactions:
25
29
  Server:
26
30
  - nginx
27
31
  Date:
28
- - Wed, 09 Sep 2015 21:15:03 GMT
32
+ - Mon, 12 Dec 2016 11:43:47 GMT
29
33
  Content-Type:
30
34
  - application/vnd.api+json; charset=utf-8
31
35
  Transfer-Encoding:
@@ -34,20 +38,20 @@ http_interactions:
34
38
  - keep-alive
35
39
  Status:
36
40
  - 200 OK
37
- Strict-Transport-Security:
38
- - max-age=31536000
39
41
  X-Frame-Options:
40
42
  - SAMEORIGIN
41
43
  X-Xss-Protection:
42
44
  - 1; mode=block
43
45
  X-Content-Type-Options:
44
46
  - nosniff
47
+ X-Updated-Since-Request-Synced-At:
48
+ - 2016-12-12 11:43:47 UTC
45
49
  X-Ratelimit-Limit:
46
50
  - '1000'
47
51
  X-Ratelimit-Reset:
48
- - '1441836000'
52
+ - '1481544000'
49
53
  X-Ratelimit-Remaining:
50
- - '969'
54
+ - '944'
51
55
  Link:
52
56
  - <https://www.bookingsync.com/api/v3/bookings_payments/71982?page=1>; rel="first",
53
57
  <https://www.bookingsync.com/api/v3/bookings_payments/71982?page=1>; rel="last"
@@ -55,8 +59,10 @@ http_interactions:
55
59
  - '1'
56
60
  X-Total-Count:
57
61
  - '1'
62
+ X-Per-Page:
63
+ - '100'
58
64
  Etag:
59
- - '"435be0b6c0ab126ec5d6c9f0e195e338"'
65
+ - W/"847b74a20304dff7194baa6a9045fc5e"
60
66
  Cache-Control:
61
67
  - max-age=0, private, must-revalidate
62
68
  P3p:
@@ -64,17 +70,19 @@ http_interactions:
64
70
  OUR SAMi OTRo UNRo PUBi IND UNI STA"
65
71
  Set-Cookie:
66
72
  - ahoy_track=true; path=/; secure
67
- - ahoy_visit=3f10c19d-8d9e-43d2-9f6a-355abde1b2ed; path=/; expires=Wed, 16 Sep
68
- 2015 21:15:03 -0000; secure
69
- - ahoy_visitor=d481da67-acd0-4226-ab2f-1013d2b8edef; path=/; expires=Sat, 09
70
- Sep 2017 21:15:03 -0000; secure
73
+ - ahoy_visit=5f5a26c1-5903-4ed8-9eb8-16fac6f45a0d; path=/; expires=Mon, 19 Dec
74
+ 2016 11:43:47 -0000; secure
75
+ - ahoy_visitor=1b8476a8-7586-4043-9beb-a7faa905ad4a; path=/; expires=Wed, 12
76
+ Dec 2018 11:43:47 -0000; secure
71
77
  X-Request-Id:
72
- - 3fd2a4f5-e733-4bf7-b92b-32ebba76d67f
78
+ - 2e754f40-dbee-4b2d-bec3-dcfddfb763c6
73
79
  X-Runtime:
74
- - '0.082159'
80
+ - '0.041748'
81
+ Strict-Transport-Security:
82
+ - max-age=31536000
75
83
  body:
76
84
  encoding: UTF-8
77
- string: '{"links":{"bookings_payments.account":"https://www.bookingsync.com/api/v3/accounts/{bookings_payments.account}","bookings_payments.booking":"https://www.bookingsync.com/api/v3/bookings/{bookings_payments.booking}","bookings_payments.payment":"https://www.bookingsync.com/api/v3/payments/{bookings_payments.payment}","bookings_payments.rental":"https://www.bookingsync.com/api/v3/rentals/{bookings_payments.rental}"},"bookings_payments":[{"links":{"account":3837,"booking":142616,"payment":71959,"rental":5116},"id":71982,"amount_in_cents":100000,"currency":"EUR","created_at":"2015-09-09T19:58:06Z","updated_at":"2015-09-09T19:58:06Z"}]}'
85
+ string: '{"links":{"bookings_payments.account":"https://www.bookingsync.com/api/v3/accounts/{bookings_payments.account}","bookings_payments.booking":"https://www.bookingsync.com/api/v3/bookings/{bookings_payments.booking}","bookings_payments.payment":"https://www.bookingsync.com/api/v3/payments/{bookings_payments.payment}","bookings_payments.rental":"https://www.bookingsync.com/api/v3/rentals/{bookings_payments.rental}"},"bookings_payments":[{"links":{"account":3837,"booking":142616,"payment":71959,"rental":5116},"id":71982,"amount_in_cents":100000,"currency":"EUR","created_at":"2015-09-09T19:58:06Z","updated_at":"2015-09-09T19:58:06Z"}],"meta":{}}'
78
86
  http_version:
79
- recorded_at: Wed, 09 Sep 2015 21:15:03 GMT
80
- recorded_with: VCR 2.9.2
87
+ recorded_at: Mon, 12 Dec 2016 11:43:47 GMT
88
+ 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/bookings_payments
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,49 +17,72 @@ 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:36 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:36 UTC
25
49
  X-Ratelimit-Limit:
26
50
  - '1000'
27
51
  X-Ratelimit-Reset:
28
- - '1398164400'
52
+ - '1481544000'
29
53
  X-Ratelimit-Remaining:
30
- - '991'
54
+ - '992'
31
55
  Link:
32
- - "<https://www.bookingsync.com/api/v3/bookings_payments?page=1>; rel=\"first\",
33
- <https://www.bookingsync.com/api/v3/bookings_payments?page=2>; rel=\"next\",
34
- <https://www.bookingsync.com/api/v3/bookings_payments?page=2>; rel=\"last\""
56
+ - <https://www.bookingsync.com/api/v3/bookings_payments?page=1>; rel="first",
57
+ <https://www.bookingsync.com/api/v3/bookings_payments?page=1>; rel="last"
35
58
  X-Total-Pages:
36
- - '2'
37
- Access-Control-Allow-Origin:
38
- - "*"
39
- Access-Control-Request-Method:
40
- - "*"
41
- Content-Type:
42
- - application/vnd.api+json; charset=utf-8
43
- X-Ua-Compatible:
44
- - IE=Edge
59
+ - '1'
60
+ X-Total-Count:
61
+ - '3'
62
+ X-Per-Page:
63
+ - '100'
45
64
  Etag:
46
- - "\"c03d6b64570c9f6cfdd723c69bd55312\""
65
+ - W/"ee976711d6736aca44258f211cd22b68"
47
66
  Cache-Control:
48
67
  - max-age=0, private, must-revalidate
49
68
  P3p:
50
69
  - CP="OTI DSP COR CUR ADMo DEVo TAI PSAi PSDi IVAi IVDi CONi HISi TELi OTPi
51
70
  OUR SAMi OTRo UNRo PUBi IND UNI STA"
71
+ Set-Cookie:
72
+ - ahoy_track=true; path=/; secure
73
+ - ahoy_visit=2c6e8423-870d-4b49-be5e-6c72f61f03a1; path=/; expires=Mon, 19 Dec
74
+ 2016 11:32:36 -0000; secure
75
+ - ahoy_visitor=87ad4279-3094-4c90-9ee9-d668bc1b7f70; path=/; expires=Wed, 12
76
+ Dec 2018 11:32:36 -0000; secure
52
77
  X-Request-Id:
53
- - ba649ff58ee7c5480e13b0a1fc48d147
78
+ - c1664a9b-6410-4b39-955e-575381dae7cb
54
79
  X-Runtime:
55
- - '0.601282'
56
- Date:
57
- - Tue, 22 Apr 2014 10:36:22 GMT
58
- Connection:
59
- - close
80
+ - '0.043677'
81
+ Strict-Transport-Security:
82
+ - max-age=31536000
60
83
  body:
61
84
  encoding: UTF-8
62
- string: "{\"bookings_payments\":[{\"id\":2,\"account_id\":1,\"booking_id\":5,\"payment_id\":2,\"amount\":125200,\"currency\":\"EUR\",\"created_at\":\"2014-04-14T13:18:42Z\",\"updated_at\":\"2014-04-14T13:18:42Z\"},{\"id\":10,\"account_id\":1,\"booking_id\":11,\"payment_id\":10,\"amount\":47300,\"currency\":\"EUR\",\"created_at\":\"2014-04-14T13:18:52Z\",\"updated_at\":\"2014-04-14T13:18:52Z\"},{\"id\":11,\"account_id\":1,\"booking_id\":11,\"payment_id\":11,\"amount\":189200,\"currency\":\"EUR\",\"created_at\":\"2014-04-14T13:18:52Z\",\"updated_at\":\"2014-04-14T13:18:52Z\"},{\"id\":12,\"account_id\":1,\"booking_id\":11,\"payment_id\":12,\"amount\":236500,\"currency\":\"EUR\",\"created_at\":\"2014-04-14T13:18:52Z\",\"updated_at\":\"2014-04-14T13:18:52Z\"},{\"id\":13,\"account_id\":1,\"booking_id\":12,\"payment_id\":13,\"amount\":118800,\"currency\":\"EUR\",\"created_at\":\"2014-04-14T13:18:52Z\",\"updated_at\":\"2014-04-14T13:18:52Z\"},{\"id\":14,\"account_id\":1,\"booking_id\":12,\"payment_id\":14,\"amount\":79200,\"currency\":\"EUR\",\"created_at\":\"2014-04-14T13:18:52Z\",\"updated_at\":\"2014-04-14T13:18:52Z\"},{\"id\":18,\"account_id\":1,\"booking_id\":14,\"payment_id\":18,\"amount\":90000,\"currency\":\"EUR\",\"created_at\":\"2014-04-14T13:18:53Z\",\"updated_at\":\"2014-04-14T13:18:53Z\"},{\"id\":19,\"account_id\":1,\"booking_id\":15,\"payment_id\":19,\"amount\":117200,\"currency\":\"EUR\",\"created_at\":\"2014-04-14T13:18:53Z\",\"updated_at\":\"2014-04-14T13:18:53Z\"},{\"id\":20,\"account_id\":1,\"booking_id\":15,\"payment_id\":20,\"amount\":58600,\"currency\":\"EUR\",\"created_at\":\"2014-04-14T13:18:53Z\",\"updated_at\":\"2014-04-14T13:18:53Z\"},{\"id\":21,\"account_id\":1,\"booking_id\":15,\"payment_id\":21,\"amount\":117200,\"currency\":\"EUR\",\"created_at\":\"2014-04-14T13:18:53Z\",\"updated_at\":\"2014-04-14T13:18:53Z\"},{\"id\":23,\"account_id\":1,\"booking_id\":17,\"payment_id\":23,\"amount\":6200,\"currency\":\"EUR\",\"created_at\":\"2014-04-14T13:18:57Z\",\"updated_at\":\"2014-04-14T13:18:57Z\"},{\"id\":24,\"account_id\":1,\"booking_id\":17,\"payment_id\":24,\"amount\":24800,\"currency\":\"EUR\",\"created_at\":\"2014-04-14T13:18:57Z\",\"updated_at\":\"2014-04-14T13:18:57Z\"},{\"id\":28,\"account_id\":1,\"booking_id\":20,\"payment_id\":28,\"amount\":34200,\"currency\":\"EUR\",\"created_at\":\"2014-04-14T13:18:58Z\",\"updated_at\":\"2014-04-14T13:18:58Z\"},{\"id\":29,\"account_id\":1,\"booking_id\":20,\"payment_id\":29,\"amount\":45600,\"currency\":\"EUR\",\"created_at\":\"2014-04-14T13:18:58Z\",\"updated_at\":\"2014-04-14T13:18:58Z\"},{\"id\":30,\"account_id\":1,\"booking_id\":21,\"payment_id\":30,\"amount\":31000,\"currency\":\"EUR\",\"created_at\":\"2014-04-14T13:19:02Z\",\"updated_at\":\"2014-04-14T13:19:02Z\"},{\"id\":31,\"account_id\":1,\"booking_id\":21,\"payment_id\":31,\"amount\":31000,\"currency\":\"EUR\",\"created_at\":\"2014-04-14T13:19:02Z\",\"updated_at\":\"2014-04-14T13:19:02Z\"},{\"id\":34,\"account_id\":1,\"booking_id\":24,\"payment_id\":34,\"amount\":8400,\"currency\":\"EUR\",\"created_at\":\"2014-04-14T13:19:03Z\",\"updated_at\":\"2014-04-14T13:19:03Z\"},{\"id\":35,\"account_id\":1,\"booking_id\":24,\"payment_id\":35,\"amount\":4200,\"currency\":\"EUR\",\"created_at\":\"2014-04-14T13:19:03Z\",\"updated_at\":\"2014-04-14T13:19:03Z\"},{\"id\":36,\"account_id\":1,\"booking_id\":25,\"payment_id\":36,\"amount\":15400,\"currency\":\"EUR\",\"created_at\":\"2014-04-14T13:19:03Z\",\"updated_at\":\"2014-04-14T13:19:03Z\"},{\"id\":37,\"account_id\":1,\"booking_id\":26,\"payment_id\":37,\"amount\":27200,\"currency\":\"EUR\",\"created_at\":\"2014-04-14T13:19:07Z\",\"updated_at\":\"2014-04-14T13:19:07Z\"},{\"id\":38,\"account_id\":1,\"booking_id\":26,\"payment_id\":38,\"amount\":40800,\"currency\":\"EUR\",\"created_at\":\"2014-04-14T13:19:07Z\",\"updated_at\":\"2014-04-14T13:19:07Z\"},{\"id\":39,\"account_id\":1,\"booking_id\":26,\"payment_id\":39,\"amount\":68000,\"currency\":\"EUR\",\"created_at\":\"2014-04-14T13:19:08Z\",\"updated_at\":\"2014-04-14T13:19:08Z\"},{\"id\":40,\"account_id\":1,\"booking_id\":27,\"payment_id\":40,\"amount\":22300,\"currency\":\"EUR\",\"created_at\":\"2014-04-14T13:19:08Z\",\"updated_at\":\"2014-04-14T13:19:08Z\"},{\"id\":41,\"account_id\":1,\"booking_id\":27,\"payment_id\":41,\"amount\":22300,\"currency\":\"EUR\",\"created_at\":\"2014-04-14T13:19:08Z\",\"updated_at\":\"2014-04-14T13:19:08Z\"},{\"id\":42,\"account_id\":1,\"booking_id\":27,\"payment_id\":42,\"amount\":178400,\"currency\":\"EUR\",\"created_at\":\"2014-04-14T13:19:08Z\",\"updated_at\":\"2014-04-14T13:19:08Z\"},{\"id\":44,\"account_id\":1,\"booking_id\":29,\"payment_id\":44,\"amount\":66300,\"currency\":\"EUR\",\"created_at\":\"2014-04-14T13:19:08Z\",\"updated_at\":\"2014-04-14T13:19:08Z\"},{\"id\":45,\"account_id\":1,\"booking_id\":30,\"payment_id\":45,\"amount\":26400,\"currency\":\"EUR\",\"created_at\":\"2014-04-14T13:19:08Z\",\"updated_at\":\"2014-04-14T13:19:08Z\"},{\"id\":46,\"account_id\":1,\"booking_id\":30,\"payment_id\":46,\"amount\":26400,\"currency\":\"EUR\",\"created_at\":\"2014-04-14T13:19:08Z\",\"updated_at\":\"2014-04-14T13:19:08Z\"},{\"id\":70,\"account_id\":1,\"booking_id\":45,\"payment_id\":70,\"amount\":23000,\"currency\":\"EUR\",\"created_at\":\"2014-04-14T13:19:24Z\",\"updated_at\":\"2014-04-14T13:19:24Z\"},{\"id\":71,\"account_id\":1,\"booking_id\":45,\"payment_id\":71,\"amount\":23000,\"currency\":\"EUR\",\"created_at\":\"2014-04-14T13:19:24Z\",\"updated_at\":\"2014-04-14T13:19:24Z\"},{\"id\":79,\"account_id\":1,\"booking_id\":50,\"payment_id\":79,\"amount\":25000,\"currency\":\"EUR\",\"created_at\":\"2014-04-14T13:19:29Z\",\"updated_at\":\"2014-04-14T13:19:29Z\"},{\"id\":106,\"account_id\":1,\"booking_id\":71,\"payment_id\":106,\"amount\":100000,\"currency\":\"EUR\",\"created_at\":\"2014-04-22T10:16:17Z\",\"updated_at\":\"2014-04-22T10:16:17Z\"},{\"id\":1,\"account_id\":1,\"booking_id\":2,\"payment_id\":1,\"amount\":33000,\"currency\":\"GBP\",\"created_at\":\"2014-04-14T13:18:42Z\",\"updated_at\":\"2014-04-14T13:18:42Z\"},{\"id\":8,\"account_id\":1,\"booking_id\":10,\"payment_id\":8,\"amount\":38400,\"currency\":\"GBP\",\"created_at\":\"2014-04-14T13:18:47Z\",\"updated_at\":\"2014-04-14T13:18:47Z\"},{\"id\":9,\"account_id\":1,\"booking_id\":10,\"payment_id\":9,\"amount\":51200,\"currency\":\"GBP\",\"created_at\":\"2014-04-14T13:18:47Z\",\"updated_at\":\"2014-04-14T13:18:47Z\"},{\"id\":22,\"account_id\":1,\"booking_id\":16,\"payment_id\":22,\"amount\":18400,\"currency\":\"GBP\",\"created_at\":\"2014-04-14T13:18:57Z\",\"updated_at\":\"2014-04-14T13:18:57Z\"},{\"id\":25,\"account_id\":1,\"booking_id\":19,\"payment_id\":25,\"amount\":10500,\"currency\":\"GBP\",\"created_at\":\"2014-04-14T13:18:58Z\",\"updated_at\":\"2014-04-14T13:18:58Z\"},{\"id\":26,\"account_id\":1,\"booking_id\":19,\"payment_id\":26,\"amount\":31500,\"currency\":\"GBP\",\"created_at\":\"2014-04-14T13:18:58Z\",\"updated_at\":\"2014-04-14T13:18:58Z\"},{\"id\":27,\"account_id\":1,\"booking_id\":19,\"payment_id\":27,\"amount\":63000,\"currency\":\"GBP\",\"created_at\":\"2014-04-14T13:18:58Z\",\"updated_at\":\"2014-04-14T13:18:58Z\"},{\"id\":43,\"account_id\":1,\"booking_id\":28,\"payment_id\":43,\"amount\":43800,\"currency\":\"GBP\",\"created_at\":\"2014-04-14T13:19:08Z\",\"updated_at\":\"2014-04-14T13:19:08Z\"},{\"id\":52,\"account_id\":1,\"booking_id\":33,\"payment_id\":52,\"amount\":58400,\"currency\":\"GBP\",\"created_at\":\"2014-04-14T13:19:13Z\",\"updated_at\":\"2014-04-14T13:19:13Z\"},{\"id\":53,\"account_id\":1,\"booking_id\":33,\"payment_id\":53,\"amount\":29200,\"currency\":\"GBP\",\"created_at\":\"2014-04-14T13:19:13Z\",\"updated_at\":\"2014-04-14T13:19:13Z\"},{\"id\":54,\"account_id\":1,\"booking_id\":34,\"payment_id\":54,\"amount\":164400,\"currency\":\"GBP\",\"created_at\":\"2014-04-14T13:19:14Z\",\"updated_at\":\"2014-04-14T13:19:14Z\"},{\"id\":55,\"account_id\":1,\"booking_id\":34,\"payment_id\":55,\"amount\":164400,\"currency\":\"GBP\",\"created_at\":\"2014-04-14T13:19:14Z\",\"updated_at\":\"2014-04-14T13:19:14Z\"},{\"id\":65,\"account_id\":1,\"booking_id\":41,\"payment_id\":65,\"amount\":79600,\"currency\":\"GBP\",\"created_at\":\"2014-04-14T13:19:23Z\",\"updated_at\":\"2014-04-14T13:19:23Z\"},{\"id\":66,\"account_id\":1,\"booking_id\":41,\"payment_id\":66,\"amount\":159200,\"currency\":\"GBP\",\"created_at\":\"2014-04-14T13:19:23Z\",\"updated_at\":\"2014-04-14T13:19:23Z\"},{\"id\":67,\"account_id\":1,\"booking_id\":41,\"payment_id\":67,\"amount\":159200,\"currency\":\"GBP\",\"created_at\":\"2014-04-14T13:19:23Z\",\"updated_at\":\"2014-04-14T13:19:23Z\"},{\"id\":68,\"account_id\":1,\"booking_id\":42,\"payment_id\":68,\"amount\":132000,\"currency\":\"GBP\",\"created_at\":\"2014-04-14T13:19:24Z\",\"updated_at\":\"2014-04-14T13:19:24Z\"},{\"id\":72,\"account_id\":1,\"booking_id\":46,\"payment_id\":72,\"amount\":68400,\"currency\":\"GBP\",\"created_at\":\"2014-04-14T13:19:28Z\",\"updated_at\":\"2014-04-14T13:19:28Z\"},{\"id\":73,\"account_id\":1,\"booking_id\":46,\"payment_id\":73,\"amount\":91200,\"currency\":\"GBP\",\"created_at\":\"2014-04-14T13:19:28Z\",\"updated_at\":\"2014-04-14T13:19:28Z\"}]}"
63
- http_version:
64
- recorded_at: Tue, 22 Apr 2014 10:36:22 GMT
65
- recorded_with: VCR 2.9.0
85
+ string: '{"links":{"bookings_payments.account":"https://www.bookingsync.com/api/v3/accounts/{bookings_payments.account}","bookings_payments.booking":"https://www.bookingsync.com/api/v3/bookings/{bookings_payments.booking}","bookings_payments.payment":"https://www.bookingsync.com/api/v3/payments/{bookings_payments.payment}","bookings_payments.rental":"https://www.bookingsync.com/api/v3/rentals/{bookings_payments.rental}"},"bookings_payments":[{"links":{"account":3837,"booking":142616,"payment":71959,"rental":5116},"id":71982,"amount_in_cents":100000,"currency":"EUR","created_at":"2015-09-09T19:58:06Z","updated_at":"2015-09-09T19:58:06Z"},{"links":{"account":3837,"booking":819091,"payment":268113,"rental":5117},"id":268146,"amount_in_cents":80000,"currency":"EUR","created_at":"2016-12-06T16:21:13Z","updated_at":"2016-12-06T16:21:13Z"},{"links":{"account":3837,"booking":817604,"payment":268198,"rental":5117},"id":268231,"amount_in_cents":200,"currency":"EUR","created_at":"2016-12-07T00:31:20Z","updated_at":"2016-12-07T00:31:20Z"}],"meta":{}}'
86
+ http_version:
87
+ recorded_at: Mon, 12 Dec 2016 11:32:36 GMT
88
+ 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/bookings_taxes/8157
6
6
  body:
7
- encoding: US-ASCII
8
- string: ''
7
+ encoding: UTF-8
8
+ string: "{}"
9
9
  headers:
10
10
  User-Agent:
11
- - BookingSync API gem v0.0.29
11
+ - BookingSync API gem v0.1.3
12
12
  Accept:
13
13
  - application/vnd.api+json
14
14
  Content-Type:
@@ -17,6 +17,10 @@ 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
@@ -25,7 +29,7 @@ http_interactions:
25
29
  Server:
26
30
  - nginx
27
31
  Date:
28
- - Wed, 09 Sep 2015 21:15:35 GMT
32
+ - Mon, 12 Dec 2016 11:43:48 GMT
29
33
  Content-Type:
30
34
  - application/vnd.api+json; charset=utf-8
31
35
  Transfer-Encoding:
@@ -34,20 +38,20 @@ http_interactions:
34
38
  - keep-alive
35
39
  Status:
36
40
  - 200 OK
37
- Strict-Transport-Security:
38
- - max-age=31536000
39
41
  X-Frame-Options:
40
42
  - SAMEORIGIN
41
43
  X-Xss-Protection:
42
44
  - 1; mode=block
43
45
  X-Content-Type-Options:
44
46
  - nosniff
47
+ X-Updated-Since-Request-Synced-At:
48
+ - 2016-12-12 11:43:48 UTC
45
49
  X-Ratelimit-Limit:
46
50
  - '1000'
47
51
  X-Ratelimit-Reset:
48
- - '1441836000'
52
+ - '1481544000'
49
53
  X-Ratelimit-Remaining:
50
- - '967'
54
+ - '941'
51
55
  Link:
52
56
  - <https://www.bookingsync.com/api/v3/bookings_taxes/8157?page=1>; rel="first",
53
57
  <https://www.bookingsync.com/api/v3/bookings_taxes/8157?page=1>; rel="last"
@@ -55,8 +59,10 @@ http_interactions:
55
59
  - '1'
56
60
  X-Total-Count:
57
61
  - '1'
62
+ X-Per-Page:
63
+ - '100'
58
64
  Etag:
59
- - '"f100a682735a4eaf8dcc65e936d065be"'
65
+ - W/"13ff4b477ab8dcce2945f7e2f7fa8f4c"
60
66
  Cache-Control:
61
67
  - max-age=0, private, must-revalidate
62
68
  P3p:
@@ -64,18 +70,20 @@ http_interactions:
64
70
  OUR SAMi OTRo UNRo PUBi IND UNI STA"
65
71
  Set-Cookie:
66
72
  - ahoy_track=true; path=/; secure
67
- - ahoy_visit=d7bb5bbf-319d-4f03-b0b4-a417136f5198; path=/; expires=Wed, 16 Sep
68
- 2015 21:15:35 -0000; secure
69
- - ahoy_visitor=9a154867-437e-4489-9d8d-6591a0e9c7be; path=/; expires=Sat, 09
70
- Sep 2017 21:15:35 -0000; secure
73
+ - ahoy_visit=c181c38d-26f9-41f8-9141-35c067c49f86; path=/; expires=Mon, 19 Dec
74
+ 2016 11:43:48 -0000; secure
75
+ - ahoy_visitor=7e2a8c07-bcbe-4d51-992b-c0afe5daaf2e; path=/; expires=Wed, 12
76
+ Dec 2018 11:43:48 -0000; secure
71
77
  X-Request-Id:
72
- - 35d2af3f-4890-43a2-9bdc-77ba17eb13f0
78
+ - bb767d71-d34c-42aa-aee3-c9af3bf45f40
73
79
  X-Runtime:
74
- - '0.079789'
80
+ - '0.074306'
81
+ Strict-Transport-Security:
82
+ - max-age=31536000
75
83
  body:
76
84
  encoding: UTF-8
77
- string: '{"links":{"bookings_taxes.booking":"https://www.bookingsync.com/api/v3/bookings/{bookings_taxes.booking}","bookings_taxes.tax":"https://www.bookingsync.com/api/v3/taxes/{bookings_taxes.tax}","bookings_taxes.rental":"https://www.bookingsync.com/api/v3/rentals/{bookings_taxes.taxable.id}","bookings_taxes.fee":"https://www.bookingsync.com/api/v3/fees/{bookings_taxes.taxable.id}"},"bookings_taxes":[{"links":{"booking":142616,"tax":168,"taxable":{"id":5116,"type":"Rental"}},"id":8157,"name":{"en":"test
85
+ string: '{"links":{"bookings_taxes.account":"https://www.bookingsync.com/api/v3/accounts/{bookings_taxes.account}","bookings_taxes.booking":"https://www.bookingsync.com/api/v3/bookings/{bookings_taxes.booking}","bookings_taxes.tax":"https://www.bookingsync.com/api/v3/taxes/{bookings_taxes.tax}","bookings_taxes.rental":"https://www.bookingsync.com/api/v3/rentals/{bookings_taxes.taxable.id}","bookings_taxes.fee":"https://www.bookingsync.com/api/v3/fees/{bookings_taxes.taxable.id}"},"bookings_taxes":[{"links":{"account":3837,"booking":142616,"tax":168,"taxable":{"id":5116,"type":"Rental"}},"id":8157,"name":{"en":"test
78
86
  tax"},"tax_included_in_price":true,"percentage":"0.0","amount":null}],"meta":{}}'
79
87
  http_version:
80
- recorded_at: Wed, 09 Sep 2015 21:15:36 GMT
81
- recorded_with: VCR 2.9.2
88
+ recorded_at: Mon, 12 Dec 2016 11:43:48 GMT
89
+ 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/bookings_taxes
6
6
  body:
7
- encoding: US-ASCII
8
- string: ''
7
+ encoding: UTF-8
8
+ string: "{}"
9
9
  headers:
10
10
  User-Agent:
11
- - BookingSync API gem v0.0.23
11
+ - BookingSync API gem v0.1.3
12
12
  Accept:
13
13
  - application/vnd.api+json
14
14
  Content-Type:
@@ -17,6 +17,10 @@ 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
@@ -25,7 +29,7 @@ http_interactions:
25
29
  Server:
26
30
  - nginx
27
31
  Date:
28
- - Tue, 24 Mar 2015 12:47:15 GMT
32
+ - Mon, 12 Dec 2016 11:32:39 GMT
29
33
  Content-Type:
30
34
  - application/vnd.api+json; charset=utf-8
31
35
  Transfer-Encoding:
@@ -34,29 +38,31 @@ http_interactions:
34
38
  - keep-alive
35
39
  Status:
36
40
  - 200 OK
37
- Strict-Transport-Security:
38
- - max-age=31536000
39
41
  X-Frame-Options:
40
42
  - SAMEORIGIN
41
43
  X-Xss-Protection:
42
44
  - 1; mode=block
43
45
  X-Content-Type-Options:
44
46
  - nosniff
47
+ X-Updated-Since-Request-Synced-At:
48
+ - 2016-12-12 11:32:39 UTC
45
49
  X-Ratelimit-Limit:
46
50
  - '1000'
47
51
  X-Ratelimit-Reset:
48
- - '1427202000'
52
+ - '1481544000'
49
53
  X-Ratelimit-Remaining:
50
- - '923'
54
+ - '985'
51
55
  Link:
52
56
  - <https://www.bookingsync.com/api/v3/bookings_taxes?page=1>; rel="first", <https://www.bookingsync.com/api/v3/bookings_taxes?page=1>;
53
57
  rel="last"
54
58
  X-Total-Pages:
55
59
  - '1'
56
60
  X-Total-Count:
57
- - '2'
61
+ - '1'
62
+ X-Per-Page:
63
+ - '100'
58
64
  Etag:
59
- - '"62de21dabf8671eb0223094482fb681f"'
65
+ - W/"13ff4b477ab8dcce2945f7e2f7fa8f4c"
60
66
  Cache-Control:
61
67
  - max-age=0, private, must-revalidate
62
68
  P3p:
@@ -64,18 +70,20 @@ http_interactions:
64
70
  OUR SAMi OTRo UNRo PUBi IND UNI STA"
65
71
  Set-Cookie:
66
72
  - ahoy_track=true; path=/; secure
67
- - ahoy_visit=196bd645-5644-4eaa-b0aa-0b59baca4930; path=/; expires=Tue, 31 Mar
68
- 2015 12:47:15 -0000; secure
69
- - ahoy_visitor=da390569-df86-4266-90a8-b88e521e173f; path=/; expires=Fri, 24
70
- Mar 2017 12:47:15 -0000; secure
73
+ - ahoy_visit=7e53aab1-89f3-4cb7-90e9-05aa57a7e2df; path=/; expires=Mon, 19 Dec
74
+ 2016 11:32:39 -0000; secure
75
+ - ahoy_visitor=7f142319-4a77-4332-b74d-ded091913e48; path=/; expires=Wed, 12
76
+ Dec 2018 11:32:39 -0000; secure
71
77
  X-Request-Id:
72
- - f87ec4ef-4f4a-4ca7-a84e-7034c127c1f0
78
+ - 762f5d53-ed07-4cbb-905a-5f90f1f91725
73
79
  X-Runtime:
74
- - '0.374740'
80
+ - '0.075769'
81
+ Strict-Transport-Security:
82
+ - max-age=31536000
75
83
  body:
76
84
  encoding: UTF-8
77
- string: '{"links":{"bookings_taxes.booking":"https://www.bookingsync.com/api/v3/bookings/{bookings_taxes.booking}","bookings_taxes.tax":"https://www.bookingsync.com/api/v3/taxes/{bookings_taxes.tax}","bookings_taxes.rentals":"https://www.bookingsync.com/api/v3/rentals/{bookings_taxes.taxable.id}","bookings_taxes.fees":"https://www.bookingsync.com/api/v3/fees/{bookings_taxes.taxable.id}"},"bookings_taxes":[{"links":{"booking":118302,"tax":21,"taxable":{"id":38,"type":"Fee"}},"id":83,"name":{"en":"VAT"},"tax_included_in_price":false,"percentage":"23.0","amount":"23.0"},{"links":{"booking":118302,"tax":20,"taxable":{"id":7678,"type":"Rental"}},"id":82,"name":{"en":"Rental
78
- VAT"},"tax_included_in_price":false,"percentage":"23.0","amount":"138.0"}]}'
85
+ string: '{"links":{"bookings_taxes.account":"https://www.bookingsync.com/api/v3/accounts/{bookings_taxes.account}","bookings_taxes.booking":"https://www.bookingsync.com/api/v3/bookings/{bookings_taxes.booking}","bookings_taxes.tax":"https://www.bookingsync.com/api/v3/taxes/{bookings_taxes.tax}","bookings_taxes.rental":"https://www.bookingsync.com/api/v3/rentals/{bookings_taxes.taxable.id}","bookings_taxes.fee":"https://www.bookingsync.com/api/v3/fees/{bookings_taxes.taxable.id}"},"bookings_taxes":[{"links":{"account":3837,"booking":142616,"tax":168,"taxable":{"id":5116,"type":"Rental"}},"id":8157,"name":{"en":"test
86
+ tax"},"tax_included_in_price":true,"percentage":"0.0","amount":null}],"meta":{}}'
79
87
  http_version:
80
- recorded_at: Tue, 24 Mar 2015 12:47:16 GMT
81
- recorded_with: VCR 2.9.3
88
+ recorded_at: Mon, 12 Dec 2016 11:32:39 GMT
89
+ recorded_with: VCR 3.0.3
@@ -2,13 +2,13 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: http://bookingsync.dev/api/v3/change_overs/2
5
+ uri: https://www.bookingsync.com/api/v3/change_overs/3468
6
6
  body:
7
7
  encoding: UTF-8
8
8
  string: "{}"
9
9
  headers:
10
10
  User-Agent:
11
- - BookingSync API gem v0.1.0
11
+ - BookingSync API gem v0.1.3
12
12
  Accept:
13
13
  - application/vnd.api+json
14
14
  Content-Type:
@@ -17,11 +17,19 @@ 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:43:48 GMT
25
33
  Content-Type:
26
34
  - application/vnd.api+json; charset=utf-8
27
35
  Transfer-Encoding:
@@ -30,53 +38,51 @@ http_interactions:
30
38
  - keep-alive
31
39
  Status:
32
40
  - 200 OK
33
- X-Total-Pages:
34
- - '1'
35
- Cache-Control:
36
- - max-age=0, private, must-revalidate
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:43:48 UTC
37
49
  X-Ratelimit-Limit:
38
50
  - '1000'
39
51
  X-Ratelimit-Reset:
40
- - '1468591200'
52
+ - '1481544000'
41
53
  X-Ratelimit-Remaining:
42
- - '986'
43
- X-Xss-Protection:
44
- - 1; mode=block
45
- X-Request-Id:
46
- - 6931a445-bd12-4bef-94cf-8ef71d6cfb80
54
+ - '940'
47
55
  Link:
48
- - <http://bookingsync.dev/api/v3/change_overs/2?page=1>; rel="first", <http://bookingsync.dev/api/v3/change_overs/2?page=1>;
49
- rel="last"
56
+ - <https://www.bookingsync.com/api/v3/change_overs/3468?page=1>; rel="first",
57
+ <https://www.bookingsync.com/api/v3/change_overs/3468?page=1>; rel="last"
58
+ X-Total-Pages:
59
+ - '1'
60
+ X-Total-Count:
61
+ - '1'
50
62
  X-Per-Page:
51
63
  - '100'
64
+ Etag:
65
+ - W/"21318910ffe3e2f78da79eea80e18ec6"
66
+ Cache-Control:
67
+ - max-age=0, private, must-revalidate
52
68
  P3p:
53
69
  - CP="OTI DSP COR CUR ADMo DEVo TAI PSAi PSDi IVAi IVDi CONi HISi TELi OTPi
54
70
  OUR SAMi OTRo UNRo PUBi IND UNI STA"
55
- Etag:
56
- - W/"b551a94f7790230fb49c740f92077cda"
57
- X-Frame-Options:
58
- - SAMEORIGIN
59
- X-Total-Count:
60
- - '1'
61
- X-Content-Type-Options:
62
- - nosniff
63
- X-Runtime:
64
- - '0.043164'
65
- Date:
66
- - Fri, 15 Jul 2016 13:45:58 GMT
67
71
  Set-Cookie:
68
- - ahoy_track=true; path=/
69
- - ahoy_visit=3fa1364f-df8f-4d8b-a843-ff2f9e13fcb8; path=/; expires=Fri, 22 Jul
70
- 2016 13:45:58 -0000
71
- - ahoy_visitor=259d0ce3-2a75-471f-9cc4-46f45dc620c4; path=/; expires=Sun, 15
72
- Jul 2018 13:45:58 -0000
73
- X-Powered-By:
74
- - Phusion Passenger 5.0.27
75
- Server:
76
- - nginx/1.8.1 + Phusion Passenger 5.0.27
72
+ - ahoy_track=true; path=/; secure
73
+ - ahoy_visit=4510f861-b1cc-40e0-a3ac-8eb40d3b7666; path=/; expires=Mon, 19 Dec
74
+ 2016 11:43:48 -0000; secure
75
+ - ahoy_visitor=8b77a174-eaed-4c13-b1f2-dcc11e1900ea; path=/; expires=Wed, 12
76
+ Dec 2018 11:43:48 -0000; secure
77
+ X-Request-Id:
78
+ - 82e59fda-0a6b-4f80-a1cc-16a5d7047132
79
+ X-Runtime:
80
+ - '0.039738'
81
+ Strict-Transport-Security:
82
+ - max-age=31536000
77
83
  body:
78
84
  encoding: UTF-8
79
- string: '{"links":{"change_overs.rental":"http://bookingsync.dev/api/v3/rentals/{change_overs.rental}"},"change_overs":[{"links":{"rental":2},"id":2,"map":"CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC","start_date":"2016-07-15","updated_at":"2016-07-15T07:30:45Z"}]}'
85
+ string: '{"links":{"change_overs.rental":"https://www.bookingsync.com/api/v3/rentals/{change_overs.rental}"},"change_overs":[{"links":{"rental":5116},"id":3468,"map":"COXXICCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC","start_date":"2016-12-01","updated_at":"2016-12-09T10:39:20Z"}]}'
80
86
  http_version:
81
- recorded_at: Fri, 15 Jul 2016 13:45:58 GMT
82
- recorded_with: VCR 2.9.2
87
+ recorded_at: Mon, 12 Dec 2016 11:43:48 GMT
88
+ recorded_with: VCR 3.0.3