bookingsync-api 0.0.8 → 0.0.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (93) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +1 -1
  3. data/README.md +30 -0
  4. data/lib/bookingsync/api.rb +3 -3
  5. data/lib/bookingsync/api/client.rb +22 -2
  6. data/lib/bookingsync/api/client/bookings.rb +9 -7
  7. data/lib/bookingsync/api/client/inquiries.rb +6 -4
  8. data/lib/bookingsync/api/client/payments.rb +4 -4
  9. data/lib/bookingsync/api/client/periods.rb +14 -13
  10. data/lib/bookingsync/api/client/photos.rb +53 -0
  11. data/lib/bookingsync/api/client/rates_tables.rb +5 -5
  12. data/lib/bookingsync/api/client/rental_agreements.rb +22 -19
  13. data/lib/bookingsync/api/client/rentals.rb +7 -6
  14. data/lib/bookingsync/api/client/reviews.rb +6 -5
  15. data/lib/bookingsync/api/client/seasons.rb +15 -13
  16. data/lib/bookingsync/api/client/special_offers.rb +19 -18
  17. data/lib/bookingsync/api/error.rb +18 -0
  18. data/lib/bookingsync/api/middleware/logger.rb +50 -0
  19. data/lib/bookingsync/api/version.rb +1 -1
  20. data/spec/bookingsync/api/client/bookings_spec.rb +5 -4
  21. data/spec/bookingsync/api/client/inquiries_spec.rb +4 -3
  22. data/spec/bookingsync/api/client/periods_spec.rb +9 -14
  23. data/spec/bookingsync/api/client/photos_spec.rb +58 -0
  24. data/spec/bookingsync/api/client/rental_agreements_spec.rb +10 -10
  25. data/spec/bookingsync/api/client/rentals_spec.rb +3 -3
  26. data/spec/bookingsync/api/client/reviews_spec.rb +5 -4
  27. data/spec/bookingsync/api/client/seasons_spec.rb +5 -4
  28. data/spec/bookingsync/api/client/special_offers_spec.rb +5 -4
  29. data/spec/bookingsync/api/client_spec.rb +43 -3
  30. data/spec/{cassettes → fixtures/cassettes}/BookingSync_API_Client_Amenities/_amenities/returns_amenities.yml +1 -1
  31. data/spec/{cassettes → fixtures/cassettes}/BookingSync_API_Client_BillingAddresses/_billing_addresses/returns_billing_addresses.yml +1 -1
  32. data/spec/{cassettes → fixtures/cassettes}/BookingSync_API_Client_Bookings/_bookings/pagination/with_a_block/yields_block_with_batch_of_bookings.yml +0 -0
  33. data/spec/{cassettes → fixtures/cassettes}/BookingSync_API_Client_Bookings/_bookings/pagination/with_auto_paginate_true/returns_all_bookings_joined_from_many_requests.yml +0 -0
  34. data/spec/{cassettes → fixtures/cassettes}/BookingSync_API_Client_Bookings/_bookings/pagination/with_per_page_setting/returns_limited_number_of_bookings.yml +0 -0
  35. data/spec/{cassettes → fixtures/cassettes}/BookingSync_API_Client_Bookings/_bookings/returns_bookings.yml +0 -0
  36. data/spec/{cassettes → fixtures/cassettes}/BookingSync_API_Client_Bookings/_cancel_booking/cancels_given_booking.yml +0 -0
  37. data/spec/{cassettes → fixtures/cassettes}/BookingSync_API_Client_Bookings/_clients/returns_clients.yml +0 -0
  38. data/spec/{cassettes → fixtures/cassettes}/BookingSync_API_Client_Bookings/_create_booking/creates_a_booking.yml +1 -1
  39. data/spec/{cassettes → fixtures/cassettes}/BookingSync_API_Client_Bookings/_create_client/creates_a_new_client.yml +0 -0
  40. data/spec/{cassettes → fixtures/cassettes}/BookingSync_API_Client_Bookings/_edit_booking/updates_given_booking_by_ID.yml +0 -0
  41. data/spec/{cassettes → fixtures/cassettes}/BookingSync_API_Client_Bookings/_edit_client/updates_given_client_by_ID.yml +0 -0
  42. data/spec/{cassettes → fixtures/cassettes}/BookingSync_API_Client_BookingsPayments/_bookings_payments/returns_bookings_payments.yml +1 -1
  43. data/spec/{cassettes → fixtures/cassettes}/BookingSync_API_Client_Destinations/_destinations/returns_destinations.yml +1 -1
  44. data/spec/{cassettes → fixtures/cassettes}/BookingSync_API_Client_Inquiries/_create_inquiry/creates_a_new_inquiry.yml +1 -1
  45. data/spec/{cassettes → fixtures/cassettes}/BookingSync_API_Client_Inquiries/_inquiries/returns_inquiries.yml +0 -0
  46. data/spec/{cassettes → fixtures/cassettes}/BookingSync_API_Client_Payments/_cancel_payment/cancels_given_payment.yml +1 -1
  47. data/spec/{cassettes → fixtures/cassettes}/BookingSync_API_Client_Payments/_create_payment/creates_a_new_payment.yml +1 -1
  48. data/spec/{cassettes → fixtures/cassettes}/BookingSync_API_Client_Payments/_edit_payment/updates_given_payment_by_ID.yml +1 -1
  49. data/spec/{cassettes → fixtures/cassettes}/BookingSync_API_Client_Payments/_payments/returns_payments.yml +1 -1
  50. data/spec/{cassettes → fixtures/cassettes}/BookingSync_API_Client_Periods/_create_period/creates_a_new_period.yml +2 -2
  51. data/spec/fixtures/cassettes/BookingSync_API_Client_Periods/_delete_period/deletes_given_period.yml +57 -0
  52. data/spec/{cassettes → fixtures/cassettes}/BookingSync_API_Client_Periods/_edit_period/updates_given_period_by_ID.yml +1 -1
  53. data/spec/{cassettes → fixtures/cassettes}/BookingSync_API_Client_Periods/_periods/returns_periods.yml +1 -1
  54. data/spec/fixtures/cassettes/BookingSync_API_Client_Photos/_create_photo/creates_a_photo.yml +63 -0
  55. data/spec/fixtures/cassettes/BookingSync_API_Client_Photos/_create_photo/creates_a_photo_with_encoded_photo_file.yml +63 -0
  56. data/spec/fixtures/cassettes/BookingSync_API_Client_Photos/_create_photo/creates_a_photo_with_photo_path.yml +63 -0
  57. data/spec/fixtures/cassettes/BookingSync_API_Client_Photos/_create_photo/creates_a_photo_with_remote_URL.yml +63 -0
  58. data/spec/fixtures/cassettes/BookingSync_API_Client_Photos/_delete_photo/delete_given_photo.yml +57 -0
  59. data/spec/fixtures/cassettes/BookingSync_API_Client_Photos/_edit_photo/updates_photo_s_description.yml +61 -0
  60. data/spec/fixtures/cassettes/BookingSync_API_Client_Photos/_edit_photo/updates_photo_s_image_file.yml +61 -0
  61. data/spec/{cassettes → fixtures/cassettes}/BookingSync_API_Client_Photos/_photos/returns_photos.yml +1 -1
  62. data/spec/{cassettes → fixtures/cassettes}/BookingSync_API_Client_Rates/_rates/returns_rates.yml +0 -0
  63. data/spec/{cassettes → fixtures/cassettes}/BookingSync_API_Client_RatesRules/_rates_rules/returns_rates_rules.yml +0 -0
  64. data/spec/{cassettes → fixtures/cassettes}/BookingSync_API_Client_RatesTables/_create_rates_table/creates_a_new_rates_table.yml +1 -1
  65. data/spec/{cassettes → fixtures/cassettes}/BookingSync_API_Client_RatesTables/_delete_rates_table/deletes_given_rates_table.yml +1 -1
  66. data/spec/{cassettes → fixtures/cassettes}/BookingSync_API_Client_RatesTables/_edit_rates_table/updates_given_rates_table_by_ID.yml +1 -1
  67. data/spec/{cassettes → fixtures/cassettes}/BookingSync_API_Client_RatesTables/_rates_tables/returns_rates_tables.yml +1 -1
  68. data/spec/{cassettes → fixtures/cassettes}/BookingSync_API_Client_RentalAgreements/_create_rental_agreement/creates_a_new_rental_agreement.yml +1 -1
  69. data/spec/{cassettes → fixtures/cassettes}/BookingSync_API_Client_RentalAgreements/_create_rental_agreement_for_booking/creates_a_new_rental_agreement.yml +3 -3
  70. data/spec/{cassettes → fixtures/cassettes}/BookingSync_API_Client_RentalAgreements/_create_rental_agreement_for_rental/creates_a_new_rental_agreement.yml +3 -3
  71. data/spec/{cassettes → fixtures/cassettes}/BookingSync_API_Client_RentalAgreements/_rental_agreements/returns_rental_agreements.yml +1 -1
  72. data/spec/{cassettes → fixtures/cassettes}/BookingSync_API_Client_Rentals/_create_rental/creates_a_new_rental.yml +1 -1
  73. data/spec/{cassettes/BookingSync_API_Client_Rentals/_cancel_rental/cancels_given_rental.yml → fixtures/cassettes/BookingSync_API_Client_Rentals/_delete_rental/deletes_given_rental.yml} +1 -1
  74. data/spec/{cassettes → fixtures/cassettes}/BookingSync_API_Client_Rentals/_edit_rental/updates_given_rental_by_ID.yml +1 -1
  75. data/spec/{cassettes → fixtures/cassettes}/BookingSync_API_Client_Rentals/_rental/returns_a_single_rental.yml +0 -0
  76. data/spec/{cassettes → fixtures/cassettes}/BookingSync_API_Client_Rentals/_rentals/links/returns_associated_photos.yml +0 -0
  77. data/spec/{cassettes → fixtures/cassettes}/BookingSync_API_Client_Rentals/_rentals/links/returns_links_to_associated_resources.yml +0 -0
  78. data/spec/{cassettes → fixtures/cassettes}/BookingSync_API_Client_Rentals/_rentals/returns_rentals.yml +1 -1
  79. data/spec/{cassettes → fixtures/cassettes}/BookingSync_API_Client_Reviews/_create_review/creates_a_new_review.yml +3 -3
  80. data/spec/{cassettes → fixtures/cassettes}/BookingSync_API_Client_Reviews/_reviews/returns_reviews.yml +1 -1
  81. data/spec/{cassettes → fixtures/cassettes}/BookingSync_API_Client_Seasons/_create_season/creates_a_new_season.yml +3 -3
  82. data/spec/{cassettes → fixtures/cassettes}/BookingSync_API_Client_Seasons/_delete_season/deletes_given_season.yml +1 -1
  83. data/spec/{cassettes → fixtures/cassettes}/BookingSync_API_Client_Seasons/_edit_season/updates_given_season_by_ID.yml +1 -1
  84. data/spec/{cassettes → fixtures/cassettes}/BookingSync_API_Client_Seasons/_seasons/returns_seasons.yml +1 -1
  85. data/spec/{cassettes → fixtures/cassettes}/BookingSync_API_Client_SpecialOffers/_create_special_offer/creates_a_new_special_offer.yml +2 -2
  86. data/spec/{cassettes → fixtures/cassettes}/BookingSync_API_Client_SpecialOffers/_delete_special_offer/deletes_given_special_offer.yml +1 -1
  87. data/spec/{cassettes → fixtures/cassettes}/BookingSync_API_Client_SpecialOffers/_edit_special_offer/updates_given_special_offer_by_ID.yml +1 -1
  88. data/spec/{cassettes → fixtures/cassettes}/BookingSync_API_Client_SpecialOffers/_special_offers/returns_special_offers.yml +0 -0
  89. data/spec/{cassettes → fixtures/cassettes}/spec/cassettes/BookingSync_API_Client_Bookings/_create_booking/creates_a_booking_yml.yml +0 -0
  90. data/spec/fixtures/files/test.jpg +0 -0
  91. data/spec/spec_helper.rb +1 -1
  92. metadata +141 -124
  93. data/spec/cassettes/BookingSync_API_Client_Periods/_delete_period/deletes_given_period.yml +0 -70
