bookingsync-api 0.0.6 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (106) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +1 -1
  3. data/Gemfile +2 -1
  4. data/Guardfile +3 -6
  5. data/README.md +11 -3
  6. data/bookingsync-api.gemspec +2 -2
  7. data/lib/bookingsync/api.rb +0 -2
  8. data/lib/bookingsync/api/client.rb +151 -54
  9. data/lib/bookingsync/api/client/amenities.rb +22 -0
  10. data/lib/bookingsync/api/client/billing_addresses.rb +22 -0
  11. data/lib/bookingsync/api/client/bookings.rb +7 -9
  12. data/lib/bookingsync/api/client/bookings_payments.rb +22 -0
  13. data/lib/bookingsync/api/client/clients.rb +43 -0
  14. data/lib/bookingsync/api/client/destinations.rb +22 -0
  15. data/lib/bookingsync/api/client/inquiries.rb +2 -2
  16. data/lib/bookingsync/api/client/payments.rb +53 -0
  17. data/lib/bookingsync/api/client/periods.rb +54 -0
  18. data/lib/bookingsync/api/client/photos.rb +22 -0
  19. data/lib/bookingsync/api/client/rates.rb +23 -0
  20. data/lib/bookingsync/api/client/rates_rules.rb +22 -0
  21. data/lib/bookingsync/api/client/rates_tables.rb +53 -0
  22. data/lib/bookingsync/api/client/rental_agreements.rb +50 -0
  23. data/lib/bookingsync/api/client/rentals.rb +39 -1
  24. data/lib/bookingsync/api/client/reviews.rb +31 -0
  25. data/lib/bookingsync/api/client/seasons.rb +53 -0
  26. data/lib/bookingsync/api/client/special_offers.rb +54 -0
  27. data/lib/bookingsync/api/relation.rb +87 -0
  28. data/lib/bookingsync/api/resource.rb +58 -0
  29. data/lib/bookingsync/api/response.rb +79 -0
  30. data/lib/bookingsync/api/serializer.rb +100 -0
  31. data/lib/bookingsync/api/version.rb +1 -1
  32. data/spec/bookingsync/api/client/amenities_spec.rb +12 -0
  33. data/spec/bookingsync/api/client/billing_addresses_spec.rb +12 -0
  34. data/spec/bookingsync/api/client/billings_payments_spec.rb +12 -0
  35. data/spec/bookingsync/api/client/bookings_spec.rb +10 -8
  36. data/spec/bookingsync/api/client/clients_spec.rb +55 -0
  37. data/spec/bookingsync/api/client/destinations_spec.rb +12 -0
  38. data/spec/bookingsync/api/client/inquiries_spec.rb +1 -1
  39. data/spec/bookingsync/api/client/payments_spec.rb +56 -0
  40. data/spec/bookingsync/api/client/periods_spec.rb +61 -0
  41. data/spec/bookingsync/api/client/photos_spec.rb +12 -0
  42. data/spec/bookingsync/api/client/rates_rules_spec.rb +13 -0
  43. data/spec/bookingsync/api/client/rates_spec.rb +12 -0
  44. data/spec/bookingsync/api/client/rates_tables_spec.rb +59 -0
  45. data/spec/bookingsync/api/client/rental_agreements_spec.rb +64 -0
  46. data/spec/bookingsync/api/client/rentals_spec.rb +56 -6
  47. data/spec/bookingsync/api/client/reviews_spec.rb +33 -0
  48. data/spec/bookingsync/api/client/seasons_spec.rb +61 -0
  49. data/spec/bookingsync/api/client/special_offers_spec.rb +63 -0
  50. data/spec/bookingsync/api/client_spec.rb +31 -10
  51. data/spec/bookingsync/api/relation_spec.rb +72 -0
  52. data/spec/bookingsync/api/resource_spec.rb +79 -0
  53. data/spec/bookingsync/api/response_spec.rb +66 -0
  54. data/spec/cassettes/BookingSync_API_Client_Amenities/_amenities/returns_amenities.yml +72 -0
  55. data/spec/cassettes/BookingSync_API_Client_BillingAddresses/_billing_addresses/returns_billing_addresses.yml +65 -0
  56. data/spec/cassettes/BookingSync_API_Client_Bookings/_bookings/pagination/with_a_block/yields_block_with_batch_of_bookings.yml +12 -12
  57. data/spec/cassettes/BookingSync_API_Client_Bookings/_bookings/pagination/with_auto_paginate_true/returns_all_bookings_joined_from_many_requests.yml +12 -12
  58. data/spec/cassettes/BookingSync_API_Client_Bookings/_bookings/pagination/with_per_page_setting/returns_limited_number_of_bookings.yml +3 -3
  59. data/spec/cassettes/BookingSync_API_Client_Bookings/_clients/returns_clients.yml +66 -0
  60. data/spec/cassettes/BookingSync_API_Client_Bookings/_create_booking/creates_a_booking.yml +1 -1
  61. data/spec/cassettes/BookingSync_API_Client_Bookings/_create_client/creates_a_new_client.yml +64 -0
  62. data/spec/cassettes/BookingSync_API_Client_Bookings/_edit_booking/updates_given_booking_by_ID.yml +18 -14
  63. data/spec/cassettes/BookingSync_API_Client_Bookings/_edit_client/updates_given_client_by_ID.yml +62 -0
  64. data/spec/cassettes/BookingSync_API_Client_BookingsPayments/_bookings_payments/returns_bookings_payments.yml +65 -0
  65. data/spec/cassettes/BookingSync_API_Client_Destinations/_destinations/returns_destinations.yml +64 -0
  66. data/spec/cassettes/BookingSync_API_Client_Inquiries/_create_inquiry/creates_a_new_inquiry.yml +1 -1
  67. data/spec/cassettes/BookingSync_API_Client_Inquiries/_inquiries/returns_inquiries.yml +1 -1
  68. data/spec/cassettes/BookingSync_API_Client_Payments/_cancel_payment/cancels_given_payment.yml +57 -0
  69. data/spec/cassettes/BookingSync_API_Client_Payments/_create_payment/creates_a_new_payment.yml +63 -0
  70. data/spec/cassettes/BookingSync_API_Client_Payments/_edit_payment/updates_given_payment_by_ID.yml +61 -0
  71. data/spec/cassettes/BookingSync_API_Client_Payments/_payments/returns_payments.yml +64 -0
  72. data/spec/cassettes/BookingSync_API_Client_Periods/_create_period/creates_a_new_period.yml +63 -0
  73. data/spec/cassettes/BookingSync_API_Client_Periods/_delete_period/deletes_given_period.yml +70 -0
  74. data/spec/cassettes/BookingSync_API_Client_Periods/_edit_period/updates_given_period_by_ID.yml +61 -0
  75. data/spec/cassettes/BookingSync_API_Client_Periods/_periods/returns_periods.yml +64 -0
  76. data/spec/cassettes/BookingSync_API_Client_Photos/_photos/returns_photos.yml +72 -0
  77. data/spec/cassettes/BookingSync_API_Client_Rates/_rates/returns_rates.yml +64 -0
  78. data/spec/cassettes/BookingSync_API_Client_RatesRules/_rates_rules/returns_rates_rules.yml +64 -0
  79. data/spec/cassettes/BookingSync_API_Client_RatesTables/_create_rates_table/creates_a_new_rates_table.yml +64 -0
  80. data/spec/cassettes/BookingSync_API_Client_RatesTables/_delete_rates_table/deletes_given_rates_table.yml +57 -0
  81. data/spec/cassettes/BookingSync_API_Client_RatesTables/_edit_rates_table/updates_given_rates_table_by_ID.yml +62 -0
  82. data/spec/cassettes/BookingSync_API_Client_RatesTables/_rates_tables/returns_rates_tables.yml +74 -0
  83. data/spec/cassettes/BookingSync_API_Client_RentalAgreements/_create_rental_agreement/creates_a_new_rental_agreement.yml +63 -0
  84. data/spec/cassettes/BookingSync_API_Client_RentalAgreements/_create_rental_agreement_for_booking/creates_a_new_rental_agreement.yml +63 -0
  85. data/spec/cassettes/BookingSync_API_Client_RentalAgreements/_create_rental_agreement_for_rental/creates_a_new_rental_agreement.yml +63 -0
  86. data/spec/cassettes/BookingSync_API_Client_RentalAgreements/_rental_agreements/returns_rental_agreements.yml +64 -0
  87. data/spec/cassettes/BookingSync_API_Client_Rentals/_cancel_rental/cancels_given_rental.yml +57 -0
  88. data/spec/cassettes/BookingSync_API_Client_Rentals/_create_rental/creates_a_new_rental.yml +64 -0
  89. data/spec/cassettes/BookingSync_API_Client_Rentals/_edit_rental/updates_given_rental_by_ID.yml +64 -0
  90. data/spec/cassettes/BookingSync_API_Client_Rentals/_rental/returns_a_single_rental.yml +67 -0
  91. data/spec/cassettes/BookingSync_API_Client_Rentals/_rentals/links/returns_associated_photos.yml +152 -0
  92. data/spec/cassettes/BookingSync_API_Client_Rentals/_rentals/links/returns_links_to_associated_resources.yml +91 -0
  93. data/spec/cassettes/BookingSync_API_Client_Rentals/_rentals/returns_rentals.yml +45 -20
  94. data/spec/cassettes/BookingSync_API_Client_Reviews/_create_review/creates_a_new_review.yml +64 -0
  95. data/spec/cassettes/BookingSync_API_Client_Reviews/_reviews/returns_reviews.yml +83 -0
  96. data/spec/cassettes/BookingSync_API_Client_Seasons/_create_season/creates_a_new_season.yml +64 -0
  97. data/spec/cassettes/BookingSync_API_Client_Seasons/_delete_season/deletes_given_season.yml +57 -0
  98. data/spec/cassettes/BookingSync_API_Client_Seasons/_edit_season/updates_given_season_by_ID.yml +62 -0
  99. data/spec/cassettes/BookingSync_API_Client_Seasons/_seasons/returns_seasons.yml +74 -0
  100. data/spec/cassettes/BookingSync_API_Client_SpecialOffers/_create_special_offer/creates_a_new_special_offer.yml +63 -0
  101. data/spec/cassettes/BookingSync_API_Client_SpecialOffers/_delete_special_offer/deletes_given_special_offer.yml +57 -0
  102. data/spec/cassettes/BookingSync_API_Client_SpecialOffers/_edit_special_offer/updates_given_special_offer_by_ID.yml +61 -0
  103. data/spec/cassettes/{BookingSync_API_Client_Rentals/_rentals/with_specified_fields_in_options/returns_rentals_with_filtered_fields.yml → BookingSync_API_Client_SpecialOffers/_special_offers/returns_special_offers.yml} +17 -10
  104. data/spec/spec_helper.rb +1 -0
  105. metadata +143 -7
  106. data/lib/bookingsync/ext/resource.rb +0 -9
@@ -0,0 +1,62 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: put
5
+ uri: https://www.bookingsync.com/api/v3/seasons/6
6
+ body:
7
+ encoding: UTF-8
8
+ string: '{"seasons":[{"name":"Updated season"}]}'
9
+ headers:
10
+ User-Agent:
11
+ - Faraday v0.9.0
12
+ Accept:
13
+ - application/vnd.api+json
14
+ Content-Type:
15
+ - application/vnd.api+json
16
+ Authorization:
17
+ - Bearer <<ACCESS_TOKEN>>
18
+ Accept-Encoding:
19
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
20
+ response:
21
+ status:
22
+ code: 200
23
+ message: OK
24
+ headers:
25
+ X-Ratelimit-Limit:
26
+ - '1000'
27
+ X-Ratelimit-Reset:
28
+ - '1398427200'
29
+ X-Ratelimit-Remaining:
30
+ - '982'
31
+ Access-Control-Allow-Origin:
32
+ - "*"
33
+ Access-Control-Request-Method:
34
+ - "*"
35
+ Content-Type:
36
+ - application/vnd.api+json; charset=utf-8
37
+ X-Ua-Compatible:
38
+ - IE=Edge
39
+ Etag:
40
+ - '"419435fd550ebb9e310597d68e3285fa"'
41
+ Cache-Control:
42
+ - max-age=0, private, must-revalidate
43
+ P3p:
44
+ - CP="OTI DSP COR CUR ADMo DEVo TAI PSAi PSDi IVAi IVDi CONi HISi TELi OTPi
45
+ OUR SAMi OTRo UNRo PUBi IND UNI STA"
46
+ Set-Cookie:
47
+ - _BookingSync_session=caff98271c97ce07e91a0001fb4555d4; path=/; secure; HttpOnly
48
+ X-Request-Id:
49
+ - 13fd879913a9d766222754b1c5dc4f31
50
+ X-Runtime:
51
+ - '0.754643'
52
+ Date:
53
+ - Fri, 25 Apr 2014 11:31:51 GMT
54
+ Connection:
55
+ - close
56
+ body:
57
+ encoding: UTF-8
58
+ string: '{"links":{"seasons.rates_rules":"https://www.bookingsync.com/api/v3/rates_rules/{seasons.rates_rules}","seasons.periods":"https://www.bookingsync.com/api/v3/periods/{seasons.periods}"},"seasons":[{"links":{"rates_rules":[],"periods":[6]},"id":6,"rates_table_id":11,"name":"Updated
59
+ season","ratio":"1.0","minimum_stay":7,"color_ratio":"1.0","created_at":"2014-04-14T13:19:05Z","updated_at":"2014-04-25T11:31:50Z"}]}'
60
+ http_version:
61
+ recorded_at: Fri, 25 Apr 2014 11:31:51 GMT
62
+ recorded_with: VCR 2.9.0
@@ -0,0 +1,74 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://www.bookingsync.com/api/v3/seasons
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ User-Agent:
11
+ - Faraday v0.9.0
12
+ Accept:
13
+ - application/vnd.api+json
14
+ Content-Type:
15
+ - application/vnd.api+json
16
+ Authorization:
17
+ - Bearer <<ACCESS_TOKEN>>
18
+ Accept-Encoding:
19
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
20
+ response:
21
+ status:
22
+ code: 200
23
+ message: OK
24
+ headers:
25
+ X-Ratelimit-Limit:
26
+ - '1000'
27
+ X-Ratelimit-Reset:
28
+ - '1397649600'
29
+ X-Ratelimit-Remaining:
30
+ - '996'
31
+ Link:
32
+ - "<https://www.bookingsync.com/api/v3/seasons?page=1>; rel=\"first\", <https://www.bookingsync.com/api/v3/seasons?page=1>;
33
+ rel=\"last\""
34
+ X-Total-Pages:
35
+ - '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
44
+ Etag:
45
+ - "\"316d9fc100a492274816c98efa4ad739\""
46
+ Cache-Control:
47
+ - max-age=0, private, must-revalidate
48
+ P3p:
49
+ - CP="OTI DSP COR CUR ADMo DEVo TAI PSAi PSDi IVAi IVDi CONi HISi TELi OTPi
50
+ OUR SAMi OTRo UNRo PUBi IND UNI STA"
51
+ X-Request-Id:
52
+ - d5355a60d438f47414396f2cbb57b026
53
+ X-Runtime:
54
+ - '0.234326'
55
+ Date:
56
+ - Wed, 16 Apr 2014 11:59:10 GMT
57
+ Connection:
58
+ - close
59
+ body:
60
+ encoding: UTF-8
61
+ string: "{\"links\":{\"seasons.rates_rules\":\"https://www.bookingsync.com/api/v3/rates_rules/{seasons.rates_rules}\",\"seasons.periods\":\"https://www.bookingsync.com/api/v3/periods/{seasons.periods}\"},\"seasons\":[{\"links\":{\"rates_rules\":[],\"periods\":[1]},\"id\":1,\"rates_table_id\":1,\"name\":\"Season
62
+ 1\",\"ratio\":\"1.0\",\"minimum_stay\":7,\"color_ratio\":\"1.0\",\"created_at\":\"2014-04-14T13:18:39Z\",\"updated_at\":\"2014-04-14T13:18:39Z\"},{\"links\":{\"rates_rules\":[],\"periods\":[2]},\"id\":2,\"rates_table_id\":3,\"name\":\"Season
63
+ 2\",\"ratio\":\"1.0\",\"minimum_stay\":7,\"color_ratio\":\"1.0\",\"created_at\":\"2014-04-14T13:18:44Z\",\"updated_at\":\"2014-04-14T13:18:44Z\"},{\"links\":{\"rates_rules\":[],\"periods\":[3]},\"id\":3,\"rates_table_id\":5,\"name\":\"Season
64
+ 3\",\"ratio\":\"1.0\",\"minimum_stay\":7,\"color_ratio\":\"1.0\",\"created_at\":\"2014-04-14T13:18:50Z\",\"updated_at\":\"2014-04-14T13:18:50Z\"},{\"links\":{\"rates_rules\":[],\"periods\":[4]},\"id\":4,\"rates_table_id\":7,\"name\":\"Season
65
+ 4\",\"ratio\":\"1.0\",\"minimum_stay\":7,\"color_ratio\":\"1.0\",\"created_at\":\"2014-04-14T13:18:55Z\",\"updated_at\":\"2014-04-14T13:18:55Z\"},{\"links\":{\"rates_rules\":[],\"periods\":[5]},\"id\":5,\"rates_table_id\":9,\"name\":\"Season
66
+ 5\",\"ratio\":\"1.0\",\"minimum_stay\":7,\"color_ratio\":\"1.0\",\"created_at\":\"2014-04-14T13:19:00Z\",\"updated_at\":\"2014-04-14T13:19:00Z\"},{\"links\":{\"rates_rules\":[],\"periods\":[6]},\"id\":6,\"rates_table_id\":11,\"name\":\"Season
67
+ 6\",\"ratio\":\"1.0\",\"minimum_stay\":7,\"color_ratio\":\"1.0\",\"created_at\":\"2014-04-14T13:19:05Z\",\"updated_at\":\"2014-04-14T13:19:05Z\"},{\"links\":{\"rates_rules\":[],\"periods\":[7]},\"id\":7,\"rates_table_id\":13,\"name\":\"Season
68
+ 7\",\"ratio\":\"1.0\",\"minimum_stay\":7,\"color_ratio\":\"1.0\",\"created_at\":\"2014-04-14T13:19:10Z\",\"updated_at\":\"2014-04-14T13:19:10Z\"},{\"links\":{\"rates_rules\":[],\"periods\":[8]},\"id\":8,\"rates_table_id\":15,\"name\":\"Season
69
+ 8\",\"ratio\":\"1.0\",\"minimum_stay\":7,\"color_ratio\":\"1.0\",\"created_at\":\"2014-04-14T13:19:15Z\",\"updated_at\":\"2014-04-14T13:19:16Z\"},{\"links\":{\"rates_rules\":[],\"periods\":[9]},\"id\":9,\"rates_table_id\":17,\"name\":\"Season
70
+ 9\",\"ratio\":\"1.0\",\"minimum_stay\":7,\"color_ratio\":\"1.0\",\"created_at\":\"2014-04-14T13:19:21Z\",\"updated_at\":\"2014-04-14T13:19:21Z\"},{\"links\":{\"rates_rules\":[],\"periods\":[10]},\"id\":10,\"rates_table_id\":19,\"name\":\"Season
71
+ 10\",\"ratio\":\"1.0\",\"minimum_stay\":7,\"color_ratio\":\"1.0\",\"created_at\":\"2014-04-14T13:19:26Z\",\"updated_at\":\"2014-04-14T13:19:26Z\"}]}"
72
+ http_version:
73
+ recorded_at: Wed, 16 Apr 2014 11:59:10 GMT
74
+ recorded_with: VCR 2.9.0
@@ -0,0 +1,63 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://www.bookingsync.com/api/v3/special_offers
6
+ body:
7
+ encoding: UTF-8
8
+ string: '{"rental_id":12,"special_offers":[{"name":"New special offer","start_at":"2014-04-28","end_at":"2014-05-28","discount":5}]}'
9
+ headers:
10
+ User-Agent:
11
+ - Faraday v0.9.0
12
+ Accept:
13
+ - application/vnd.api+json
14
+ Content-Type:
15
+ - application/vnd.api+json
16
+ Authorization:
17
+ - Bearer <<ACCESS_TOKEN>>
18
+ Accept-Encoding:
19
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
20
+ response:
21
+ status:
22
+ code: 201
23
+ message: Created
24
+ headers:
25
+ X-Ratelimit-Limit:
26
+ - '1000'
27
+ X-Ratelimit-Reset:
28
+ - '1398430800'
29
+ X-Ratelimit-Remaining:
30
+ - '999'
31
+ Location:
32
+ - https://www.bookingsync.com/api/v3/special_offers/2
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
41
+ Etag:
42
+ - '"a1c8e3a7e004656199b477e2bde9a360"'
43
+ Cache-Control:
44
+ - max-age=0, private, must-revalidate
45
+ P3p:
46
+ - CP="OTI DSP COR CUR ADMo DEVo TAI PSAi PSDi IVAi IVDi CONi HISi TELi OTPi
47
+ OUR SAMi OTRo UNRo PUBi IND UNI STA"
48
+ Set-Cookie:
49
+ - _BookingSync_session=4e2353fc302f5cb291a36032bc63150f; path=/; secure; HttpOnly
50
+ X-Request-Id:
51
+ - 2b6f009f0b6c5878aad6e5bc16f6102a
52
+ X-Runtime:
53
+ - '1.548797'
54
+ Date:
55
+ - Fri, 25 Apr 2014 12:38:24 GMT
56
+ Connection:
57
+ - close
58
+ body:
59
+ encoding: UTF-8
60
+ string: '{"special_offers":[{"id":2,"rental_id":12,"name":"New special offer","start_at":"2014-04-28","end_at":"2014-05-28","discount":5}]}'
61
+ http_version:
62
+ recorded_at: Fri, 25 Apr 2014 12:38:24 GMT
63
+ recorded_with: VCR 2.9.0
@@ -0,0 +1,57 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: delete
5
+ uri: https://www.bookingsync.com/api/v3/special_offers/4
6
+ body:
7
+ encoding: UTF-8
8
+ string: "{}"
9
+ headers:
10
+ User-Agent:
11
+ - Faraday v0.9.0
12
+ Accept:
13
+ - application/vnd.api+json
14
+ Content-Type:
15
+ - application/vnd.api+json
16
+ Authorization:
17
+ - Bearer <<ACCESS_TOKEN>>
18
+ Accept-Encoding:
19
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
20
+ response:
21
+ status:
22
+ code: 204
23
+ message: No Content
24
+ headers:
25
+ X-Ratelimit-Limit:
26
+ - '1000'
27
+ X-Ratelimit-Reset:
28
+ - '1398430800'
29
+ X-Ratelimit-Remaining:
30
+ - '989'
31
+ Access-Control-Allow-Origin:
32
+ - "*"
33
+ Access-Control-Request-Method:
34
+ - "*"
35
+ X-Ua-Compatible:
36
+ - IE=Edge
37
+ Cache-Control:
38
+ - no-cache
39
+ P3p:
40
+ - CP="OTI DSP COR CUR ADMo DEVo TAI PSAi PSDi IVAi IVDi CONi HISi TELi OTPi
41
+ OUR SAMi OTRo UNRo PUBi IND UNI STA"
42
+ Set-Cookie:
43
+ - _BookingSync_session=3d9ce62d1fc73f733d6170dcd816418a; path=/; secure; HttpOnly
44
+ X-Request-Id:
45
+ - abc5bb865d2701fb9f92323f24158792
46
+ X-Runtime:
47
+ - '0.109782'
48
+ Date:
49
+ - Fri, 25 Apr 2014 12:51:30 GMT
50
+ Connection:
51
+ - close
52
+ body:
53
+ encoding: UTF-8
54
+ string: ''
55
+ http_version:
56
+ recorded_at: Fri, 25 Apr 2014 12:51:30 GMT
57
+ recorded_with: VCR 2.9.0
@@ -0,0 +1,61 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: put
5
+ uri: https://www.bookingsync.com/api/v3/special_offers/3
6
+ body:
7
+ encoding: UTF-8
8
+ string: '{"special_offers":[{"name":"Updated special offer"}]}'
9
+ headers:
10
+ User-Agent:
11
+ - Faraday v0.9.0
12
+ Accept:
13
+ - application/vnd.api+json
14
+ Content-Type:
15
+ - application/vnd.api+json
16
+ Authorization:
17
+ - Bearer <<ACCESS_TOKEN>>
18
+ Accept-Encoding:
19
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
20
+ response:
21
+ status:
22
+ code: 200
23
+ message: OK
24
+ headers:
25
+ X-Ratelimit-Limit:
26
+ - '1000'
27
+ X-Ratelimit-Reset:
28
+ - '1398430800'
29
+ X-Ratelimit-Remaining:
30
+ - '992'
31
+ Access-Control-Allow-Origin:
32
+ - "*"
33
+ Access-Control-Request-Method:
34
+ - "*"
35
+ Content-Type:
36
+ - application/vnd.api+json; charset=utf-8
37
+ X-Ua-Compatible:
38
+ - IE=Edge
39
+ Etag:
40
+ - '"f111bd4b8967773b0108dc1a81d0769d"'
41
+ Cache-Control:
42
+ - max-age=0, private, must-revalidate
43
+ P3p:
44
+ - CP="OTI DSP COR CUR ADMo DEVo TAI PSAi PSDi IVAi IVDi CONi HISi TELi OTPi
45
+ OUR SAMi OTRo UNRo PUBi IND UNI STA"
46
+ Set-Cookie:
47
+ - _BookingSync_session=202701ff9f9dbc70fc38d2f9380e7bc7; path=/; secure; HttpOnly
48
+ X-Request-Id:
49
+ - ac6a6d673ddfd42e006887140746489d
50
+ X-Runtime:
51
+ - '0.043156'
52
+ Date:
53
+ - Fri, 25 Apr 2014 12:46:44 GMT
54
+ Connection:
55
+ - close
56
+ body:
57
+ encoding: UTF-8
58
+ string: '{"special_offers":[{"id":3,"rental_id":12,"name":"Updated special offer","start_at":"2014-05-01","end_at":"2014-05-02","discount":4}]}'
59
+ http_version:
60
+ recorded_at: Fri, 25 Apr 2014 12:46:44 GMT
61
+ recorded_with: VCR 2.9.0
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: https://www.bookingsync.com/api/v3/rentals?fields=name
5
+ uri: https://www.bookingsync.com/api/v3/special_offers
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -11,6 +11,8 @@ http_interactions:
11
11
  - Faraday v0.9.0
12
12
  Accept:
13
13
  - application/vnd.api+json
14
+ Content-Type:
15
+ - application/vnd.api+json
14
16
  Authorization:
15
17
  - Bearer <<ACCESS_TOKEN>>
16
18
  Accept-Encoding:
@@ -23,9 +25,14 @@ http_interactions:
23
25
  X-Ratelimit-Limit:
24
26
  - '1000'
25
27
  X-Ratelimit-Reset:
26
- - '1394208000'
28
+ - '1399327200'
27
29
  X-Ratelimit-Remaining:
28
- - '991'
30
+ - '997'
31
+ Link:
32
+ - <https://www.bookingsync.com/api/v3/special_offers?page=1>; rel="first", <https://www.bookingsync.com/api/v3/special_offers?page=1>;
33
+ rel="last"
34
+ X-Total-Pages:
35
+ - '1'
29
36
  Access-Control-Allow-Origin:
30
37
  - "*"
31
38
  Access-Control-Request-Method:
@@ -35,23 +42,23 @@ http_interactions:
35
42
  X-Ua-Compatible:
36
43
  - IE=Edge
37
44
  Etag:
38
- - "\"8bd58448e878aa40ad4737a54ea875a1\""
45
+ - '"3373a101e5314237c05c3b54f6824cda"'
39
46
  Cache-Control:
40
47
  - max-age=0, private, must-revalidate
41
48
  P3p:
42
49
  - CP="OTI DSP COR CUR ADMo DEVo TAI PSAi PSDi IVAi IVDi CONi HISi TELi OTPi
43
50
  OUR SAMi OTRo UNRo PUBi IND UNI STA"
44
51
  X-Request-Id:
45
- - d307cea3bd765e0d109b268f8fa8fe3c
52
+ - 88bbe283b9f689de5677fa0a535d7205
46
53
  X-Runtime:
47
- - '0.021144'
54
+ - '1.083744'
48
55
  Date:
49
- - Fri, 07 Mar 2014 15:38:45 GMT
56
+ - Mon, 05 May 2014 21:20:38 GMT
50
57
  Connection:
51
58
  - close
52
59
  body:
53
60
  encoding: UTF-8
54
- string: "{\"rentals\":[{\"name\":\"0 est\"},{\"name\":\"1 et\"}]}"
61
+ string: '{"special_offers":[{"id":6,"rental_id":20,"name":{"en":"Monday discount"},"start_at":"2014-05-07","end_at":"2014-05-25","discount":10}]}'
55
62
  http_version:
56
- recorded_at: Fri, 07 Mar 2014 15:38:45 GMT
57
- recorded_with: VCR 2.8.0
63
+ recorded_at: Mon, 05 May 2014 21:20:39 GMT
64
+ recorded_with: VCR 2.9.0
data/spec/spec_helper.rb CHANGED
@@ -3,6 +3,7 @@ require 'bookingsync/api'
3
3
  require 'webmock/rspec'
4
4
  require 'vcr'
5
5
  require 'json'
6
+ require 'pry'
6
7
 
7
8
  RSpec.configure do |config|
8
9
  config.before do
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bookingsync-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sébastien Grosjean
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-03-30 00:00:00.000000000 Z
11
+ date: 2014-05-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -25,7 +25,7 @@ dependencies:
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0.9'
27
27
  - !ruby/object:Gem::Dependency
28
- name: sawyer
28
+ name: addressable
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - '>='
@@ -39,7 +39,7 @@ dependencies:
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
- name: json
42
+ name: hashie
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - '>='
@@ -99,29 +99,106 @@ files:
99
99
  - lib/bookingsync-api.rb
100
100
  - lib/bookingsync/api.rb
101
101
  - lib/bookingsync/api/client.rb
102
+ - lib/bookingsync/api/client/amenities.rb
103
+ - lib/bookingsync/api/client/billing_addresses.rb
102
104
  - lib/bookingsync/api/client/bookings.rb
105
+ - lib/bookingsync/api/client/bookings_payments.rb
106
+ - lib/bookingsync/api/client/clients.rb
107
+ - lib/bookingsync/api/client/destinations.rb
103
108
  - lib/bookingsync/api/client/inquiries.rb
109
+ - lib/bookingsync/api/client/payments.rb
110
+ - lib/bookingsync/api/client/periods.rb
111
+ - lib/bookingsync/api/client/photos.rb
112
+ - lib/bookingsync/api/client/rates.rb
113
+ - lib/bookingsync/api/client/rates_rules.rb
114
+ - lib/bookingsync/api/client/rates_tables.rb
115
+ - lib/bookingsync/api/client/rental_agreements.rb
104
116
  - lib/bookingsync/api/client/rentals.rb
117
+ - lib/bookingsync/api/client/reviews.rb
118
+ - lib/bookingsync/api/client/seasons.rb
119
+ - lib/bookingsync/api/client/special_offers.rb
105
120
  - lib/bookingsync/api/error.rb
106
121
  - lib/bookingsync/api/middleware/authentication.rb
122
+ - lib/bookingsync/api/relation.rb
123
+ - lib/bookingsync/api/resource.rb
124
+ - lib/bookingsync/api/response.rb
125
+ - lib/bookingsync/api/serializer.rb
107
126
  - lib/bookingsync/api/version.rb
108
- - lib/bookingsync/ext/resource.rb
127
+ - spec/bookingsync/api/client/amenities_spec.rb
128
+ - spec/bookingsync/api/client/billing_addresses_spec.rb
129
+ - spec/bookingsync/api/client/billings_payments_spec.rb
109
130
  - spec/bookingsync/api/client/bookings_spec.rb
131
+ - spec/bookingsync/api/client/clients_spec.rb
132
+ - spec/bookingsync/api/client/destinations_spec.rb
110
133
  - spec/bookingsync/api/client/inquiries_spec.rb
134
+ - spec/bookingsync/api/client/payments_spec.rb
135
+ - spec/bookingsync/api/client/periods_spec.rb
136
+ - spec/bookingsync/api/client/photos_spec.rb
137
+ - spec/bookingsync/api/client/rates_rules_spec.rb
138
+ - spec/bookingsync/api/client/rates_spec.rb
139
+ - spec/bookingsync/api/client/rates_tables_spec.rb
140
+ - spec/bookingsync/api/client/rental_agreements_spec.rb
111
141
  - spec/bookingsync/api/client/rentals_spec.rb
142
+ - spec/bookingsync/api/client/reviews_spec.rb
143
+ - spec/bookingsync/api/client/seasons_spec.rb
144
+ - spec/bookingsync/api/client/special_offers_spec.rb
112
145
  - spec/bookingsync/api/client_spec.rb
146
+ - spec/bookingsync/api/relation_spec.rb
147
+ - spec/bookingsync/api/resource_spec.rb
148
+ - spec/bookingsync/api/response_spec.rb
113
149
  - spec/bookingsync/api_spec.rb
150
+ - spec/cassettes/BookingSync_API_Client_Amenities/_amenities/returns_amenities.yml
151
+ - spec/cassettes/BookingSync_API_Client_BillingAddresses/_billing_addresses/returns_billing_addresses.yml
114
152
  - spec/cassettes/BookingSync_API_Client_Bookings/_bookings/pagination/with_a_block/yields_block_with_batch_of_bookings.yml
115
153
  - spec/cassettes/BookingSync_API_Client_Bookings/_bookings/pagination/with_auto_paginate_true/returns_all_bookings_joined_from_many_requests.yml
116
154
  - spec/cassettes/BookingSync_API_Client_Bookings/_bookings/pagination/with_per_page_setting/returns_limited_number_of_bookings.yml
117
155
  - spec/cassettes/BookingSync_API_Client_Bookings/_bookings/returns_bookings.yml
118
156
  - spec/cassettes/BookingSync_API_Client_Bookings/_cancel_booking/cancels_given_booking.yml
157
+ - spec/cassettes/BookingSync_API_Client_Bookings/_clients/returns_clients.yml
119
158
  - spec/cassettes/BookingSync_API_Client_Bookings/_create_booking/creates_a_booking.yml
159
+ - spec/cassettes/BookingSync_API_Client_Bookings/_create_client/creates_a_new_client.yml
120
160
  - spec/cassettes/BookingSync_API_Client_Bookings/_edit_booking/updates_given_booking_by_ID.yml
161
+ - spec/cassettes/BookingSync_API_Client_Bookings/_edit_client/updates_given_client_by_ID.yml
162
+ - spec/cassettes/BookingSync_API_Client_BookingsPayments/_bookings_payments/returns_bookings_payments.yml
163
+ - spec/cassettes/BookingSync_API_Client_Destinations/_destinations/returns_destinations.yml
121
164
  - spec/cassettes/BookingSync_API_Client_Inquiries/_create_inquiry/creates_a_new_inquiry.yml
122
165
  - spec/cassettes/BookingSync_API_Client_Inquiries/_inquiries/returns_inquiries.yml
166
+ - spec/cassettes/BookingSync_API_Client_Payments/_cancel_payment/cancels_given_payment.yml
167
+ - spec/cassettes/BookingSync_API_Client_Payments/_create_payment/creates_a_new_payment.yml
168
+ - spec/cassettes/BookingSync_API_Client_Payments/_edit_payment/updates_given_payment_by_ID.yml
169
+ - spec/cassettes/BookingSync_API_Client_Payments/_payments/returns_payments.yml
170
+ - spec/cassettes/BookingSync_API_Client_Periods/_create_period/creates_a_new_period.yml
171
+ - spec/cassettes/BookingSync_API_Client_Periods/_delete_period/deletes_given_period.yml
172
+ - spec/cassettes/BookingSync_API_Client_Periods/_edit_period/updates_given_period_by_ID.yml
173
+ - spec/cassettes/BookingSync_API_Client_Periods/_periods/returns_periods.yml
174
+ - spec/cassettes/BookingSync_API_Client_Photos/_photos/returns_photos.yml
175
+ - spec/cassettes/BookingSync_API_Client_Rates/_rates/returns_rates.yml
176
+ - spec/cassettes/BookingSync_API_Client_RatesRules/_rates_rules/returns_rates_rules.yml
177
+ - spec/cassettes/BookingSync_API_Client_RatesTables/_create_rates_table/creates_a_new_rates_table.yml
178
+ - spec/cassettes/BookingSync_API_Client_RatesTables/_delete_rates_table/deletes_given_rates_table.yml
179
+ - spec/cassettes/BookingSync_API_Client_RatesTables/_edit_rates_table/updates_given_rates_table_by_ID.yml
180
+ - spec/cassettes/BookingSync_API_Client_RatesTables/_rates_tables/returns_rates_tables.yml
181
+ - spec/cassettes/BookingSync_API_Client_RentalAgreements/_create_rental_agreement/creates_a_new_rental_agreement.yml
182
+ - spec/cassettes/BookingSync_API_Client_RentalAgreements/_create_rental_agreement_for_booking/creates_a_new_rental_agreement.yml
183
+ - spec/cassettes/BookingSync_API_Client_RentalAgreements/_create_rental_agreement_for_rental/creates_a_new_rental_agreement.yml
184
+ - spec/cassettes/BookingSync_API_Client_RentalAgreements/_rental_agreements/returns_rental_agreements.yml
185
+ - spec/cassettes/BookingSync_API_Client_Rentals/_cancel_rental/cancels_given_rental.yml
186
+ - spec/cassettes/BookingSync_API_Client_Rentals/_create_rental/creates_a_new_rental.yml
187
+ - spec/cassettes/BookingSync_API_Client_Rentals/_edit_rental/updates_given_rental_by_ID.yml
188
+ - spec/cassettes/BookingSync_API_Client_Rentals/_rental/returns_a_single_rental.yml
189
+ - spec/cassettes/BookingSync_API_Client_Rentals/_rentals/links/returns_associated_photos.yml
190
+ - spec/cassettes/BookingSync_API_Client_Rentals/_rentals/links/returns_links_to_associated_resources.yml
123
191
  - spec/cassettes/BookingSync_API_Client_Rentals/_rentals/returns_rentals.yml
124
- - spec/cassettes/BookingSync_API_Client_Rentals/_rentals/with_specified_fields_in_options/returns_rentals_with_filtered_fields.yml
192
+ - spec/cassettes/BookingSync_API_Client_Reviews/_create_review/creates_a_new_review.yml
193
+ - spec/cassettes/BookingSync_API_Client_Reviews/_reviews/returns_reviews.yml
194
+ - spec/cassettes/BookingSync_API_Client_Seasons/_create_season/creates_a_new_season.yml
195
+ - spec/cassettes/BookingSync_API_Client_Seasons/_delete_season/deletes_given_season.yml
196
+ - spec/cassettes/BookingSync_API_Client_Seasons/_edit_season/updates_given_season_by_ID.yml
197
+ - spec/cassettes/BookingSync_API_Client_Seasons/_seasons/returns_seasons.yml
198
+ - spec/cassettes/BookingSync_API_Client_SpecialOffers/_create_special_offer/creates_a_new_special_offer.yml
199
+ - spec/cassettes/BookingSync_API_Client_SpecialOffers/_delete_special_offer/deletes_given_special_offer.yml
200
+ - spec/cassettes/BookingSync_API_Client_SpecialOffers/_edit_special_offer/updates_given_special_offer_by_ID.yml
201
+ - spec/cassettes/BookingSync_API_Client_SpecialOffers/_special_offers/returns_special_offers.yml
125
202
  - spec/cassettes/spec/cassettes/BookingSync_API_Client_Bookings/_create_booking/creates_a_booking_yml.yml
126
203
  - spec/spec_helper.rb
127
204
  homepage: https://github.com/BookingSync/bookingsync-api
@@ -149,22 +226,81 @@ signing_key:
149
226
  specification_version: 4
150
227
  summary: Ruby interface for accessing https://www.bookingsync.com
151
228
  test_files:
229
+ - spec/bookingsync/api/client/amenities_spec.rb
230
+ - spec/bookingsync/api/client/billing_addresses_spec.rb
231
+ - spec/bookingsync/api/client/billings_payments_spec.rb
152
232
  - spec/bookingsync/api/client/bookings_spec.rb
233
+ - spec/bookingsync/api/client/clients_spec.rb
234
+ - spec/bookingsync/api/client/destinations_spec.rb
153
235
  - spec/bookingsync/api/client/inquiries_spec.rb
236
+ - spec/bookingsync/api/client/payments_spec.rb
237
+ - spec/bookingsync/api/client/periods_spec.rb
238
+ - spec/bookingsync/api/client/photos_spec.rb
239
+ - spec/bookingsync/api/client/rates_rules_spec.rb
240
+ - spec/bookingsync/api/client/rates_spec.rb
241
+ - spec/bookingsync/api/client/rates_tables_spec.rb
242
+ - spec/bookingsync/api/client/rental_agreements_spec.rb
154
243
  - spec/bookingsync/api/client/rentals_spec.rb
244
+ - spec/bookingsync/api/client/reviews_spec.rb
245
+ - spec/bookingsync/api/client/seasons_spec.rb
246
+ - spec/bookingsync/api/client/special_offers_spec.rb
155
247
  - spec/bookingsync/api/client_spec.rb
248
+ - spec/bookingsync/api/relation_spec.rb
249
+ - spec/bookingsync/api/resource_spec.rb
250
+ - spec/bookingsync/api/response_spec.rb
156
251
  - spec/bookingsync/api_spec.rb
252
+ - spec/cassettes/BookingSync_API_Client_Amenities/_amenities/returns_amenities.yml
253
+ - spec/cassettes/BookingSync_API_Client_BillingAddresses/_billing_addresses/returns_billing_addresses.yml
157
254
  - spec/cassettes/BookingSync_API_Client_Bookings/_bookings/pagination/with_a_block/yields_block_with_batch_of_bookings.yml
158
255
  - spec/cassettes/BookingSync_API_Client_Bookings/_bookings/pagination/with_auto_paginate_true/returns_all_bookings_joined_from_many_requests.yml
159
256
  - spec/cassettes/BookingSync_API_Client_Bookings/_bookings/pagination/with_per_page_setting/returns_limited_number_of_bookings.yml
160
257
  - spec/cassettes/BookingSync_API_Client_Bookings/_bookings/returns_bookings.yml
161
258
  - spec/cassettes/BookingSync_API_Client_Bookings/_cancel_booking/cancels_given_booking.yml
259
+ - spec/cassettes/BookingSync_API_Client_Bookings/_clients/returns_clients.yml
162
260
  - spec/cassettes/BookingSync_API_Client_Bookings/_create_booking/creates_a_booking.yml
261
+ - spec/cassettes/BookingSync_API_Client_Bookings/_create_client/creates_a_new_client.yml
163
262
  - spec/cassettes/BookingSync_API_Client_Bookings/_edit_booking/updates_given_booking_by_ID.yml
263
+ - spec/cassettes/BookingSync_API_Client_Bookings/_edit_client/updates_given_client_by_ID.yml
264
+ - spec/cassettes/BookingSync_API_Client_BookingsPayments/_bookings_payments/returns_bookings_payments.yml
265
+ - spec/cassettes/BookingSync_API_Client_Destinations/_destinations/returns_destinations.yml
164
266
  - spec/cassettes/BookingSync_API_Client_Inquiries/_create_inquiry/creates_a_new_inquiry.yml
165
267
  - spec/cassettes/BookingSync_API_Client_Inquiries/_inquiries/returns_inquiries.yml
268
+ - spec/cassettes/BookingSync_API_Client_Payments/_cancel_payment/cancels_given_payment.yml
269
+ - spec/cassettes/BookingSync_API_Client_Payments/_create_payment/creates_a_new_payment.yml
270
+ - spec/cassettes/BookingSync_API_Client_Payments/_edit_payment/updates_given_payment_by_ID.yml
271
+ - spec/cassettes/BookingSync_API_Client_Payments/_payments/returns_payments.yml
272
+ - spec/cassettes/BookingSync_API_Client_Periods/_create_period/creates_a_new_period.yml
273
+ - spec/cassettes/BookingSync_API_Client_Periods/_delete_period/deletes_given_period.yml
274
+ - spec/cassettes/BookingSync_API_Client_Periods/_edit_period/updates_given_period_by_ID.yml
275
+ - spec/cassettes/BookingSync_API_Client_Periods/_periods/returns_periods.yml
276
+ - spec/cassettes/BookingSync_API_Client_Photos/_photos/returns_photos.yml
277
+ - spec/cassettes/BookingSync_API_Client_Rates/_rates/returns_rates.yml
278
+ - spec/cassettes/BookingSync_API_Client_RatesRules/_rates_rules/returns_rates_rules.yml
279
+ - spec/cassettes/BookingSync_API_Client_RatesTables/_create_rates_table/creates_a_new_rates_table.yml
280
+ - spec/cassettes/BookingSync_API_Client_RatesTables/_delete_rates_table/deletes_given_rates_table.yml
281
+ - spec/cassettes/BookingSync_API_Client_RatesTables/_edit_rates_table/updates_given_rates_table_by_ID.yml
282
+ - spec/cassettes/BookingSync_API_Client_RatesTables/_rates_tables/returns_rates_tables.yml
283
+ - spec/cassettes/BookingSync_API_Client_RentalAgreements/_create_rental_agreement/creates_a_new_rental_agreement.yml
284
+ - spec/cassettes/BookingSync_API_Client_RentalAgreements/_create_rental_agreement_for_booking/creates_a_new_rental_agreement.yml
285
+ - spec/cassettes/BookingSync_API_Client_RentalAgreements/_create_rental_agreement_for_rental/creates_a_new_rental_agreement.yml
286
+ - spec/cassettes/BookingSync_API_Client_RentalAgreements/_rental_agreements/returns_rental_agreements.yml
287
+ - spec/cassettes/BookingSync_API_Client_Rentals/_cancel_rental/cancels_given_rental.yml
288
+ - spec/cassettes/BookingSync_API_Client_Rentals/_create_rental/creates_a_new_rental.yml
289
+ - spec/cassettes/BookingSync_API_Client_Rentals/_edit_rental/updates_given_rental_by_ID.yml
290
+ - spec/cassettes/BookingSync_API_Client_Rentals/_rental/returns_a_single_rental.yml
291
+ - spec/cassettes/BookingSync_API_Client_Rentals/_rentals/links/returns_associated_photos.yml
292
+ - spec/cassettes/BookingSync_API_Client_Rentals/_rentals/links/returns_links_to_associated_resources.yml
166
293
  - spec/cassettes/BookingSync_API_Client_Rentals/_rentals/returns_rentals.yml
167
- - spec/cassettes/BookingSync_API_Client_Rentals/_rentals/with_specified_fields_in_options/returns_rentals_with_filtered_fields.yml
294
+ - spec/cassettes/BookingSync_API_Client_Reviews/_create_review/creates_a_new_review.yml
295
+ - spec/cassettes/BookingSync_API_Client_Reviews/_reviews/returns_reviews.yml
296
+ - spec/cassettes/BookingSync_API_Client_Seasons/_create_season/creates_a_new_season.yml
297
+ - spec/cassettes/BookingSync_API_Client_Seasons/_delete_season/deletes_given_season.yml
298
+ - spec/cassettes/BookingSync_API_Client_Seasons/_edit_season/updates_given_season_by_ID.yml
299
+ - spec/cassettes/BookingSync_API_Client_Seasons/_seasons/returns_seasons.yml
300
+ - spec/cassettes/BookingSync_API_Client_SpecialOffers/_create_special_offer/creates_a_new_special_offer.yml
301
+ - spec/cassettes/BookingSync_API_Client_SpecialOffers/_delete_special_offer/deletes_given_special_offer.yml
302
+ - spec/cassettes/BookingSync_API_Client_SpecialOffers/_edit_special_offer/updates_given_special_offer_by_ID.yml
303
+ - spec/cassettes/BookingSync_API_Client_SpecialOffers/_special_offers/returns_special_offers.yml
168
304
  - spec/cassettes/spec/cassettes/BookingSync_API_Client_Bookings/_create_booking/creates_a_booking_yml.yml
169
305
  - spec/spec_helper.rb
170
306
  has_rdoc: