bookingsync-api 0.1.11 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (44) hide show
  1. checksums.yaml +5 -5
  2. data/.gitignore +1 -0
  3. data/.travis.yml +3 -1
  4. data/CHANGELOG.md +12 -0
  5. data/bookingsync-api.gemspec +3 -3
  6. data/lib/bookingsync/api/client/applications.rb +43 -0
  7. data/lib/bookingsync/api/client/applications_periods_rentals.rb +49 -0
  8. data/lib/bookingsync/api/client/booking_comments.rb +1 -1
  9. data/lib/bookingsync/api/client/contacts.rb +63 -0
  10. data/lib/bookingsync/api/client/rental_urls.rb +72 -0
  11. data/lib/bookingsync/api/client/rentals.rb +3 -2
  12. data/lib/bookingsync/api/client.rb +12 -2
  13. data/lib/bookingsync/api/version.rb +1 -1
  14. data/spec/bookingsync/api/client/applications_periods_rentals_spec.rb +70 -0
  15. data/spec/bookingsync/api/client/applications_spec.rb +44 -0
  16. data/spec/bookingsync/api/client/contacts_spec.rb +116 -0
  17. data/spec/bookingsync/api/client/rental_urls_spec.rb +83 -0
  18. data/spec/fixtures/cassettes/BookingSync_API_Client_Applications/_application/returns_a_single_application.yml +84 -0
  19. data/spec/fixtures/cassettes/BookingSync_API_Client_Applications/_applications/returns_applications.yml +85 -0
  20. data/spec/fixtures/cassettes/BookingSync_API_Client_Applications/_edit_application/returns_updated_application.yml +73 -0
  21. data/spec/fixtures/cassettes/BookingSync_API_Client_Applications/_edit_application/updates_given_application_by_ID.yml +73 -0
  22. data/spec/fixtures/cassettes/BookingSync_API_Client_ApplicationsPeriodsRentals/_applications_periods_rental/returns_applications_periods_rental.yml +80 -0
  23. data/spec/fixtures/cassettes/BookingSync_API_Client_ApplicationsPeriodsRentals/_applications_periods_rentals/returns_applications_periods_rentals.yml +80 -0
  24. data/spec/fixtures/cassettes/BookingSync_API_Client_ApplicationsPeriodsRentals/_create_applications_periods_rental/creates_a_applications_periods_rental.yml +71 -0
  25. data/spec/fixtures/cassettes/BookingSync_API_Client_ApplicationsPeriodsRentals/_edit_applications_periods_rental/returns_updated_applications_periods_rental.yml +69 -0
  26. data/spec/fixtures/cassettes/BookingSync_API_Client_ApplicationsPeriodsRentals/_edit_applications_periods_rental/updates_given_applications_periods_rental_by_ID.yml +69 -0
  27. data/spec/fixtures/cassettes/BookingSync_API_Client_Bookings/_create_applications_periods_rental/creates_an_applications_periods_rental.yml +71 -0
  28. data/spec/fixtures/cassettes/BookingSync_API_Client_Contacts/_contact/returns_a_single_contact.yml +99 -0
  29. data/spec/fixtures/cassettes/BookingSync_API_Client_Contacts/_contact/returns_contact.yml +99 -0
  30. data/spec/fixtures/cassettes/BookingSync_API_Client_Contacts/_contacts/returns_contacts.yml +99 -0
  31. data/spec/fixtures/cassettes/BookingSync_API_Client_Contacts/_contacts/returns_contacts_by_ids.yml +99 -0
  32. data/spec/fixtures/cassettes/BookingSync_API_Client_Contacts/_create_contact/creates_a_new_contact.yml +74 -0
  33. data/spec/fixtures/cassettes/BookingSync_API_Client_Contacts/_delete_contact/deletes_given_contact.yml +63 -0
  34. data/spec/fixtures/cassettes/BookingSync_API_Client_Contacts/_edit_contact/updates_given_contact_by_ID.yml +71 -0
  35. data/spec/fixtures/cassettes/BookingSync_API_Client_RentalUrls/_cancel_rental_url/cancels_given_rental_url.yml +63 -0
  36. data/spec/fixtures/cassettes/BookingSync_API_Client_RentalUrls/_create_rental_url/creates_a_new_rental_url.yml +71 -0
  37. data/spec/fixtures/cassettes/BookingSync_API_Client_RentalUrls/_edit_rental_url/updates_given_rental_url_by_ID.yml +69 -0
  38. data/spec/fixtures/cassettes/BookingSync_API_Client_RentalUrls/_rental_url/returns_rental_url.yml +81 -0
  39. data/spec/fixtures/cassettes/BookingSync_API_Client_RentalUrls/_rental_urls/links/returns_associated_rental.yml +166 -0
  40. data/spec/fixtures/cassettes/BookingSync_API_Client_RentalUrls/_rental_urls/returns_rental_urls.yml +80 -0
  41. data/spec/fixtures/cassettes/BookingSync_API_Client_RentalsAmenities/_create_rental_url/creates_a_new_rental_url.yml +71 -0
  42. data/spec/fixtures/cassettes/BookingSync_API_Client_RentalsAmenities/_edit_rental_url/updates_given_rentals_url.yml +69 -0
  43. data/spec/fixtures/cassettes/BookingSync_API_Client_RentalsAmenities/_edit_rental_url/updates_given_rentals_url_by_ID.yml +69 -0
  44. metadata +88 -19
@@ -0,0 +1,71 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://www.bookingsync.com/api/v3/rentals/1/rental_urls
6
+ body:
7
+ encoding: UTF-8
8
+ string: '{"rental_urls":{"url":"test_test.com","label":"HomeAway","locked":"true"}}'
9
+ headers:
10
+ User-Agent:
11
+ - BookingSync API gem v0.1.12
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
+ Connection:
21
+ - keep-alive
22
+ Keep-Alive:
23
+ - '30'
24
+ response:
25
+ status:
26
+ code: 201
27
+ message: Created
28
+ headers:
29
+ Cache-Control:
30
+ - max-age=0, private, must-revalidate
31
+ Content-Type:
32
+ - application/vnd.api+json; charset=utf-8
33
+ Etag:
34
+ - W/"8f7cd36f61943dce0009b0abcddfab58"
35
+ Location:
36
+ - https://www.bookingsync.com/api/v3/rental_urls/7c3d1561-36a1-41e7-92f5-97f99e7c5439
37
+ Set-Cookie:
38
+ - ahoy_visit=86f3390d-d229-4839-84cf-47f0d84981c3; path=/; expires=Sat, 12 Oct
39
+ 2019 20:58:20 -0000
40
+ - ahoy_visitor=23357ec8-1d79-4e34-9cad-ee41bcfc622b; path=/; expires=Tue, 05
41
+ Oct 2021 20:58:20 -0000
42
+ Vary:
43
+ - Origin
44
+ X-Content-Type-Options:
45
+ - nosniff
46
+ X-Frame-Options:
47
+ - SAMEORIGIN
48
+ X-Ratelimit-Limit:
49
+ - '1000'
50
+ X-Ratelimit-Remaining:
51
+ - '994'
52
+ X-Ratelimit-Reset:
53
+ - '1570309200'
54
+ X-Request-Id:
55
+ - d2744d7c-01cb-4025-8ca8-6e282458d0c5
56
+ X-Runtime:
57
+ - '0.144553'
58
+ X-Updated-Since-Request-Synced-At:
59
+ - 2019-10-05 20:58:20 UTC
60
+ X-Xss-Protection:
61
+ - 1; mode=block
62
+ Date:
63
+ - Sat, 05 Oct 2019 20:58:20 GMT
64
+ Content-Length:
65
+ - '385'
66
+ body:
67
+ encoding: UTF-8
68
+ string: '{"links":{"rental_urls.rental":"https://www.bookingsync.com/api/v3/rentals/{rental_urls.rental}"},"rental_urls":[{"links":{"rental":1},"id":"7c3d1561-36a1-41e7-92f5-97f99e7c5439","label":"HomeAway","url":"test_test.com","lock":{"record":"doorkeeper/application-9","attributes":{}},"canceled_at":null,"created_at":"2019-10-05T20:58:20Z","updated_at":"2019-10-05T20:58:20Z"}],"meta":{}}'
69
+ http_version:
70
+ recorded_at: Sat, 05 Oct 2019 20:58:20 GMT
71
+ recorded_with: VCR 5.0.0
@@ -0,0 +1,69 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: put
5
+ uri: https://www.bookingsync.com/api/v3/rental_urls/9185bcf8-3cc5-4f1d-9ec6-e6b69049ae8e
6
+ body:
7
+ encoding: UTF-8
8
+ string: '{"rental_urls":{"details_en":"New Details"}}'
9
+ headers:
10
+ User-Agent:
11
+ - BookingSync API gem v0.1.12
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
+ Connection:
21
+ - keep-alive
22
+ Keep-Alive:
23
+ - '30'
24
+ response:
25
+ status:
26
+ code: 200
27
+ message: OK
28
+ headers:
29
+ Cache-Control:
30
+ - max-age=0, private, must-revalidate
31
+ Content-Type:
32
+ - application/vnd.api+json; charset=utf-8
33
+ Etag:
34
+ - W/"91a1eeb4e5ce70412cbb4d9002e0dca7"
35
+ Set-Cookie:
36
+ - ahoy_visit=e75ab825-18bd-4e72-86ba-962494854d7a; path=/; expires=Sat, 12 Oct
37
+ 2019 21:01:32 -0000
38
+ - ahoy_visitor=b0e5e899-9125-42a3-ae55-6013b183d0f0; path=/; expires=Tue, 05
39
+ Oct 2021 21:01:32 -0000
40
+ Vary:
41
+ - Origin
42
+ X-Content-Type-Options:
43
+ - nosniff
44
+ X-Frame-Options:
45
+ - SAMEORIGIN
46
+ X-Ratelimit-Limit:
47
+ - '1000'
48
+ X-Ratelimit-Remaining:
49
+ - '998'
50
+ X-Ratelimit-Reset:
51
+ - '1570312800'
52
+ X-Request-Id:
53
+ - fd77086d-bddb-4243-b03b-5e9efda4eaa3
54
+ X-Runtime:
55
+ - '0.124515'
56
+ X-Updated-Since-Request-Synced-At:
57
+ - 2019-10-05 21:01:32 UTC
58
+ X-Xss-Protection:
59
+ - 1; mode=block
60
+ Date:
61
+ - Sat, 05 Oct 2019 21:01:32 GMT
62
+ Content-Length:
63
+ - '385'
64
+ body:
65
+ encoding: UTF-8
66
+ string: '{"links":{"rental_urls.rental":"https://www.bookingsync.com/api/v3/rentals/{rental_urls.rental}"},"rental_urls":[{"links":{"rental":1},"id":"9185bcf8-3cc5-4f1d-9ec6-e6b69049ae8e","label":"HomeAway","url":"test_test.com","lock":{"record":"doorkeeper/application-9","attributes":{}},"canceled_at":null,"created_at":"2019-10-05T20:58:12Z","updated_at":"2019-10-05T21:01:32Z"}],"meta":{}}'
67
+ http_version:
68
+ recorded_at: Sat, 05 Oct 2019 21:01:32 GMT
69
+ recorded_with: VCR 5.0.0
@@ -0,0 +1,69 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: put
5
+ uri: https://www.bookingsync.com/api/v3/rental_urls/33878e9a-4c09-4f02-a340-6c3c099e66ad
6
+ body:
7
+ encoding: UTF-8
8
+ string: '{"rental_urls":{"url":"new_url.com"}}'
9
+ headers:
10
+ User-Agent:
11
+ - BookingSync API gem v0.1.12
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
+ Connection:
21
+ - keep-alive
22
+ Keep-Alive:
23
+ - '30'
24
+ response:
25
+ status:
26
+ code: 200
27
+ message: OK
28
+ headers:
29
+ Cache-Control:
30
+ - max-age=0, private, must-revalidate
31
+ Content-Type:
32
+ - application/vnd.api+json; charset=utf-8
33
+ Etag:
34
+ - W/"2de3956cf7d8d2b907bd0874431a7f12"
35
+ Set-Cookie:
36
+ - ahoy_visit=67620388-67f4-4822-baef-756523e60ecc; path=/; expires=Sat, 12 Oct
37
+ 2019 21:04:03 -0000
38
+ - ahoy_visitor=2707f05a-24e0-452d-a3b3-b3772973a2fb; path=/; expires=Tue, 05
39
+ Oct 2021 21:04:03 -0000
40
+ Vary:
41
+ - Origin
42
+ X-Content-Type-Options:
43
+ - nosniff
44
+ X-Frame-Options:
45
+ - SAMEORIGIN
46
+ X-Ratelimit-Limit:
47
+ - '1000'
48
+ X-Ratelimit-Remaining:
49
+ - '996'
50
+ X-Ratelimit-Reset:
51
+ - '1570312800'
52
+ X-Request-Id:
53
+ - c444bedb-29de-49d3-a435-f751324c19ef
54
+ X-Runtime:
55
+ - '0.235368'
56
+ X-Updated-Since-Request-Synced-At:
57
+ - 2019-10-05 21:04:03 UTC
58
+ X-Xss-Protection:
59
+ - 1; mode=block
60
+ Date:
61
+ - Sat, 05 Oct 2019 21:04:03 GMT
62
+ Content-Length:
63
+ - '383'
64
+ body:
65
+ encoding: UTF-8
66
+ string: '{"links":{"rental_urls.rental":"https://www.bookingsync.com/api/v3/rentals/{rental_urls.rental}"},"rental_urls":[{"links":{"rental":1},"id":"33878e9a-4c09-4f02-a340-6c3c099e66ad","label":"HomeAway","url":"new_url.com","lock":{"record":"doorkeeper/application-9","attributes":{}},"canceled_at":null,"created_at":"2019-10-05T20:58:12Z","updated_at":"2019-10-05T21:04:03Z"}],"meta":{}}'
67
+ http_version:
68
+ recorded_at: Sat, 05 Oct 2019 21:04:03 GMT
69
+ recorded_with: VCR 5.0.0
metadata CHANGED
@@ -1,43 +1,49 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bookingsync-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.11
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sébastien Grosjean
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-05-17 00:00:00.000000000 Z
11
+ date: 2022-01-10 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
- version: '0.9'
19
+ version: 0.15.2
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
- version: '0.9'
26
+ version: 0.15.2
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: net-http-persistent
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: '2'
33
+ version: 4.0.1
34
+ - - "<"
35
+ - !ruby/object:Gem::Version
36
+ version: '5.0'
34
37
  type: :runtime
35
38
  prerelease: false
36
39
  version_requirements: !ruby/object:Gem::Requirement
37
40
  requirements:
38
- - - "~>"
41
+ - - ">="
39
42
  - !ruby/object:Gem::Version
40
- version: '2'
43
+ version: 4.0.1
44
+ - - "<"
45
+ - !ruby/object:Gem::Version
46
+ version: '5.0'
41
47
  - !ruby/object:Gem::Dependency
42
48
  name: hashie
43
49
  requirement: !ruby/object:Gem::Requirement
@@ -70,16 +76,16 @@ dependencies:
70
76
  name: bundler
71
77
  requirement: !ruby/object:Gem::Requirement
72
78
  requirements:
73
- - - "~>"
79
+ - - ">="
74
80
  - !ruby/object:Gem::Version
75
- version: '1.5'
81
+ version: '0'
76
82
  type: :development
77
83
  prerelease: false
78
84
  version_requirements: !ruby/object:Gem::Requirement
79
85
  requirements:
80
- - - "~>"
86
+ - - ">="
81
87
  - !ruby/object:Gem::Version
82
- version: '1.5'
88
+ version: '0'
83
89
  - !ruby/object:Gem::Dependency
84
90
  name: rake
85
91
  requirement: !ruby/object:Gem::Requirement
@@ -130,6 +136,8 @@ files:
130
136
  - lib/bookingsync/api/client.rb
131
137
  - lib/bookingsync/api/client/accounts.rb
132
138
  - lib/bookingsync/api/client/amenities.rb
139
+ - lib/bookingsync/api/client/applications.rb
140
+ - lib/bookingsync/api/client/applications_periods_rentals.rb
133
141
  - lib/bookingsync/api/client/attachments.rb
134
142
  - lib/bookingsync/api/client/availabilities.rb
135
143
  - lib/bookingsync/api/client/bathrooms.rb
@@ -142,6 +150,7 @@ files:
142
150
  - lib/bookingsync/api/client/bookings_taxes.rb
143
151
  - lib/bookingsync/api/client/change_overs.rb
144
152
  - lib/bookingsync/api/client/clients.rb
153
+ - lib/bookingsync/api/client/contacts.rb
145
154
  - lib/bookingsync/api/client/conversations.rb
146
155
  - lib/bookingsync/api/client/destinations.rb
147
156
  - lib/bookingsync/api/client/fees.rb
@@ -162,6 +171,7 @@ files:
162
171
  - lib/bookingsync/api/client/rental_agreements.rb
163
172
  - lib/bookingsync/api/client/rental_cancelation_policies.rb
164
173
  - lib/bookingsync/api/client/rental_cancelation_policy_items.rb
174
+ - lib/bookingsync/api/client/rental_urls.rb
165
175
  - lib/bookingsync/api/client/rentals.rb
166
176
  - lib/bookingsync/api/client/rentals_amenities.rb
167
177
  - lib/bookingsync/api/client/rentals_contents_overrides.rb
@@ -181,6 +191,8 @@ files:
181
191
  - lib/bookingsync/api/version.rb
182
192
  - spec/bookingsync/api/client/accounts_spec.rb
183
193
  - spec/bookingsync/api/client/amenities_spec.rb
194
+ - spec/bookingsync/api/client/applications_periods_rentals_spec.rb
195
+ - spec/bookingsync/api/client/applications_spec.rb
184
196
  - spec/bookingsync/api/client/attachments_spec.rb
185
197
  - spec/bookingsync/api/client/availabilities_spec.rb
186
198
  - spec/bookingsync/api/client/bathrooms_spec.rb
@@ -193,6 +205,7 @@ files:
193
205
  - spec/bookingsync/api/client/bookings_taxes_spec.rb
194
206
  - spec/bookingsync/api/client/change_overs_spec.rb
195
207
  - spec/bookingsync/api/client/clients_spec.rb
208
+ - spec/bookingsync/api/client/contacts_spec.rb
196
209
  - spec/bookingsync/api/client/conversations_spec.rb
197
210
  - spec/bookingsync/api/client/destinations_spec.rb
198
211
  - spec/bookingsync/api/client/fees_spec.rb
@@ -213,6 +226,7 @@ files:
213
226
  - spec/bookingsync/api/client/rental_agreements_spec.rb
214
227
  - spec/bookingsync/api/client/rental_cancelation_policies_spec.rb
215
228
  - spec/bookingsync/api/client/rental_cancelation_policy_items_spec.rb
229
+ - spec/bookingsync/api/client/rental_urls_spec.rb
216
230
  - spec/bookingsync/api/client/rentals_amenities_spec.rb
217
231
  - spec/bookingsync/api/client/rentals_contents_overrides_spec.rb
218
232
  - spec/bookingsync/api/client/rentals_fees_spec.rb
@@ -233,6 +247,15 @@ files:
233
247
  - spec/fixtures/cassettes/BookingSync_API_Client_Accounts/_accounts/returns_accounts.yml
234
248
  - spec/fixtures/cassettes/BookingSync_API_Client_Amenities/_amenities/returns_amenities.yml
235
249
  - spec/fixtures/cassettes/BookingSync_API_Client_Amenities/_amenity/returns_amenity.yml
250
+ - spec/fixtures/cassettes/BookingSync_API_Client_Applications/_application/returns_a_single_application.yml
251
+ - spec/fixtures/cassettes/BookingSync_API_Client_Applications/_applications/returns_applications.yml
252
+ - spec/fixtures/cassettes/BookingSync_API_Client_Applications/_edit_application/returns_updated_application.yml
253
+ - spec/fixtures/cassettes/BookingSync_API_Client_Applications/_edit_application/updates_given_application_by_ID.yml
254
+ - spec/fixtures/cassettes/BookingSync_API_Client_ApplicationsPeriodsRentals/_applications_periods_rental/returns_applications_periods_rental.yml
255
+ - spec/fixtures/cassettes/BookingSync_API_Client_ApplicationsPeriodsRentals/_applications_periods_rentals/returns_applications_periods_rentals.yml
256
+ - spec/fixtures/cassettes/BookingSync_API_Client_ApplicationsPeriodsRentals/_create_applications_periods_rental/creates_a_applications_periods_rental.yml
257
+ - spec/fixtures/cassettes/BookingSync_API_Client_ApplicationsPeriodsRentals/_edit_applications_periods_rental/returns_updated_applications_periods_rental.yml
258
+ - spec/fixtures/cassettes/BookingSync_API_Client_ApplicationsPeriodsRentals/_edit_applications_periods_rental/updates_given_applications_periods_rental_by_ID.yml
236
259
  - spec/fixtures/cassettes/BookingSync_API_Client_Attachments/_attachment/returns_a_single_attachment.yml
237
260
  - spec/fixtures/cassettes/BookingSync_API_Client_Attachments/_attachments/returns_attachments.yml
238
261
  - spec/fixtures/cassettes/BookingSync_API_Client_Attachments/_create_attachment/creates_a_attachment_with_file_path.yml
@@ -267,6 +290,7 @@ files:
267
290
  - spec/fixtures/cassettes/BookingSync_API_Client_Bookings/_bookings/pagination/with_per_page_setting/returns_limited_number_of_bookings.yml
268
291
  - spec/fixtures/cassettes/BookingSync_API_Client_Bookings/_bookings/returns_bookings.yml
269
292
  - spec/fixtures/cassettes/BookingSync_API_Client_Bookings/_cancel_booking/cancels_given_booking_and_passes_options_along_as_bookings_payload.yml
293
+ - spec/fixtures/cassettes/BookingSync_API_Client_Bookings/_create_applications_periods_rental/creates_an_applications_periods_rental.yml
270
294
  - spec/fixtures/cassettes/BookingSync_API_Client_Bookings/_create_booking/creates_a_booking.yml
271
295
  - spec/fixtures/cassettes/BookingSync_API_Client_Bookings/_edit_booking/updates_given_booking_by_ID.yml
272
296
  - spec/fixtures/cassettes/BookingSync_API_Client_Bookings/_remove_bookings_fee/removes_bookings_fee_and_returns_with_booking.yml
@@ -284,6 +308,13 @@ files:
284
308
  - spec/fixtures/cassettes/BookingSync_API_Client_Clients/_clients/returns_clients.yml
285
309
  - spec/fixtures/cassettes/BookingSync_API_Client_Clients/_create_client/creates_a_new_client.yml
286
310
  - spec/fixtures/cassettes/BookingSync_API_Client_Clients/_edit_client/updates_given_client_by_ID.yml
311
+ - spec/fixtures/cassettes/BookingSync_API_Client_Contacts/_contact/returns_a_single_contact.yml
312
+ - spec/fixtures/cassettes/BookingSync_API_Client_Contacts/_contact/returns_contact.yml
313
+ - spec/fixtures/cassettes/BookingSync_API_Client_Contacts/_contacts/returns_contacts.yml
314
+ - spec/fixtures/cassettes/BookingSync_API_Client_Contacts/_contacts/returns_contacts_by_ids.yml
315
+ - spec/fixtures/cassettes/BookingSync_API_Client_Contacts/_create_contact/creates_a_new_contact.yml
316
+ - spec/fixtures/cassettes/BookingSync_API_Client_Contacts/_delete_contact/deletes_given_contact.yml
317
+ - spec/fixtures/cassettes/BookingSync_API_Client_Contacts/_edit_contact/updates_given_contact_by_ID.yml
287
318
  - spec/fixtures/cassettes/BookingSync_API_Client_Conversations/_connect_booking_to_conversation/connects_given_conversation_with_booking.yml
288
319
  - spec/fixtures/cassettes/BookingSync_API_Client_Conversations/_conversation/returns_a_single_conversation.yml
289
320
  - spec/fixtures/cassettes/BookingSync_API_Client_Conversations/_conversations/returns_conversations.yml
@@ -363,6 +394,12 @@ files:
363
394
  - spec/fixtures/cassettes/BookingSync_API_Client_RentalCancelationPolicies/_rental_cancelation_policy/returns_a_single_rental_cancelation_policy.yml
364
395
  - spec/fixtures/cassettes/BookingSync_API_Client_RentalCancelationPolicyItems/_rental_cancelation_policy_item/returns_a_single_rental_cancelation_policy_item.yml
365
396
  - spec/fixtures/cassettes/BookingSync_API_Client_RentalCancelationPolicyItems/_rental_cancelation_policy_items/returns_rental_cancelation_policy_items.yml
397
+ - spec/fixtures/cassettes/BookingSync_API_Client_RentalUrls/_cancel_rental_url/cancels_given_rental_url.yml
398
+ - spec/fixtures/cassettes/BookingSync_API_Client_RentalUrls/_create_rental_url/creates_a_new_rental_url.yml
399
+ - spec/fixtures/cassettes/BookingSync_API_Client_RentalUrls/_edit_rental_url/updates_given_rental_url_by_ID.yml
400
+ - spec/fixtures/cassettes/BookingSync_API_Client_RentalUrls/_rental_url/returns_rental_url.yml
401
+ - spec/fixtures/cassettes/BookingSync_API_Client_RentalUrls/_rental_urls/links/returns_associated_rental.yml
402
+ - spec/fixtures/cassettes/BookingSync_API_Client_RentalUrls/_rental_urls/returns_rental_urls.yml
366
403
  - spec/fixtures/cassettes/BookingSync_API_Client_Rentals/_create_rental/creates_a_new_rental.yml
367
404
  - spec/fixtures/cassettes/BookingSync_API_Client_Rentals/_delete_rental/deletes_given_rental.yml
368
405
  - spec/fixtures/cassettes/BookingSync_API_Client_Rentals/_edit_rental/updates_given_rental_by_ID.yml
@@ -376,8 +413,11 @@ files:
376
413
  - spec/fixtures/cassettes/BookingSync_API_Client_Rentals/_rentals_search/performs_autopagination_using_POST.yml
377
414
  - spec/fixtures/cassettes/BookingSync_API_Client_Rentals/_rentals_search/rentals_ids_given/makes_a_search_within_given_rentals.yml
378
415
  - spec/fixtures/cassettes/BookingSync_API_Client_Rentals/_rentals_search/returns_rentals.yml
416
+ - spec/fixtures/cassettes/BookingSync_API_Client_RentalsAmenities/_create_rental_url/creates_a_new_rental_url.yml
379
417
  - spec/fixtures/cassettes/BookingSync_API_Client_RentalsAmenities/_create_rentals_amenity/creates_a_new_rentals_amenity.yml
380
418
  - spec/fixtures/cassettes/BookingSync_API_Client_RentalsAmenities/_delete_rentals_amenity/deletes_given_rentals_amenity.yml
419
+ - spec/fixtures/cassettes/BookingSync_API_Client_RentalsAmenities/_edit_rental_url/updates_given_rentals_url.yml
420
+ - spec/fixtures/cassettes/BookingSync_API_Client_RentalsAmenities/_edit_rental_url/updates_given_rentals_url_by_ID.yml
381
421
  - spec/fixtures/cassettes/BookingSync_API_Client_RentalsAmenities/_edit_rentals_amenity/updates_given_rentals_amenity_by_ID.yml
382
422
  - spec/fixtures/cassettes/BookingSync_API_Client_RentalsAmenities/_rentals_amenities/links/returns_associated_amenity.yml
383
423
  - spec/fixtures/cassettes/BookingSync_API_Client_RentalsAmenities/_rentals_amenities/links/returns_associated_rental.yml
@@ -420,7 +460,7 @@ homepage: https://github.com/BookingSync/bookingsync-api
420
460
  licenses:
421
461
  - MIT
422
462
  metadata: {}
423
- post_install_message:
463
+ post_install_message:
424
464
  rdoc_options: []
425
465
  require_paths:
426
466
  - lib
@@ -435,14 +475,15 @@ required_rubygems_version: !ruby/object:Gem::Requirement
435
475
  - !ruby/object:Gem::Version
436
476
  version: '0'
437
477
  requirements: []
438
- rubyforge_project:
439
- rubygems_version: 2.5.1
440
- signing_key:
478
+ rubygems_version: 3.2.22
479
+ signing_key:
441
480
  specification_version: 4
442
481
  summary: Ruby interface for accessing https://www.bookingsync.com
443
482
  test_files:
444
483
  - spec/bookingsync/api/client/accounts_spec.rb
445
484
  - spec/bookingsync/api/client/amenities_spec.rb
485
+ - spec/bookingsync/api/client/applications_periods_rentals_spec.rb
486
+ - spec/bookingsync/api/client/applications_spec.rb
446
487
  - spec/bookingsync/api/client/attachments_spec.rb
447
488
  - spec/bookingsync/api/client/availabilities_spec.rb
448
489
  - spec/bookingsync/api/client/bathrooms_spec.rb
@@ -455,6 +496,7 @@ test_files:
455
496
  - spec/bookingsync/api/client/bookings_taxes_spec.rb
456
497
  - spec/bookingsync/api/client/change_overs_spec.rb
457
498
  - spec/bookingsync/api/client/clients_spec.rb
499
+ - spec/bookingsync/api/client/contacts_spec.rb
458
500
  - spec/bookingsync/api/client/conversations_spec.rb
459
501
  - spec/bookingsync/api/client/destinations_spec.rb
460
502
  - spec/bookingsync/api/client/fees_spec.rb
@@ -475,6 +517,7 @@ test_files:
475
517
  - spec/bookingsync/api/client/rental_agreements_spec.rb
476
518
  - spec/bookingsync/api/client/rental_cancelation_policies_spec.rb
477
519
  - spec/bookingsync/api/client/rental_cancelation_policy_items_spec.rb
520
+ - spec/bookingsync/api/client/rental_urls_spec.rb
478
521
  - spec/bookingsync/api/client/rentals_amenities_spec.rb
479
522
  - spec/bookingsync/api/client/rentals_contents_overrides_spec.rb
480
523
  - spec/bookingsync/api/client/rentals_fees_spec.rb
@@ -495,6 +538,15 @@ test_files:
495
538
  - spec/fixtures/cassettes/BookingSync_API_Client_Accounts/_accounts/returns_accounts.yml
496
539
  - spec/fixtures/cassettes/BookingSync_API_Client_Amenities/_amenities/returns_amenities.yml
497
540
  - spec/fixtures/cassettes/BookingSync_API_Client_Amenities/_amenity/returns_amenity.yml
541
+ - spec/fixtures/cassettes/BookingSync_API_Client_Applications/_application/returns_a_single_application.yml
542
+ - spec/fixtures/cassettes/BookingSync_API_Client_Applications/_applications/returns_applications.yml
543
+ - spec/fixtures/cassettes/BookingSync_API_Client_Applications/_edit_application/returns_updated_application.yml
544
+ - spec/fixtures/cassettes/BookingSync_API_Client_Applications/_edit_application/updates_given_application_by_ID.yml
545
+ - spec/fixtures/cassettes/BookingSync_API_Client_ApplicationsPeriodsRentals/_applications_periods_rental/returns_applications_periods_rental.yml
546
+ - spec/fixtures/cassettes/BookingSync_API_Client_ApplicationsPeriodsRentals/_applications_periods_rentals/returns_applications_periods_rentals.yml
547
+ - spec/fixtures/cassettes/BookingSync_API_Client_ApplicationsPeriodsRentals/_create_applications_periods_rental/creates_a_applications_periods_rental.yml
548
+ - spec/fixtures/cassettes/BookingSync_API_Client_ApplicationsPeriodsRentals/_edit_applications_periods_rental/returns_updated_applications_periods_rental.yml
549
+ - spec/fixtures/cassettes/BookingSync_API_Client_ApplicationsPeriodsRentals/_edit_applications_periods_rental/updates_given_applications_periods_rental_by_ID.yml
498
550
  - spec/fixtures/cassettes/BookingSync_API_Client_Attachments/_attachment/returns_a_single_attachment.yml
499
551
  - spec/fixtures/cassettes/BookingSync_API_Client_Attachments/_attachments/returns_attachments.yml
500
552
  - spec/fixtures/cassettes/BookingSync_API_Client_Attachments/_create_attachment/creates_a_attachment_with_file_path.yml
@@ -529,6 +581,7 @@ test_files:
529
581
  - spec/fixtures/cassettes/BookingSync_API_Client_Bookings/_bookings/pagination/with_per_page_setting/returns_limited_number_of_bookings.yml
530
582
  - spec/fixtures/cassettes/BookingSync_API_Client_Bookings/_bookings/returns_bookings.yml
531
583
  - spec/fixtures/cassettes/BookingSync_API_Client_Bookings/_cancel_booking/cancels_given_booking_and_passes_options_along_as_bookings_payload.yml
584
+ - spec/fixtures/cassettes/BookingSync_API_Client_Bookings/_create_applications_periods_rental/creates_an_applications_periods_rental.yml
532
585
  - spec/fixtures/cassettes/BookingSync_API_Client_Bookings/_create_booking/creates_a_booking.yml
533
586
  - spec/fixtures/cassettes/BookingSync_API_Client_Bookings/_edit_booking/updates_given_booking_by_ID.yml
534
587
  - spec/fixtures/cassettes/BookingSync_API_Client_Bookings/_remove_bookings_fee/removes_bookings_fee_and_returns_with_booking.yml
@@ -546,6 +599,13 @@ test_files:
546
599
  - spec/fixtures/cassettes/BookingSync_API_Client_Clients/_clients/returns_clients.yml
547
600
  - spec/fixtures/cassettes/BookingSync_API_Client_Clients/_create_client/creates_a_new_client.yml
548
601
  - spec/fixtures/cassettes/BookingSync_API_Client_Clients/_edit_client/updates_given_client_by_ID.yml
602
+ - spec/fixtures/cassettes/BookingSync_API_Client_Contacts/_contact/returns_a_single_contact.yml
603
+ - spec/fixtures/cassettes/BookingSync_API_Client_Contacts/_contact/returns_contact.yml
604
+ - spec/fixtures/cassettes/BookingSync_API_Client_Contacts/_contacts/returns_contacts.yml
605
+ - spec/fixtures/cassettes/BookingSync_API_Client_Contacts/_contacts/returns_contacts_by_ids.yml
606
+ - spec/fixtures/cassettes/BookingSync_API_Client_Contacts/_create_contact/creates_a_new_contact.yml
607
+ - spec/fixtures/cassettes/BookingSync_API_Client_Contacts/_delete_contact/deletes_given_contact.yml
608
+ - spec/fixtures/cassettes/BookingSync_API_Client_Contacts/_edit_contact/updates_given_contact_by_ID.yml
549
609
  - spec/fixtures/cassettes/BookingSync_API_Client_Conversations/_connect_booking_to_conversation/connects_given_conversation_with_booking.yml
550
610
  - spec/fixtures/cassettes/BookingSync_API_Client_Conversations/_conversation/returns_a_single_conversation.yml
551
611
  - spec/fixtures/cassettes/BookingSync_API_Client_Conversations/_conversations/returns_conversations.yml
@@ -625,6 +685,12 @@ test_files:
625
685
  - spec/fixtures/cassettes/BookingSync_API_Client_RentalCancelationPolicies/_rental_cancelation_policy/returns_a_single_rental_cancelation_policy.yml
626
686
  - spec/fixtures/cassettes/BookingSync_API_Client_RentalCancelationPolicyItems/_rental_cancelation_policy_item/returns_a_single_rental_cancelation_policy_item.yml
627
687
  - spec/fixtures/cassettes/BookingSync_API_Client_RentalCancelationPolicyItems/_rental_cancelation_policy_items/returns_rental_cancelation_policy_items.yml
688
+ - spec/fixtures/cassettes/BookingSync_API_Client_RentalUrls/_cancel_rental_url/cancels_given_rental_url.yml
689
+ - spec/fixtures/cassettes/BookingSync_API_Client_RentalUrls/_create_rental_url/creates_a_new_rental_url.yml
690
+ - spec/fixtures/cassettes/BookingSync_API_Client_RentalUrls/_edit_rental_url/updates_given_rental_url_by_ID.yml
691
+ - spec/fixtures/cassettes/BookingSync_API_Client_RentalUrls/_rental_url/returns_rental_url.yml
692
+ - spec/fixtures/cassettes/BookingSync_API_Client_RentalUrls/_rental_urls/links/returns_associated_rental.yml
693
+ - spec/fixtures/cassettes/BookingSync_API_Client_RentalUrls/_rental_urls/returns_rental_urls.yml
628
694
  - spec/fixtures/cassettes/BookingSync_API_Client_Rentals/_create_rental/creates_a_new_rental.yml
629
695
  - spec/fixtures/cassettes/BookingSync_API_Client_Rentals/_delete_rental/deletes_given_rental.yml
630
696
  - spec/fixtures/cassettes/BookingSync_API_Client_Rentals/_edit_rental/updates_given_rental_by_ID.yml
@@ -638,8 +704,11 @@ test_files:
638
704
  - spec/fixtures/cassettes/BookingSync_API_Client_Rentals/_rentals_search/performs_autopagination_using_POST.yml
639
705
  - spec/fixtures/cassettes/BookingSync_API_Client_Rentals/_rentals_search/rentals_ids_given/makes_a_search_within_given_rentals.yml
640
706
  - spec/fixtures/cassettes/BookingSync_API_Client_Rentals/_rentals_search/returns_rentals.yml
707
+ - spec/fixtures/cassettes/BookingSync_API_Client_RentalsAmenities/_create_rental_url/creates_a_new_rental_url.yml
641
708
  - spec/fixtures/cassettes/BookingSync_API_Client_RentalsAmenities/_create_rentals_amenity/creates_a_new_rentals_amenity.yml
642
709
  - spec/fixtures/cassettes/BookingSync_API_Client_RentalsAmenities/_delete_rentals_amenity/deletes_given_rentals_amenity.yml
710
+ - spec/fixtures/cassettes/BookingSync_API_Client_RentalsAmenities/_edit_rental_url/updates_given_rentals_url.yml
711
+ - spec/fixtures/cassettes/BookingSync_API_Client_RentalsAmenities/_edit_rental_url/updates_given_rentals_url_by_ID.yml
643
712
  - spec/fixtures/cassettes/BookingSync_API_Client_RentalsAmenities/_edit_rentals_amenity/updates_given_rentals_amenity_by_ID.yml
644
713
  - spec/fixtures/cassettes/BookingSync_API_Client_RentalsAmenities/_rentals_amenities/links/returns_associated_amenity.yml
645
714
  - spec/fixtures/cassettes/BookingSync_API_Client_RentalsAmenities/_rentals_amenities/links/returns_associated_rental.yml