@@ -86,6 +86,6 @@ http_interactions:
86
86
  deleniti\",\"headline\":{\"en\":\"Super Headline\"},\"summary\":{\"en\":\"Super
87
87
  summary\"},\"description\":{\"en\":\"Complete description\"},\"rental_type\":\"villa\",\"units\":1,\"bedrooms_count\":null,\"sleeps\":7,\"sleeps_max\":null,\"bathrooms_count\":3,\"surface\":120,\"bookable_online\":false,\"min_price\":700,\"max_price\":700,\"price_kind\":\"weekly\",\"currency\":\"EUR\",\"rates_public_notes\":{\"en\":null},\"lat\":45.02,\"lng\":6.6,\"city\":\"Nevache\",\"state\":null,\"country\":\"France\",\"contact_name\":\"Contact
88
88
  Fullname\",\"amenities\":[],\"reviews_count\":0,\"reviews_average_rating\":null,\"updated_at\":\"2014-04-23T08:30:35Z\",\"checkin_time\":16,\"checkout_time\":10}]}"
89
- http_version:
89
+ http_version:
90
90
  recorded_at: Wed, 23 Apr 2014 14:06:44 GMT
91
91
  recorded_with: VCR 2.9.0
@@ -2,10 +2,10 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: post
5
- uri: https://www.bookingsync.com/api/v3/reviews
5
+ uri: https://www.bookingsync.com/api/v3/bookings/1/reviews
6
6
  body:
7
7
  encoding: UTF-8
8
- string: '{"booking_id":1,"reviews":[{"comment":"Awesome place","rating":5}]}'
8
+ string: '{"reviews":[{"comment":"Awesome place","rating":5}]}'
9
9
  headers:
10
10
  User-Agent:
11
11
  - Faraday v0.9.0
@@ -59,6 +59,6 @@ http_interactions:
59
59
  encoding: UTF-8
60
60
  string: '{"reviews":[{"id":3,"rating":5,"comment":"Awesome place","name":"Palma
61
61
  S.","updated_at":"2014-04-25T10:25:34Z"}]}'
62
- http_version:
62
+ http_version:
63
63
  recorded_at: Fri, 25 Apr 2014 10:25:34 GMT
64
64
  recorded_with: VCR 2.9.0
@@ -78,6 +78,6 @@ http_interactions:
78
78
  was happy to stay here!","name":"Angelo","updated_at":"2013-08-20T12:54:45Z"},{"id":69,"rating":5,"comment":null,"name":"Angelo","updated_at":"2013-08-20T12:55:32Z"},{"id":175,"rating":5,"comment":null,"name":"Thomas
79
79
  L.","updated_at":"2014-04-01T07:32:12Z"},{"id":176,"rating":5,"comment":null,"name":"Thomas
80
80
  L.","updated_at":"2014-04-01T09:39:30Z"}]}'
81
- http_version:
81
+ http_version:
82
82
  recorded_at: Tue, 08 Apr 2014 13:34:55 GMT
83
83
  recorded_with: VCR 2.9.0
@@ -2,10 +2,10 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: post
5
- uri: https://www.bookingsync.com/api/v3/seasons
5
+ uri: https://www.bookingsync.com/api/v3/rates_tables/13/seasons
6
6
  body:
7
7
  encoding: UTF-8
8
- string: '{"rates_table_id":13,"seasons":[{"name":"New season","ratio":0.2,"minimum_stay":4}]}'
8
+ string: '{"seasons":[{"name":"New season","ratio":0.2,"minimum_stay":4}]}'
9
9
  headers:
10
10
  User-Agent:
11
11
  - Faraday v0.9.0
@@ -59,6 +59,6 @@ http_interactions:
59
59
  encoding: UTF-8
60
60
  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":[]},"id":24,"rates_table_id":13,"name":"New
61
61
  season","ratio":"0.2","minimum_stay":4,"color_ratio":"1.0","created_at":"2014-04-25T11:41:19Z","updated_at":"2014-04-25T11:41:19Z"}]}'
62
- http_version:
62
+ http_version:
63
63
  recorded_at: Fri, 25 Apr 2014 11:41:19 GMT
64
64
  recorded_with: VCR 2.9.0
@@ -52,6 +52,6 @@ http_interactions:
52
52
  body:
53
53
  encoding: UTF-8
54
54
  string: ''
55
- http_version:
55
+ http_version:
56
56
  recorded_at: Fri, 25 Apr 2014 11:18:43 GMT
57
57
  recorded_with: VCR 2.9.0
@@ -57,6 +57,6 @@ http_interactions:
57
57
  encoding: UTF-8
58
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
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:
60
+ http_version:
61
61
  recorded_at: Fri, 25 Apr 2014 11:31:51 GMT
62
62
  recorded_with: VCR 2.9.0
@@ -69,6 +69,6 @@ http_interactions:
69
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
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
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:
72
+ http_version:
73
73
  recorded_at: Wed, 16 Apr 2014 11:59:10 GMT
74
74
  recorded_with: VCR 2.9.0
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: post
5
- uri: https://www.bookingsync.com/api/v3/special_offers
5
+ uri: https://www.bookingsync.com/api/v3/rentals/12/special_offers
6
6
  body:
7
7
  encoding: UTF-8
8
8
  string: '{"rental_id":12,"special_offers":[{"name":"New special offer","start_at":"2014-04-28","end_at":"2014-05-28","discount":5}]}'
@@ -58,6 +58,6 @@ http_interactions:
58
58
  body:
59
59
  encoding: UTF-8
60
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:
61
+ http_version:
62
62
  recorded_at: Fri, 25 Apr 2014 12:38:24 GMT
63
63
  recorded_with: VCR 2.9.0
@@ -52,6 +52,6 @@ http_interactions:
52
52
  body:
53
53
  encoding: UTF-8
54
54
  string: ''
55
- http_version:
55
+ http_version:
56
56
  recorded_at: Fri, 25 Apr 2014 12:51:30 GMT
57
57
  recorded_with: VCR 2.9.0
@@ -56,6 +56,6 @@ http_interactions:
56
56
  body:
57
57
  encoding: UTF-8
58
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:
59
+ http_version:
60
60
  recorded_at: Fri, 25 Apr 2014 12:46:44 GMT
61
61
  recorded_with: VCR 2.9.0
Binary file
data/spec/spec_helper.rb CHANGED
@@ -13,7 +13,7 @@ RSpec.configure do |config|
13
13
  end
14
14
 
15
15
  VCR.configure do |c|
16
- c.cassette_library_dir = "spec/cassettes"
16
+ c.cassette_library_dir = "spec/fixtures/cassettes"
17
17
  c.hook_into :webmock
18
18
  c.configure_rspec_metadata!
19
19
  c.filter_sensitive_data("<<ACCESS_TOKEN>>") do
metadata CHANGED
@@ -1,83 +1,83 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bookingsync-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
4
+ version: 0.0.9
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-05-09 00:00:00.000000000 Z
11
+ date: 2014-05-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
19
  version: '0.9'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ~>
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0.9'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: addressable
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - '>='
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - '>='
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: hashie
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - '>='
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
47
  version: '0'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - '>='
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: bundler
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ~>
59
+ - - "~>"
60
60
  - !ruby/object:Gem::Version
61
61
  version: '1.5'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - ~>
66
+ - - "~>"
67
67
  - !ruby/object:Gem::Version
68
68
  version: '1.5'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: rake
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - '>='
73
+ - - ">="
74
74
  - !ruby/object:Gem::Version
75
75
  version: '0'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - '>='
80
+ - - ">="
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
83
  description: This gem allows to interact with the BookingSync API via Ruby objects
@@ -87,9 +87,9 @@ executables: []
87
87
  extensions: []
88
88
  extra_rdoc_files: []
89
89
  files:
90
- - .gitignore
91
- - .rspec
92
- - .travis.yml
90
+ - ".gitignore"
91
+ - ".rspec"
92
+ - ".travis.yml"
93
93
  - Gemfile
94
94
  - Guardfile
95
95
  - LICENSE.txt
@@ -119,6 +119,7 @@ files:
119
119
  - lib/bookingsync/api/client/special_offers.rb
120
120
  - lib/bookingsync/api/error.rb
121
121
  - lib/bookingsync/api/middleware/authentication.rb
122
+ - lib/bookingsync/api/middleware/logger.rb
122
123
  - lib/bookingsync/api/relation.rb
123
124
  - lib/bookingsync/api/resource.rb
124
125
  - lib/bookingsync/api/response.rb
@@ -147,59 +148,67 @@ files:
147
148
  - spec/bookingsync/api/resource_spec.rb
148
149
  - spec/bookingsync/api/response_spec.rb
149
150
  - 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
152
- - spec/cassettes/BookingSync_API_Client_Bookings/_bookings/pagination/with_a_block/yields_block_with_batch_of_bookings.yml
153
- - spec/cassettes/BookingSync_API_Client_Bookings/_bookings/pagination/with_auto_paginate_true/returns_all_bookings_joined_from_many_requests.yml
154
- - spec/cassettes/BookingSync_API_Client_Bookings/_bookings/pagination/with_per_page_setting/returns_limited_number_of_bookings.yml
155
- - spec/cassettes/BookingSync_API_Client_Bookings/_bookings/returns_bookings.yml
156
- - spec/cassettes/BookingSync_API_Client_Bookings/_cancel_booking/cancels_given_booking.yml
157
- - spec/cassettes/BookingSync_API_Client_Bookings/_clients/returns_clients.yml
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
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
164
- - spec/cassettes/BookingSync_API_Client_Inquiries/_create_inquiry/creates_a_new_inquiry.yml
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
191
- - spec/cassettes/BookingSync_API_Client_Rentals/_rentals/returns_rentals.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
202
- - spec/cassettes/spec/cassettes/BookingSync_API_Client_Bookings/_create_booking/creates_a_booking_yml.yml
151
+ - spec/fixtures/cassettes/BookingSync_API_Client_Amenities/_amenities/returns_amenities.yml
152
+ - spec/fixtures/cassettes/BookingSync_API_Client_BillingAddresses/_billing_addresses/returns_billing_addresses.yml
153
+ - spec/fixtures/cassettes/BookingSync_API_Client_Bookings/_bookings/pagination/with_a_block/yields_block_with_batch_of_bookings.yml
154
+ - spec/fixtures/cassettes/BookingSync_API_Client_Bookings/_bookings/pagination/with_auto_paginate_true/returns_all_bookings_joined_from_many_requests.yml
155
+ - spec/fixtures/cassettes/BookingSync_API_Client_Bookings/_bookings/pagination/with_per_page_setting/returns_limited_number_of_bookings.yml
156
+ - spec/fixtures/cassettes/BookingSync_API_Client_Bookings/_bookings/returns_bookings.yml
157
+ - spec/fixtures/cassettes/BookingSync_API_Client_Bookings/_cancel_booking/cancels_given_booking.yml
158
+ - spec/fixtures/cassettes/BookingSync_API_Client_Bookings/_clients/returns_clients.yml
159
+ - spec/fixtures/cassettes/BookingSync_API_Client_Bookings/_create_booking/creates_a_booking.yml
160
+ - spec/fixtures/cassettes/BookingSync_API_Client_Bookings/_create_client/creates_a_new_client.yml
161
+ - spec/fixtures/cassettes/BookingSync_API_Client_Bookings/_edit_booking/updates_given_booking_by_ID.yml
162
+ - spec/fixtures/cassettes/BookingSync_API_Client_Bookings/_edit_client/updates_given_client_by_ID.yml
163
+ - spec/fixtures/cassettes/BookingSync_API_Client_BookingsPayments/_bookings_payments/returns_bookings_payments.yml
164
+ - spec/fixtures/cassettes/BookingSync_API_Client_Destinations/_destinations/returns_destinations.yml
165
+ - spec/fixtures/cassettes/BookingSync_API_Client_Inquiries/_create_inquiry/creates_a_new_inquiry.yml
166
+ - spec/fixtures/cassettes/BookingSync_API_Client_Inquiries/_inquiries/returns_inquiries.yml
167
+ - spec/fixtures/cassettes/BookingSync_API_Client_Payments/_cancel_payment/cancels_given_payment.yml
168
+ - spec/fixtures/cassettes/BookingSync_API_Client_Payments/_create_payment/creates_a_new_payment.yml
169
+ - spec/fixtures/cassettes/BookingSync_API_Client_Payments/_edit_payment/updates_given_payment_by_ID.yml
170
+ - spec/fixtures/cassettes/BookingSync_API_Client_Payments/_payments/returns_payments.yml
171
+ - spec/fixtures/cassettes/BookingSync_API_Client_Periods/_create_period/creates_a_new_period.yml
172
+ - spec/fixtures/cassettes/BookingSync_API_Client_Periods/_delete_period/deletes_given_period.yml
173
+ - spec/fixtures/cassettes/BookingSync_API_Client_Periods/_edit_period/updates_given_period_by_ID.yml
174
+ - spec/fixtures/cassettes/BookingSync_API_Client_Periods/_periods/returns_periods.yml
175
+ - spec/fixtures/cassettes/BookingSync_API_Client_Photos/_create_photo/creates_a_photo.yml
176
+ - spec/fixtures/cassettes/BookingSync_API_Client_Photos/_create_photo/creates_a_photo_with_encoded_photo_file.yml
177
+ - spec/fixtures/cassettes/BookingSync_API_Client_Photos/_create_photo/creates_a_photo_with_photo_path.yml
178
+ - spec/fixtures/cassettes/BookingSync_API_Client_Photos/_create_photo/creates_a_photo_with_remote_URL.yml
179
+ - spec/fixtures/cassettes/BookingSync_API_Client_Photos/_delete_photo/delete_given_photo.yml
180
+ - spec/fixtures/cassettes/BookingSync_API_Client_Photos/_edit_photo/updates_photo_s_description.yml
181
+ - spec/fixtures/cassettes/BookingSync_API_Client_Photos/_edit_photo/updates_photo_s_image_file.yml
182
+ - spec/fixtures/cassettes/BookingSync_API_Client_Photos/_photos/returns_photos.yml
183
+ - spec/fixtures/cassettes/BookingSync_API_Client_Rates/_rates/returns_rates.yml
184
+ - spec/fixtures/cassettes/BookingSync_API_Client_RatesRules/_rates_rules/returns_rates_rules.yml
185
+ - spec/fixtures/cassettes/BookingSync_API_Client_RatesTables/_create_rates_table/creates_a_new_rates_table.yml
186
+ - spec/fixtures/cassettes/BookingSync_API_Client_RatesTables/_delete_rates_table/deletes_given_rates_table.yml
187
+ - spec/fixtures/cassettes/BookingSync_API_Client_RatesTables/_edit_rates_table/updates_given_rates_table_by_ID.yml
188
+ - spec/fixtures/cassettes/BookingSync_API_Client_RatesTables/_rates_tables/returns_rates_tables.yml
189
+ - spec/fixtures/cassettes/BookingSync_API_Client_RentalAgreements/_create_rental_agreement/creates_a_new_rental_agreement.yml
190
+ - spec/fixtures/cassettes/BookingSync_API_Client_RentalAgreements/_create_rental_agreement_for_booking/creates_a_new_rental_agreement.yml
191
+ - spec/fixtures/cassettes/BookingSync_API_Client_RentalAgreements/_create_rental_agreement_for_rental/creates_a_new_rental_agreement.yml
192
+ - spec/fixtures/cassettes/BookingSync_API_Client_RentalAgreements/_rental_agreements/returns_rental_agreements.yml
193
+ - spec/fixtures/cassettes/BookingSync_API_Client_Rentals/_create_rental/creates_a_new_rental.yml
194
+ - spec/fixtures/cassettes/BookingSync_API_Client_Rentals/_delete_rental/deletes_given_rental.yml
195
+ - spec/fixtures/cassettes/BookingSync_API_Client_Rentals/_edit_rental/updates_given_rental_by_ID.yml
196
+ - spec/fixtures/cassettes/BookingSync_API_Client_Rentals/_rental/returns_a_single_rental.yml
197
+ - spec/fixtures/cassettes/BookingSync_API_Client_Rentals/_rentals/links/returns_associated_photos.yml
198
+ - spec/fixtures/cassettes/BookingSync_API_Client_Rentals/_rentals/links/returns_links_to_associated_resources.yml
199
+ - spec/fixtures/cassettes/BookingSync_API_Client_Rentals/_rentals/returns_rentals.yml
200
+ - spec/fixtures/cassettes/BookingSync_API_Client_Reviews/_create_review/creates_a_new_review.yml
201
+ - spec/fixtures/cassettes/BookingSync_API_Client_Reviews/_reviews/returns_reviews.yml
202
+ - spec/fixtures/cassettes/BookingSync_API_Client_Seasons/_create_season/creates_a_new_season.yml
203
+ - spec/fixtures/cassettes/BookingSync_API_Client_Seasons/_delete_season/deletes_given_season.yml
204
+ - spec/fixtures/cassettes/BookingSync_API_Client_Seasons/_edit_season/updates_given_season_by_ID.yml
205
+ - spec/fixtures/cassettes/BookingSync_API_Client_Seasons/_seasons/returns_seasons.yml
206
+ - spec/fixtures/cassettes/BookingSync_API_Client_SpecialOffers/_create_special_offer/creates_a_new_special_offer.yml
207
+ - spec/fixtures/cassettes/BookingSync_API_Client_SpecialOffers/_delete_special_offer/deletes_given_special_offer.yml
208
+ - spec/fixtures/cassettes/BookingSync_API_Client_SpecialOffers/_edit_special_offer/updates_given_special_offer_by_ID.yml
209
+ - spec/fixtures/cassettes/BookingSync_API_Client_SpecialOffers/_special_offers/returns_special_offers.yml
210
+ - spec/fixtures/cassettes/spec/cassettes/BookingSync_API_Client_Bookings/_create_booking/creates_a_booking_yml.yml
211
+ - spec/fixtures/files/test.jpg
203
212
  - spec/spec_helper.rb
204
213
  homepage: https://github.com/BookingSync/bookingsync-api
205
214
  licenses:
@@ -211,17 +220,17 @@ require_paths:
211
220
  - lib
212
221
  required_ruby_version: !ruby/object:Gem::Requirement
213
222
  requirements:
214
- - - '>='
223
+ - - ">="
215
224
  - !ruby/object:Gem::Version
216
225
  version: '0'
217
226
  required_rubygems_version: !ruby/object:Gem::Requirement
218
227
  requirements:
219
- - - '>='
228
+ - - ">="
220
229
  - !ruby/object:Gem::Version
221
230
  version: '0'
222
231
  requirements: []
223
232
  rubyforge_project:
224
- rubygems_version: 2.0.14
233
+ rubygems_version: 2.2.2
225
234
  signing_key:
226
235
  specification_version: 4
227
236
  summary: Ruby interface for accessing https://www.bookingsync.com
@@ -249,58 +258,66 @@ test_files:
249
258
  - spec/bookingsync/api/resource_spec.rb
250
259
  - spec/bookingsync/api/response_spec.rb
251
260
  - 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
254
- - spec/cassettes/BookingSync_API_Client_Bookings/_bookings/pagination/with_a_block/yields_block_with_batch_of_bookings.yml
255
- - spec/cassettes/BookingSync_API_Client_Bookings/_bookings/pagination/with_auto_paginate_true/returns_all_bookings_joined_from_many_requests.yml
256
- - spec/cassettes/BookingSync_API_Client_Bookings/_bookings/pagination/with_per_page_setting/returns_limited_number_of_bookings.yml
257
- - spec/cassettes/BookingSync_API_Client_Bookings/_bookings/returns_bookings.yml
258
- - spec/cassettes/BookingSync_API_Client_Bookings/_cancel_booking/cancels_given_booking.yml
259
- - spec/cassettes/BookingSync_API_Client_Bookings/_clients/returns_clients.yml
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
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
266
- - spec/cassettes/BookingSync_API_Client_Inquiries/_create_inquiry/creates_a_new_inquiry.yml
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
293
- - spec/cassettes/BookingSync_API_Client_Rentals/_rentals/returns_rentals.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
304
- - spec/cassettes/spec/cassettes/BookingSync_API_Client_Bookings/_create_booking/creates_a_booking_yml.yml
261
+ - spec/fixtures/cassettes/BookingSync_API_Client_Amenities/_amenities/returns_amenities.yml
262
+ - spec/fixtures/cassettes/BookingSync_API_Client_BillingAddresses/_billing_addresses/returns_billing_addresses.yml
263
+ - spec/fixtures/cassettes/BookingSync_API_Client_Bookings/_bookings/pagination/with_a_block/yields_block_with_batch_of_bookings.yml
264
+ - spec/fixtures/cassettes/BookingSync_API_Client_Bookings/_bookings/pagination/with_auto_paginate_true/returns_all_bookings_joined_from_many_requests.yml
265
+ - spec/fixtures/cassettes/BookingSync_API_Client_Bookings/_bookings/pagination/with_per_page_setting/returns_limited_number_of_bookings.yml
266
+ - spec/fixtures/cassettes/BookingSync_API_Client_Bookings/_bookings/returns_bookings.yml
267
+ - spec/fixtures/cassettes/BookingSync_API_Client_Bookings/_cancel_booking/cancels_given_booking.yml
268
+ - spec/fixtures/cassettes/BookingSync_API_Client_Bookings/_clients/returns_clients.yml
269
+ - spec/fixtures/cassettes/BookingSync_API_Client_Bookings/_create_booking/creates_a_booking.yml
270
+ - spec/fixtures/cassettes/BookingSync_API_Client_Bookings/_create_client/creates_a_new_client.yml
271
+ - spec/fixtures/cassettes/BookingSync_API_Client_Bookings/_edit_booking/updates_given_booking_by_ID.yml
272
+ - spec/fixtures/cassettes/BookingSync_API_Client_Bookings/_edit_client/updates_given_client_by_ID.yml
273
+ - spec/fixtures/cassettes/BookingSync_API_Client_BookingsPayments/_bookings_payments/returns_bookings_payments.yml
274
+ - spec/fixtures/cassettes/BookingSync_API_Client_Destinations/_destinations/returns_destinations.yml
275
+ - spec/fixtures/cassettes/BookingSync_API_Client_Inquiries/_create_inquiry/creates_a_new_inquiry.yml
276
+ - spec/fixtures/cassettes/BookingSync_API_Client_Inquiries/_inquiries/returns_inquiries.yml
277
+ - spec/fixtures/cassettes/BookingSync_API_Client_Payments/_cancel_payment/cancels_given_payment.yml
278
+ - spec/fixtures/cassettes/BookingSync_API_Client_Payments/_create_payment/creates_a_new_payment.yml
279
+ - spec/fixtures/cassettes/BookingSync_API_Client_Payments/_edit_payment/updates_given_payment_by_ID.yml
280
+ - spec/fixtures/cassettes/BookingSync_API_Client_Payments/_payments/returns_payments.yml
281
+ - spec/fixtures/cassettes/BookingSync_API_Client_Periods/_create_period/creates_a_new_period.yml
282
+ - spec/fixtures/cassettes/BookingSync_API_Client_Periods/_delete_period/deletes_given_period.yml
283
+ - spec/fixtures/cassettes/BookingSync_API_Client_Periods/_edit_period/updates_given_period_by_ID.yml
284
+ - spec/fixtures/cassettes/BookingSync_API_Client_Periods/_periods/returns_periods.yml
285
+ - spec/fixtures/cassettes/BookingSync_API_Client_Photos/_create_photo/creates_a_photo.yml
286
+ - spec/fixtures/cassettes/BookingSync_API_Client_Photos/_create_photo/creates_a_photo_with_encoded_photo_file.yml
287
+ - spec/fixtures/cassettes/BookingSync_API_Client_Photos/_create_photo/creates_a_photo_with_photo_path.yml
288
+ - spec/fixtures/cassettes/BookingSync_API_Client_Photos/_create_photo/creates_a_photo_with_remote_URL.yml
289
+ - spec/fixtures/cassettes/BookingSync_API_Client_Photos/_delete_photo/delete_given_photo.yml
290
+ - spec/fixtures/cassettes/BookingSync_API_Client_Photos/_edit_photo/updates_photo_s_description.yml
291
+ - spec/fixtures/cassettes/BookingSync_API_Client_Photos/_edit_photo/updates_photo_s_image_file.yml
292
+ - spec/fixtures/cassettes/BookingSync_API_Client_Photos/_photos/returns_photos.yml
293
+ - spec/fixtures/cassettes/BookingSync_API_Client_Rates/_rates/returns_rates.yml
294
+ - spec/fixtures/cassettes/BookingSync_API_Client_RatesRules/_rates_rules/returns_rates_rules.yml
295
+ - spec/fixtures/cassettes/BookingSync_API_Client_RatesTables/_create_rates_table/creates_a_new_rates_table.yml
296
+ - spec/fixtures/cassettes/BookingSync_API_Client_RatesTables/_delete_rates_table/deletes_given_rates_table.yml
297
+ - spec/fixtures/cassettes/BookingSync_API_Client_RatesTables/_edit_rates_table/updates_given_rates_table_by_ID.yml
298
+ - spec/fixtures/cassettes/BookingSync_API_Client_RatesTables/_rates_tables/returns_rates_tables.yml
299
+ - spec/fixtures/cassettes/BookingSync_API_Client_RentalAgreements/_create_rental_agreement/creates_a_new_rental_agreement.yml
300
+ - spec/fixtures/cassettes/BookingSync_API_Client_RentalAgreements/_create_rental_agreement_for_booking/creates_a_new_rental_agreement.yml
301
+ - spec/fixtures/cassettes/BookingSync_API_Client_RentalAgreements/_create_rental_agreement_for_rental/creates_a_new_rental_agreement.yml
302
+ - spec/fixtures/cassettes/BookingSync_API_Client_RentalAgreements/_rental_agreements/returns_rental_agreements.yml
303
+ - spec/fixtures/cassettes/BookingSync_API_Client_Rentals/_create_rental/creates_a_new_rental.yml
304
+ - spec/fixtures/cassettes/BookingSync_API_Client_Rentals/_delete_rental/deletes_given_rental.yml
305
+ - spec/fixtures/cassettes/BookingSync_API_Client_Rentals/_edit_rental/updates_given_rental_by_ID.yml
306
+ - spec/fixtures/cassettes/BookingSync_API_Client_Rentals/_rental/returns_a_single_rental.yml
307
+ - spec/fixtures/cassettes/BookingSync_API_Client_Rentals/_rentals/links/returns_associated_photos.yml
308
+ - spec/fixtures/cassettes/BookingSync_API_Client_Rentals/_rentals/links/returns_links_to_associated_resources.yml
309
+ - spec/fixtures/cassettes/BookingSync_API_Client_Rentals/_rentals/returns_rentals.yml
310
+ - spec/fixtures/cassettes/BookingSync_API_Client_Reviews/_create_review/creates_a_new_review.yml
311
+ - spec/fixtures/cassettes/BookingSync_API_Client_Reviews/_reviews/returns_reviews.yml
312
+ - spec/fixtures/cassettes/BookingSync_API_Client_Seasons/_create_season/creates_a_new_season.yml
313
+ - spec/fixtures/cassettes/BookingSync_API_Client_Seasons/_delete_season/deletes_given_season.yml
314
+ - spec/fixtures/cassettes/BookingSync_API_Client_Seasons/_edit_season/updates_given_season_by_ID.yml
315
+ - spec/fixtures/cassettes/BookingSync_API_Client_Seasons/_seasons/returns_seasons.yml
316
+ - spec/fixtures/cassettes/BookingSync_API_Client_SpecialOffers/_create_special_offer/creates_a_new_special_offer.yml
317
+ - spec/fixtures/cassettes/BookingSync_API_Client_SpecialOffers/_delete_special_offer/deletes_given_special_offer.yml
318
+ - spec/fixtures/cassettes/BookingSync_API_Client_SpecialOffers/_edit_special_offer/updates_given_special_offer_by_ID.yml
319
+ - spec/fixtures/cassettes/BookingSync_API_Client_SpecialOffers/_special_offers/returns_special_offers.yml
320
+ - spec/fixtures/cassettes/spec/cassettes/BookingSync_API_Client_Bookings/_create_booking/creates_a_booking_yml.yml
321
+ - spec/fixtures/files/test.jpg
305
322
  - spec/spec_helper.rb
306
323
  has_rdoc: