bookingsync-api 0.1.7 → 0.1.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (17) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +4 -1
  3. data/lib/bookingsync/api/client.rb +4 -0
  4. data/lib/bookingsync/api/client/bookings_tags.rb +33 -0
  5. data/lib/bookingsync/api/client/rentals_contents_overrides.rb +72 -0
  6. data/lib/bookingsync/api/version.rb +1 -1
  7. data/spec/bookingsync/api/client/bookings_tags_spec.rb +25 -0
  8. data/spec/bookingsync/api/client/rentals_contents_overrides_spec.rb +84 -0
  9. data/spec/fixtures/cassettes/BookingSync_API_Client_BookingsTags/_bookings_tag/returns_a_single_bookings_tag.yml +87 -0
  10. data/spec/fixtures/cassettes/BookingSync_API_Client_BookingsTags/_bookings_tags/returns_bookings_tags.yml +87 -0
  11. data/spec/fixtures/cassettes/BookingSync_API_Client_RentalsContentsOverrides/_create_rentals_contents_override/creates_a_new_rentals_contents_override.yml +85 -0
  12. data/spec/fixtures/cassettes/BookingSync_API_Client_RentalsContentsOverrides/_delete_rentals_contents_override/deletes_given_rentals_contents_override.yml +71 -0
  13. data/spec/fixtures/cassettes/BookingSync_API_Client_RentalsContentsOverrides/_edit_rentals_contents_override/updates_given_rentals_contents_override_by_ID.yml +80 -0
  14. data/spec/fixtures/cassettes/BookingSync_API_Client_RentalsContentsOverrides/_rentals_contents_override/returns_rentals_contents_override.yml +88 -0
  15. data/spec/fixtures/cassettes/BookingSync_API_Client_RentalsContentsOverrides/_rentals_contents_overrides/links/returns_associated_rental.yml +322 -0
  16. data/spec/fixtures/cassettes/BookingSync_API_Client_RentalsContentsOverrides/_rentals_contents_overrides/returns_rentals_contents_overrides.yml +87 -0
  17. metadata +24 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fd120b6e3150316627f5707d653b7ba4ad0ac02e
4
- data.tar.gz: 8a2d82b0e26ea7d259b5dded328afbfd8ec6dac5
3
+ metadata.gz: 445f23d326e4331163eab11f0156f4571df34382
4
+ data.tar.gz: 32a2bfa0eaf8902714af8a2dedea2a852cdf35eb
5
5
  SHA512:
6
- metadata.gz: 56f0a86137e3d620449d66777b3020448faea701837111047ec7d120eaf5d0e0e02b2b1ca4e4dfdfaffa7df511a7d493d25d693c4c427694d7896aad94c4636f
7
- data.tar.gz: 126339a64b04e8c34e0baff0a0cfb94c3c67c65f04b40fd375a415b4491e8909ea8ec865ca2d3637e1243fafcaade6302e1cd1eb1edf2ad49cb26e88f14cc652
6
+ metadata.gz: 12fde8daede41304f9a1707dcc609519e9130e8b1d912b7e02753069e551a3628add14970bb3f77a8453f25a9c313b76d39fac0eef31dac8831a15c9c124ecac
7
+ data.tar.gz: 658aff5e26667bb67f6f629f126a36740c005f93a8e5ff3ff0255d99fa919ea6d2f78f4eb34e6c38507611ea2baa1fb9571c413e12b6f6a5c6447de2d86fb0ae
@@ -1,6 +1,9 @@
1
1
  # Changelog
2
2
 
3
- ## master
3
+ ## 0.1.8 - 2017-12-05
4
+
5
+ - Add support for `bookings_tags` endpoint.
6
+ - Add support for `rentals_contents_overrides` endpoint.
4
7
 
5
8
  ## 0.1.7 - 2017-11-30
6
9
 
@@ -8,6 +8,7 @@ require "bookingsync/api/client/bookings"
8
8
  require "bookingsync/api/client/booking_comments"
9
9
  require "bookingsync/api/client/bookings_fees"
10
10
  require "bookingsync/api/client/bookings_payments"
11
+ require "bookingsync/api/client/bookings_tags"
11
12
  require "bookingsync/api/client/bookings_taxes"
12
13
  require "bookingsync/api/client/change_overs"
13
14
  require "bookingsync/api/client/clients"
@@ -31,6 +32,7 @@ require "bookingsync/api/client/rentals_amenities"
31
32
  require "bookingsync/api/client/rental_agreements"
32
33
  require "bookingsync/api/client/rental_cancelation_policies"
33
34
  require "bookingsync/api/client/rental_cancelation_policy_items"
35
+ require "bookingsync/api/client/rentals_contents_overrides"
34
36
  require "bookingsync/api/client/reviews"
35
37
  require "bookingsync/api/client/seasons"
36
38
  require "bookingsync/api/client/special_offers"
@@ -57,6 +59,7 @@ module BookingSync::API
57
59
  include BookingSync::API::Client::BookingComments
58
60
  include BookingSync::API::Client::BookingsFees
59
61
  include BookingSync::API::Client::BookingsPayments
62
+ include BookingSync::API::Client::BookingsTags
60
63
  include BookingSync::API::Client::BookingsTaxes
61
64
  include BookingSync::API::Client::ChangeOvers
62
65
  include BookingSync::API::Client::Clients
@@ -80,6 +83,7 @@ module BookingSync::API
80
83
  include BookingSync::API::Client::RentalAgreements
81
84
  include BookingSync::API::Client::RentalCancelationPolicies
82
85
  include BookingSync::API::Client::RentalCancelationPolicyItems
86
+ include BookingSync::API::Client::RentalsContentsOverrides
83
87
  include BookingSync::API::Client::Reviews
84
88
  include BookingSync::API::Client::Seasons
85
89
  include BookingSync::API::Client::SpecialOffers
@@ -0,0 +1,33 @@
1
+ module BookingSync::API
2
+ class Client
3
+ module BookingsTags
4
+ # List bookings tags
5
+ #
6
+ # Returns bookings tags for the account user is authenticated with.
7
+ # @param options [Hash] A customizable set of options.
8
+ # @option options [Array] fields: List of fields to be fetched.
9
+ # @return [Array<BookingSync::API::Resource>] Array of bookings tags.
10
+ #
11
+ # @example Get the list of bookings tags for the current account
12
+ # bookings_tags = @api.bookings_tags
13
+ # bookings_tags.first.color # => "#6666ff"
14
+ # @example Get the list of bookings tags only with color for smaller response
15
+ # @api.bookings_tags(fields: [:color])
16
+ # @see http://developers.bookingsync.com/reference/endpoints/bookings_tags/#list-bookings-tags
17
+ def bookings_tags(options = {}, &block)
18
+ paginate :bookings_tags, options, &block
19
+ end
20
+
21
+ # Get a single bookings tag
22
+ #
23
+ # @param bookings_tag [BookingSync::API::Resource|Integer] BookingsTag or ID
24
+ # of the bookings tag.
25
+ # @param options [Hash] A customizable set of query options.
26
+ # @option options [Array] fields: List of fields to be fetched.
27
+ # @return [BookingSync::API::Resource]
28
+ def bookings_tag(bookings_tag, options = {})
29
+ get("bookings_tags/#{bookings_tag}", options).pop
30
+ end
31
+ end
32
+ end
33
+ end
@@ -0,0 +1,72 @@
1
+ module BookingSync::API
2
+ class Client
3
+ module RentalsContentsOverrides
4
+ # List rentals_contents_overrides
5
+ #
6
+ # Returns all rentals contents overrides for the current account.
7
+ # @param options [Hash] A customizable set of options.
8
+ # @option options [Array] fields: List of fields to be fetched.
9
+ # @return [Array<BookingSync::API::Resource>] Array of rentals_contents_overrides.
10
+ #
11
+ # @example Get the list of rentals contents overrides for the current account
12
+ # rentals_contents_overrides = @api.rentals_contents_overrides
13
+ # rentals_contents_overrides.first.description.en # => "Overriden English description"
14
+ # @see http://developers.bookingsync.com/reference/endpoints/rentals_contents_overrides/#list-rentals-contents-overrides
15
+ def rentals_contents_overrides(options = {}, &block)
16
+ paginate :rentals_contents_overrides, options, &block
17
+ end
18
+
19
+ # Get a single rentals_contents_override
20
+ #
21
+ # @param rentals_contents_override [BookingSync::API::Resource|Integer]
22
+ # rentals_contents_override or ID of the rentals_contents_override.
23
+ # @return [BookingSync::API::Resource]
24
+ # @see http://developers.bookingsync.com/reference/endpoints/rentals_contents_overrides/#get-a-single-rentals-content-override
25
+ def rentals_contents_override(rentals_content_override)
26
+ get("rentals_contents_overrides/#{rentals_content_override}").pop
27
+ end
28
+
29
+ # Create a rentals_contents_override
30
+ #
31
+ # @param application [BookingSync::API::Resource|Integer] Application object or ID
32
+ # for which the rentals contents override will be created.
33
+ # @param rental [BookingSync::API::Resource|Integer] Rental object or ID
34
+ # for which the rentals contents override will be created.
35
+ # @param options [Hash] Rentals Contents Override attributes.
36
+ # @return [BookingSync::API::Resource] Newly created Rentals Contents Override.
37
+ # @example Create a rentals contents override.
38
+ # @api.create_rentals_contents_override(1,, 12 { description_en: "Overriden English description" })
39
+ # Overrides rental's (with id 12) description in English only for application with id 1.
40
+ # @see http://developers.bookingsync.com/reference/endpoints/rentals_contents_overrides/#create-a-new-rentals-content-override
41
+ def create_rentals_contents_override(application, rental, options = {})
42
+ post("rentals_contents_overrides", rentals_contents_overrides: [
43
+ options.merge(application_id: application.to_s.to_i, rental_id: rental.to_s.to_i)
44
+ ]).pop
45
+ end
46
+
47
+ # Edit a rentals_contents_override
48
+ #
49
+ # @param rentals_contents_override [BookingSync::API::Resource|Integer] RentalsContentsOverride or ID of
50
+ # the rentals_contents_override to be updated.
51
+ # @param options [Hash] rentals_contents_override attributes to be updated.
52
+ # @return [BookingSync::API::Resource] Updated rentals_contents_override on success,
53
+ # exception is raised otherwise.
54
+ # @example
55
+ # rentals_contents_override = @api.rentals_contents_overrides.first
56
+ # @api.edit_rentals_contents_override(rentals_contents_override, { summary_en: "Override English summary" })
57
+ # @see http://developers.bookingsync.com/reference/endpoints/rentals_contents_overrides/#update-a-rentals-content-override
58
+ def edit_rentals_contents_override(rentals_contents_override, options = {})
59
+ put("rentals_contents_overrides/#{rentals_contents_override}", rentals_contents_overrides: [options]).pop
60
+ end
61
+
62
+ # Delete a rentals_contents_override
63
+ #
64
+ # @param rentals_contents_override [BookingSync::API::Resource|Integer] RentalsContentsOverride or ID
65
+ # of the rentals_contents_override to be deleted.
66
+ # @return [NilClass] Returns nil on success.
67
+ def delete_rentals_contents_override(rentals_contents_override)
68
+ delete "rentals_contents_overrides/#{rentals_contents_override}"
69
+ end
70
+ end
71
+ end
72
+ end
@@ -1,5 +1,5 @@
1
1
  module BookingSync
2
2
  module API
3
- VERSION = "0.1.7"
3
+ VERSION = "0.1.8"
4
4
  end
5
5
  end
@@ -0,0 +1,25 @@
1
+ require "spec_helper"
2
+
3
+ describe BookingSync::API::Client::BookingsTags do
4
+ let(:client) { BookingSync::API::Client.new(test_access_token) }
5
+
6
+ before { |ex| @casette_base_path = casette_path(casette_dir, ex.metadata) }
7
+
8
+ describe ".bookings_tags", :vcr do
9
+ it "returns bookings tags" do
10
+ expect(client.bookings_tags).not_to be_empty
11
+ assert_requested :get, bs_url("bookings_tags")
12
+ end
13
+ end
14
+
15
+ describe ".bookings_tag", :vcr do
16
+ let(:prefetched_bookings_tag_id) {
17
+ find_resource("#{@casette_base_path}_bookings_tags/returns_bookings_tags.yml", "bookings_tags")[:id]
18
+ }
19
+
20
+ it "returns a single bookings_tag" do
21
+ bookings_tag = client.bookings_tag(prefetched_bookings_tag_id)
22
+ expect(bookings_tag.id).to eq prefetched_bookings_tag_id
23
+ end
24
+ end
25
+ end
@@ -0,0 +1,84 @@
1
+ require "spec_helper"
2
+
3
+ describe BookingSync::API::Client::RentalsContentsOverrides do
4
+ let(:client) { BookingSync::API::Client.new(test_access_token) }
5
+
6
+ before { |ex| @casette_base_path = casette_path(casette_dir, ex.metadata) }
7
+
8
+ describe "#rentals_contents_overrides", :vcr do
9
+ it "returns rentals contents overrides" do
10
+ expect(client.rentals_contents_overrides).not_to be_empty
11
+ assert_requested :get, bs_url("rentals_contents_overrides")
12
+ end
13
+
14
+ describe "links" do
15
+ it "returns associated rental" do
16
+ rentals_contents_override = client.rentals_contents_overrides.first
17
+ expect(rentals_contents_override.rental).not_to be_empty
18
+ end
19
+ end
20
+ end
21
+
22
+ describe "#rentals_contents_override", :vcr do
23
+ let(:prefetched_rentals_contents_override_id) {
24
+ find_resource("#{@casette_base_path}_rentals_contents_overrides/returns_rentals_contents_overrides.yml", "rentals_contents_overrides")[:id]
25
+ }
26
+
27
+ it "returns rentals_contents_override" do
28
+ rentals_contents_override = client.rentals_contents_override(prefetched_rentals_contents_override_id)
29
+ expect(rentals_contents_override.headline.en).not_to be_empty
30
+ assert_requested :get, bs_url("rentals_contents_overrides/#{prefetched_rentals_contents_override_id}")
31
+ end
32
+ end
33
+
34
+ describe "#create_rentals_contents_override", :vcr do
35
+ let(:attributes) { { summary_en: "english summary" } }
36
+ let(:application) { BookingSync::API::Resource.new(client, id: 65) }
37
+ let(:rental) { BookingSync::API::Resource.new(client, id: 5116) }
38
+
39
+ it "creates a new rentals_contents_override" do
40
+ client.create_rentals_contents_override(application, rental, attributes)
41
+ assert_requested :post, bs_url("rentals_contents_overrides"),
42
+ body: { rentals_contents_overrides: [attributes.merge(application_id: application.id, rental_id: rental.id)] }.to_json
43
+ end
44
+
45
+ it "returns newly created rentals_contents_override" do
46
+ VCR.use_cassette("BookingSync_API_Client_RentalsContentsOverrides/_create_rentals_contents_override/creates_a_new_rentals_contents_override") do
47
+ rentals_contents_override = client.create_rentals_contents_override(application, rental, attributes)
48
+ expect(rentals_contents_override.summary).to eq(en: "english summary")
49
+ end
50
+ end
51
+ end
52
+
53
+ describe "#edit_rentals_contents_override", :vcr do
54
+ let(:attributes) { { summary_en: "new english summary" } }
55
+ let(:created_rentals_contents_override_id) {
56
+ find_resource("#{@casette_base_path}_create_rentals_contents_override/creates_a_new_rentals_contents_override.yml", "rentals_contents_overrides")[:id]
57
+ }
58
+
59
+ it "updates given rentals_contents_override by ID" do
60
+ client.edit_rentals_contents_override(created_rentals_contents_override_id, attributes)
61
+ assert_requested :put, bs_url("rentals_contents_overrides/#{created_rentals_contents_override_id}"),
62
+ body: { rentals_contents_overrides: [attributes] }.to_json
63
+ end
64
+
65
+ it "returns updated rentals_contents_override" do
66
+ VCR.use_cassette("BookingSync_API_Client_RentalsContentsOverrides/_edit_rentals_contents_override/updates_given_rentals_contents_override_by_ID") do
67
+ rentals_contents_override = client.edit_rentals_contents_override(created_rentals_contents_override_id, attributes)
68
+ expect(rentals_contents_override).to be_kind_of(BookingSync::API::Resource)
69
+ expect(rentals_contents_override.summary).to eq(en: "new english summary")
70
+ end
71
+ end
72
+ end
73
+
74
+ describe "#delete_rentals_contents_override", :vcr do
75
+ let(:created_rentals_contents_override_id) {
76
+ find_resource("#{@casette_base_path}_create_rentals_contents_override/creates_a_new_rentals_contents_override.yml", "rentals_contents_overrides")[:id]
77
+ }
78
+
79
+ it "deletes given rentals_contents_override" do
80
+ client.delete_rentals_contents_override(created_rentals_contents_override_id)
81
+ assert_requested :delete, bs_url("rentals_contents_overrides/#{created_rentals_contents_override_id}")
82
+ end
83
+ end
84
+ end
@@ -0,0 +1,87 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://www.bookingsync.com/api/v3/bookings_tags/587
6
+ body:
7
+ encoding: UTF-8
8
+ string: "{}"
9
+ headers:
10
+ User-Agent:
11
+ - BookingSync API gem v0.1.5
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
+ Server:
30
+ - nginx
31
+ Date:
32
+ - Tue, 29 Aug 2017 07:05:55 GMT
33
+ Content-Type:
34
+ - application/vnd.api+json; charset=utf-8
35
+ Transfer-Encoding:
36
+ - chunked
37
+ Connection:
38
+ - keep-alive
39
+ X-Frame-Options:
40
+ - SAMEORIGIN
41
+ X-Xss-Protection:
42
+ - 1; mode=block
43
+ X-Content-Type-Options:
44
+ - nosniff
45
+ X-Updated-Since-Request-Synced-At:
46
+ - 2017-08-29 07:05:55 UTC
47
+ X-Ratelimit-Limit:
48
+ - '10000'
49
+ X-Ratelimit-Reset:
50
+ - '1503993600'
51
+ X-Ratelimit-Remaining:
52
+ - '9997'
53
+ Link:
54
+ - <https://www.bookingsync.com/api/v3/bookings_tags/587?page=1>; rel="first",
55
+ <https://www.bookingsync.com/api/v3/bookings_tags/587?page=1>; rel="last"
56
+ X-Total-Pages:
57
+ - '1'
58
+ X-Total-Count:
59
+ - '1'
60
+ X-Per-Page:
61
+ - '100'
62
+ Etag:
63
+ - W/"b73b213eea630f7ac4e3b07116cdf6b0"
64
+ Cache-Control:
65
+ - max-age=0, private, must-revalidate
66
+ P3p:
67
+ - CP="OTI DSP COR CUR ADMo DEVo TAI PSAi PSDi IVAi IVDi CONi HISi TELi OTPi
68
+ OUR SAMi OTRo UNRo PUBi IND UNI STA"
69
+ Set-Cookie:
70
+ - ahoy_track=true; path=/; secure
71
+ - ahoy_visit=8fd7aed8-f4b7-4d02-88b4-21a13b6011ff; path=/; expires=Tue, 05 Sep
72
+ 2017 07:05:55 -0000; secure
73
+ - ahoy_visitor=b7a466cb-4140-49ec-959f-13ddb6e9838c; path=/; expires=Thu, 29
74
+ Aug 2019 07:05:55 -0000; secure
75
+ X-Request-Id:
76
+ - 608abe9f-82a8-4933-864e-58165c6e8ca2
77
+ X-Runtime:
78
+ - '0.038042'
79
+ Strict-Transport-Security:
80
+ - max-age=31536000
81
+ body:
82
+ encoding: UTF-8
83
+ string: '{"links":{"bookings_tags.account":"https://www.bookingsync.com/api/v3/accounts/{bookings_tags.account}"},"bookings_tags":[{"links":{"account":9123},"id":587,"name":{"en":"with
84
+ pets"},"color":"#6666ff","logo":"fa-group","created_at":"2016-11-29T08:31:16Z","updated_at":"2017-08-29T06:48:09Z"}],"meta":{"Link":{"first":"https://www.bookingsync.com/api/v3/bookings_tags/587?page=1","last":"https://www.bookingsync.com/api/v3/bookings_tags/587?page=1"},"X-Total-Pages":"1","X-Total-Count":"1","X-Per-Page":"100"}}'
85
+ http_version:
86
+ recorded_at: Tue, 29 Aug 2017 07:05:56 GMT
87
+ recorded_with: VCR 3.0.3
@@ -0,0 +1,87 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://www.bookingsync.com/api/v3/bookings_tags
6
+ body:
7
+ encoding: UTF-8
8
+ string: "{}"
9
+ headers:
10
+ User-Agent:
11
+ - BookingSync API gem v0.1.5
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
+ Server:
30
+ - nginx
31
+ Date:
32
+ - Tue, 29 Aug 2017 07:05:55 GMT
33
+ Content-Type:
34
+ - application/vnd.api+json; charset=utf-8
35
+ Transfer-Encoding:
36
+ - chunked
37
+ Connection:
38
+ - keep-alive
39
+ X-Frame-Options:
40
+ - SAMEORIGIN
41
+ X-Xss-Protection:
42
+ - 1; mode=block
43
+ X-Content-Type-Options:
44
+ - nosniff
45
+ X-Updated-Since-Request-Synced-At:
46
+ - 2017-08-29 07:05:55 UTC
47
+ X-Ratelimit-Limit:
48
+ - '10000'
49
+ X-Ratelimit-Reset:
50
+ - '1503993600'
51
+ X-Ratelimit-Remaining:
52
+ - '9998'
53
+ Link:
54
+ - <https://www.bookingsync.com/api/v3/bookings_tags?page=1>; rel="first", <https://www.bookingsync.com/api/v3/bookings_tags?page=1>;
55
+ rel="last"
56
+ X-Total-Pages:
57
+ - '1'
58
+ X-Total-Count:
59
+ - '1'
60
+ X-Per-Page:
61
+ - '100'
62
+ Etag:
63
+ - W/"5323ddfb1a903ebcfe004e9699821c42"
64
+ Cache-Control:
65
+ - max-age=0, private, must-revalidate
66
+ P3p:
67
+ - CP="OTI DSP COR CUR ADMo DEVo TAI PSAi PSDi IVAi IVDi CONi HISi TELi OTPi
68
+ OUR SAMi OTRo UNRo PUBi IND UNI STA"
69
+ Set-Cookie:
70
+ - ahoy_track=true; path=/; secure
71
+ - ahoy_visit=389c6164-e670-40ba-af29-a1df3e878e0f; path=/; expires=Tue, 05 Sep
72
+ 2017 07:05:55 -0000; secure
73
+ - ahoy_visitor=7cb890fb-bbff-4dd4-b93a-f2976559a874; path=/; expires=Thu, 29
74
+ Aug 2019 07:05:55 -0000; secure
75
+ X-Request-Id:
76
+ - f4bc3414-60ef-4153-b903-5dd1a653c3aa
77
+ X-Runtime:
78
+ - '0.028213'
79
+ Strict-Transport-Security:
80
+ - max-age=31536000
81
+ body:
82
+ encoding: UTF-8
83
+ string: '{"links":{"bookings_tags.account":"https://www.bookingsync.com/api/v3/accounts/{bookings_tags.account}"},"bookings_tags":[{"links":{"account":9123},"id":587,"name":{"en":"with
84
+ pets"},"color":"#6666ff","logo":"fa-group","created_at":"2016-11-29T08:31:16Z","updated_at":"2017-08-29T06:48:09Z"}],"meta":{"Link":{"first":"https://www.bookingsync.com/api/v3/bookings_tags?page=1","last":"https://www.bookingsync.com/api/v3/bookings_tags?page=1"},"X-Total-Pages":"1","X-Total-Count":"1","X-Per-Page":"100"}}'
85
+ http_version:
86
+ recorded_at: Tue, 29 Aug 2017 07:05:55 GMT
87
+ recorded_with: VCR 3.0.3
@@ -0,0 +1,85 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://www.bookingsync.com/api/v3/rentals_contents_overrides
6
+ body:
7
+ encoding: UTF-8
8
+ string: '{"rentals_contents_overrides":[{"summary_en":"english summary","application_id":"65","rental_id":"5116"}]}'
9
+ headers:
10
+ User-Agent:
11
+ - BookingSync API gem v0.1.6
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
+ Server:
30
+ - nginx
31
+ Date:
32
+ - Mon, 27 Nov 2017 14:27:11 GMT
33
+ Content-Type:
34
+ - application/vnd.api+json; charset=utf-8
35
+ Transfer-Encoding:
36
+ - chunked
37
+ Connection:
38
+ - keep-alive
39
+ X-Frame-Options:
40
+ - SAMEORIGIN
41
+ X-Xss-Protection:
42
+ - 1; mode=block
43
+ X-Content-Type-Options:
44
+ - nosniff
45
+ X-Updated-Since-Request-Synced-At:
46
+ - 2017-11-27 14:27:11 UTC
47
+ X-Ratelimit-Limit:
48
+ - '130000'
49
+ X-Ratelimit-Reset:
50
+ - '1511794800'
51
+ X-Ratelimit-Remaining:
52
+ - '86622'
53
+ Link:
54
+ - <https://www.bookingsync.com/api/v3/rentals_contents_overrides?page=1&rentals_contents_overrides%5B%5D%5Bapplication_id%5D=65&rentals_contents_overrides%5B%5D%5Brental_id%5D=5116&rentals_contents_overrides%5B%5D%5Bsummary_en%5D=english+summary>;
55
+ rel="first"
56
+ X-Per-Page:
57
+ - '100'
58
+ Location:
59
+ - https://www.bookingsync.com/api/v3/rentals_contents_overrides/2280
60
+ Etag:
61
+ - W/"f1a57a77630b7e4fe50337ae8b8a5265"
62
+ Cache-Control:
63
+ - max-age=0, private, must-revalidate
64
+ P3p:
65
+ - CP="OTI DSP COR CUR ADMo DEVo TAI PSAi PSDi IVAi IVDi CONi HISi TELi OTPi
66
+ OUR SAMi OTRo UNRo PUBi IND UNI STA"
67
+ Set-Cookie:
68
+ - ahoy_track=true; path=/; secure
69
+ - ahoy_visit=eaa8d6bc-0052-4a34-b55d-b7bd4a815af8; path=/; expires=Mon, 04 Dec
70
+ 2017 14:27:11 -0000; secure
71
+ - ahoy_visitor=1ea73633-8847-462b-b017-8744cc837fa8; path=/; expires=Wed, 27
72
+ Nov 2019 14:27:11 -0000; secure
73
+ X-Request-Id:
74
+ - 2b91c487-2eb5-4df1-876f-ae900ccb83dc
75
+ X-Runtime:
76
+ - '0.078326'
77
+ Strict-Transport-Security:
78
+ - max-age=31536000
79
+ body:
80
+ encoding: UTF-8
81
+ string: '{"links":{"rentals_contents_overrides.application":"https://www.bookingsync.com/api/v3/applications/{rentals_contents_overrides.application}","rentals_contents_overrides.rental":"https://www.bookingsync.com/api/v3/rentals/{rentals_contents_overrides.rental}"},"rentals_contents_overrides":[{"links":{"application":65,"rental":5116},"id":2280,"headline":{},"summary":{"en":"english
82
+ summary"},"description":{},"created_at":"2017-11-27T14:27:11Z","updated_at":"2017-11-27T14:27:11Z"}],"meta":{"Link":{"first":"https://www.bookingsync.com/api/v3/rentals_contents_overrides?page=1&rentals_contents_overrides%5B%5D%5Bapplication_id%5D=65&rentals_contents_overrides%5B%5D%5Brental_id%5D=5116&rentals_contents_overrides%5B%5D%5Bsummary_en%5D=english+summary"},"X-Total-Pages":null,"X-Total-Count":null,"X-Per-Page":"100"}}'
83
+ http_version:
84
+ recorded_at: Mon, 27 Nov 2017 14:27:11 GMT
85
+ recorded_with: VCR 3.0.3
@@ -0,0 +1,71 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: delete
5
+ uri: https://www.bookingsync.com/api/v3/rentals_contents_overrides/2280
6
+ body:
7
+ encoding: UTF-8
8
+ string: "{}"
9
+ headers:
10
+ User-Agent:
11
+ - BookingSync API gem v0.1.6
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: 204
27
+ message: No Content
28
+ headers:
29
+ Server:
30
+ - nginx
31
+ Date:
32
+ - Mon, 27 Nov 2017 14:33:11 GMT
33
+ Connection:
34
+ - keep-alive
35
+ X-Frame-Options:
36
+ - SAMEORIGIN
37
+ X-Xss-Protection:
38
+ - 1; mode=block
39
+ X-Content-Type-Options:
40
+ - nosniff
41
+ X-Updated-Since-Request-Synced-At:
42
+ - 2017-11-27 14:33:11 UTC
43
+ X-Ratelimit-Limit:
44
+ - '130000'
45
+ X-Ratelimit-Reset:
46
+ - '1511794800'
47
+ X-Ratelimit-Remaining:
48
+ - '81818'
49
+ Cache-Control:
50
+ - no-cache
51
+ P3p:
52
+ - CP="OTI DSP COR CUR ADMo DEVo TAI PSAi PSDi IVAi IVDi CONi HISi TELi OTPi
53
+ OUR SAMi OTRo UNRo PUBi IND UNI STA"
54
+ Set-Cookie:
55
+ - ahoy_track=true; path=/; secure
56
+ - ahoy_visit=34a8a623-4b9f-4dc3-a483-655d5ed36d22; path=/; expires=Mon, 04 Dec
57
+ 2017 14:33:11 -0000; secure
58
+ - ahoy_visitor=11f00d14-24dc-4a4d-95c1-f57fd835aa8c; path=/; expires=Wed, 27
59
+ Nov 2019 14:33:11 -0000; secure
60
+ X-Request-Id:
61
+ - 5f9e1c8d-f24f-44d0-8081-9810ea68e96e
62
+ X-Runtime:
63
+ - '0.047088'
64
+ Strict-Transport-Security:
65
+ - max-age=31536000
66
+ body:
67
+ encoding: UTF-8
68
+ string: ''
69
+ http_version:
70
+ recorded_at: Mon, 27 Nov 2017 14:33:11 GMT
71
+ recorded_with: VCR 3.0.3
@@ -0,0 +1,80 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: put
5
+ uri: https://www.bookingsync.com/api/v3/rentals_contents_overrides/2280
6
+ body:
7
+ encoding: UTF-8
8
+ string: '{"rentals_contents_overrides":[{"summary_en":"new english summary"}]}'
9
+ headers:
10
+ User-Agent:
11
+ - BookingSync API gem v0.1.6
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
+ Server:
30
+ - nginx
31
+ Date:
32
+ - Mon, 27 Nov 2017 14:32:36 GMT
33
+ Content-Type:
34
+ - application/vnd.api+json; charset=utf-8
35
+ Transfer-Encoding:
36
+ - chunked
37
+ Connection:
38
+ - keep-alive
39
+ X-Frame-Options:
40
+ - SAMEORIGIN
41
+ X-Xss-Protection:
42
+ - 1; mode=block
43
+ X-Content-Type-Options:
44
+ - nosniff
45
+ X-Updated-Since-Request-Synced-At:
46
+ - 2017-11-27 14:32:36 UTC
47
+ X-Ratelimit-Limit:
48
+ - '130000'
49
+ X-Ratelimit-Reset:
50
+ - '1511794800'
51
+ X-Ratelimit-Remaining:
52
+ - '82358'
53
+ Location:
54
+ - https://www.bookingsync.com/api/v3/rentals_contents_overrides/2280
55
+ Etag:
56
+ - W/"616c177b66ee7b9cff6923a6bff5bf89"
57
+ Cache-Control:
58
+ - max-age=0, private, must-revalidate
59
+ P3p:
60
+ - CP="OTI DSP COR CUR ADMo DEVo TAI PSAi PSDi IVAi IVDi CONi HISi TELi OTPi
61
+ OUR SAMi OTRo UNRo PUBi IND UNI STA"
62
+ Set-Cookie:
63
+ - ahoy_track=true; path=/; secure
64
+ - ahoy_visit=2693c29b-b408-476e-b7be-5a79d57482bd; path=/; expires=Mon, 04 Dec
65
+ 2017 14:32:36 -0000; secure
66
+ - ahoy_visitor=de06d60f-b3aa-4063-a646-c446d087f383; path=/; expires=Wed, 27
67
+ Nov 2019 14:32:36 -0000; secure
68
+ X-Request-Id:
69
+ - 1b5007a3-3deb-4717-aba0-26885dd3d3b3
70
+ X-Runtime:
71
+ - '0.142591'
72
+ Strict-Transport-Security:
73
+ - max-age=31536000
74
+ body:
75
+ encoding: UTF-8
76
+ string: '{"links":{"rentals_contents_overrides.application":"https://www.bookingsync.com/api/v3/applications/{rentals_contents_overrides.application}","rentals_contents_overrides.rental":"https://www.bookingsync.com/api/v3/rentals/{rentals_contents_overrides.rental}"},"rentals_contents_overrides":[{"links":{"application":65,"rental":5116},"id":2280,"headline":{},"summary":{"en":"new
77
+ english summary"},"description":{},"created_at":"2017-11-27T14:27:11Z","updated_at":"2017-11-27T14:32:36Z"}],"meta":{}}'
78
+ http_version:
79
+ recorded_at: Mon, 27 Nov 2017 14:32:36 GMT
80
+ recorded_with: VCR 3.0.3
@@ -0,0 +1,88 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://www.bookingsync.com/api/v3/rentals_contents_overrides/2279
6
+ body:
7
+ encoding: UTF-8
8
+ string: "{}"
9
+ headers:
10
+ User-Agent:
11
+ - BookingSync API gem v0.1.6
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
+ Server:
30
+ - nginx
31
+ Date:
32
+ - Mon, 27 Nov 2017 14:15:50 GMT
33
+ Content-Type:
34
+ - application/vnd.api+json; charset=utf-8
35
+ Transfer-Encoding:
36
+ - chunked
37
+ Connection:
38
+ - keep-alive
39
+ X-Frame-Options:
40
+ - SAMEORIGIN
41
+ X-Xss-Protection:
42
+ - 1; mode=block
43
+ X-Content-Type-Options:
44
+ - nosniff
45
+ X-Updated-Since-Request-Synced-At:
46
+ - 2017-11-27 14:15:50 UTC
47
+ X-Ratelimit-Limit:
48
+ - '100000'
49
+ X-Ratelimit-Reset:
50
+ - '1511794800'
51
+ X-Ratelimit-Remaining:
52
+ - '89038'
53
+ Link:
54
+ - <https://www.bookingsync.com/api/v3/rentals_contents_overrides/2279?page=1>;
55
+ rel="first", <https://www.bookingsync.com/api/v3/rentals_contents_overrides/2279?page=1>;
56
+ rel="last"
57
+ X-Total-Pages:
58
+ - '1'
59
+ X-Total-Count:
60
+ - '1'
61
+ X-Per-Page:
62
+ - '100'
63
+ Etag:
64
+ - W/"24dce481291b0cf29ada47a4045c7201"
65
+ Cache-Control:
66
+ - max-age=0, private, must-revalidate
67
+ P3p:
68
+ - CP="OTI DSP COR CUR ADMo DEVo TAI PSAi PSDi IVAi IVDi CONi HISi TELi OTPi
69
+ OUR SAMi OTRo UNRo PUBi IND UNI STA"
70
+ Set-Cookie:
71
+ - ahoy_track=true; path=/; secure
72
+ - ahoy_visit=0092e142-81c9-422c-949b-afae4cb2bd70; path=/; expires=Mon, 04 Dec
73
+ 2017 14:15:50 -0000; secure
74
+ - ahoy_visitor=4f650db9-3d1a-4c1c-bd8e-d6a77b4d3cb4; path=/; expires=Wed, 27
75
+ Nov 2019 14:15:50 -0000; secure
76
+ X-Request-Id:
77
+ - 09a84c65-b77e-4ff5-b9da-dda121251d05
78
+ X-Runtime:
79
+ - '0.055654'
80
+ Strict-Transport-Security:
81
+ - max-age=31536000
82
+ body:
83
+ encoding: UTF-8
84
+ string: '{"links":{"rentals_contents_overrides.application":"https://www.bookingsync.com/api/v3/applications/{rentals_contents_overrides.application}","rentals_contents_overrides.rental":"https://www.bookingsync.com/api/v3/rentals/{rentals_contents_overrides.rental}"},"rentals_contents_overrides":[{"links":{"application":31,"rental":5117},"id":2279,"headline":{"en":"custom
85
+ english headline"},"summary":{},"description":{},"created_at":"2017-11-27T13:33:09Z","updated_at":"2017-11-27T13:34:00Z"}],"meta":{"Link":{"first":"https://www.bookingsync.com/api/v3/rentals_contents_overrides/2279?page=1","last":"https://www.bookingsync.com/api/v3/rentals_contents_overrides/2279?page=1"},"X-Total-Pages":"1","X-Total-Count":"1","X-Per-Page":"100"}}'
86
+ http_version:
87
+ recorded_at: Mon, 27 Nov 2017 14:15:50 GMT
88
+ recorded_with: VCR 3.0.3
@@ -0,0 +1,322 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://www.bookingsync.com/api/v3/rentals_contents_overrides
6
+ body:
7
+ encoding: UTF-8
8
+ string: "{}"
9
+ headers:
10
+ User-Agent:
11
+ - BookingSync API gem v0.1.6
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
+ Server:
30
+ - nginx
31
+ Date:
32
+ - Mon, 27 Nov 2017 14:11:58 GMT
33
+ Content-Type:
34
+ - application/vnd.api+json; charset=utf-8
35
+ Transfer-Encoding:
36
+ - chunked
37
+ Connection:
38
+ - keep-alive
39
+ X-Frame-Options:
40
+ - SAMEORIGIN
41
+ X-Xss-Protection:
42
+ - 1; mode=block
43
+ X-Content-Type-Options:
44
+ - nosniff
45
+ X-Updated-Since-Request-Synced-At:
46
+ - 2017-11-27 14:11:58 UTC
47
+ X-Ratelimit-Limit:
48
+ - '100000'
49
+ X-Ratelimit-Reset:
50
+ - '1511794800'
51
+ X-Ratelimit-Remaining:
52
+ - '91464'
53
+ Link:
54
+ - <https://www.bookingsync.com/api/v3/rentals_contents_overrides?page=1>; rel="first",
55
+ <https://www.bookingsync.com/api/v3/rentals_contents_overrides?page=1>; rel="last"
56
+ X-Total-Pages:
57
+ - '1'
58
+ X-Total-Count:
59
+ - '1'
60
+ X-Per-Page:
61
+ - '100'
62
+ Etag:
63
+ - W/"05b26b2b205fa2025a61d8271161c1fd"
64
+ Cache-Control:
65
+ - max-age=0, private, must-revalidate
66
+ P3p:
67
+ - CP="OTI DSP COR CUR ADMo DEVo TAI PSAi PSDi IVAi IVDi CONi HISi TELi OTPi
68
+ OUR SAMi OTRo UNRo PUBi IND UNI STA"
69
+ Set-Cookie:
70
+ - ahoy_track=true; path=/; secure
71
+ - ahoy_visit=f8777b11-3b4a-4949-ba2e-baef9bf26f46; path=/; expires=Mon, 04 Dec
72
+ 2017 14:11:58 -0000; secure
73
+ - ahoy_visitor=aa9d2273-3d8b-44f0-a5d8-04da89e05bcb; path=/; expires=Wed, 27
74
+ Nov 2019 14:11:58 -0000; secure
75
+ X-Request-Id:
76
+ - 154884e4-6cd8-459c-9043-b67e58def96c
77
+ X-Runtime:
78
+ - '0.050862'
79
+ Strict-Transport-Security:
80
+ - max-age=31536000
81
+ body:
82
+ encoding: UTF-8
83
+ string: '{"links":{"rentals_contents_overrides.application":"https://www.bookingsync.com/api/v3/applications/{rentals_contents_overrides.application}","rentals_contents_overrides.rental":"https://www.bookingsync.com/api/v3/rentals/{rentals_contents_overrides.rental}"},"rentals_contents_overrides":[{"links":{"application":31,"rental":5117},"id":2279,"headline":{"en":"custom
84
+ english headline"},"summary":{},"description":{},"created_at":"2017-11-27T13:33:09Z","updated_at":"2017-11-27T13:34:00Z"}],"meta":{"Link":{"first":"https://www.bookingsync.com/api/v3/rentals_contents_overrides?page=1","last":"https://www.bookingsync.com/api/v3/rentals_contents_overrides?page=1"},"X-Total-Pages":"1","X-Total-Count":"1","X-Per-Page":"100"}}'
85
+ http_version:
86
+ recorded_at: Mon, 27 Nov 2017 14:11:58 GMT
87
+ - request:
88
+ method: get
89
+ uri: https://www.bookingsync.com/api/v3/rentals/5117
90
+ body:
91
+ encoding: UTF-8
92
+ string: "{}"
93
+ headers:
94
+ User-Agent:
95
+ - BookingSync API gem v0.1.6
96
+ Accept:
97
+ - application/vnd.api+json
98
+ Content-Type:
99
+ - application/vnd.api+json
100
+ Authorization:
101
+ - Bearer <<ACCESS_TOKEN>>
102
+ Accept-Encoding:
103
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
104
+ Connection:
105
+ - keep-alive
106
+ Keep-Alive:
107
+ - 30
108
+ response:
109
+ status:
110
+ code: 200
111
+ message: OK
112
+ headers:
113
+ Server:
114
+ - nginx
115
+ Date:
116
+ - Mon, 27 Nov 2017 14:11:59 GMT
117
+ Content-Type:
118
+ - application/vnd.api+json; charset=utf-8
119
+ Transfer-Encoding:
120
+ - chunked
121
+ Connection:
122
+ - keep-alive
123
+ X-Frame-Options:
124
+ - SAMEORIGIN
125
+ X-Xss-Protection:
126
+ - 1; mode=block
127
+ X-Content-Type-Options:
128
+ - nosniff
129
+ X-Updated-Since-Request-Synced-At:
130
+ - 2017-11-27 14:11:58 UTC
131
+ X-Ratelimit-Limit:
132
+ - '100000'
133
+ X-Ratelimit-Reset:
134
+ - '1511794800'
135
+ X-Ratelimit-Remaining:
136
+ - '91455'
137
+ Link:
138
+ - <https://www.bookingsync.com/api/v3/rentals/5117?page=1>; rel="first", <https://www.bookingsync.com/api/v3/rentals/5117?page=1>;
139
+ rel="last"
140
+ X-Total-Pages:
141
+ - '1'
142
+ X-Total-Count:
143
+ - '1'
144
+ X-Per-Page:
145
+ - '50'
146
+ Etag:
147
+ - W/"4db70530c8e1bfa51f5a797f8ede53e4"
148
+ Cache-Control:
149
+ - max-age=0, private, must-revalidate
150
+ P3p:
151
+ - CP="OTI DSP COR CUR ADMo DEVo TAI PSAi PSDi IVAi IVDi CONi HISi TELi OTPi
152
+ OUR SAMi OTRo UNRo PUBi IND UNI STA"
153
+ Set-Cookie:
154
+ - ahoy_track=true; path=/; secure
155
+ - ahoy_visit=10a0763e-60a9-4f6e-b000-7f6ab3e281d8; path=/; expires=Mon, 04 Dec
156
+ 2017 14:11:58 -0000; secure
157
+ - ahoy_visitor=dcaaf6f4-6b7e-46c9-a42d-21858d20fff9; path=/; expires=Wed, 27
158
+ Nov 2019 14:11:58 -0000; secure
159
+ X-Request-Id:
160
+ - 7b618eb5-816e-4315-86e8-2062157f28dc
161
+ X-Runtime:
162
+ - '0.294486'
163
+ Strict-Transport-Security:
164
+ - max-age=31536000
165
+ body:
166
+ encoding: ASCII-8BIT
167
+ string: !binary |-
168
+ eyJsaW5rcyI6eyJyZW50YWxzLmFjY291bnQiOiJodHRwczovL3d3dy5ib29r
169
+ aW5nc3luYy5jb20vYXBpL3YzL2FjY291bnRzL3tyZW50YWxzLmFjY291bnR9
170
+ IiwicmVudGFscy5hdmFpbGFiaWxpdHkiOiJodHRwczovL3d3dy5ib29raW5n
171
+ c3luYy5jb20vYXBpL3YzL2F2YWlsYWJpbGl0aWVzL3tyZW50YWxzLmF2YWls
172
+ YWJpbGl0eX0iLCJyZW50YWxzLmNoYW5nZV9vdmVyIjoiaHR0cHM6Ly93d3cu
173
+ Ym9va2luZ3N5bmMuY29tL2FwaS92My9jaGFuZ2Vfb3ZlcnMve3JlbnRhbHMu
174
+ Y2hhbmdlX292ZXJ9IiwicmVudGFscy5kZXN0aW5hd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mNvbS9hcGkvdjMvcmV2aWV3cy97cmVudGFs
192
+ cy5yZXZpZXdzfSIsInJlbnRhbHMuc3BlY2lhbF9vZmZlcnMiOiJodHRwczov
193
+ L3d3dy5ib29raW5nc3luYy5jb20vYXBpL3YzL3NwZWNpYWxfb2ZmZXJzL3ty
194
+ ZW50YWxzLnNwZWNpYWxfb2ZmZXJzfSIsInJlbnRhbHMucmF0ZXMiOiJodHRw
195
+ czovL3d3dy5ib29raW5nc3luYy5jb20vYXBpL3YzL3JhdGVzL3tyZW50YWxz
196
+ LnJhdGVzfSIsInJlbnRhbHMucmVudGFsc19hbWVuaXRpZXMiOiJodHRwczov
197
+ L3d3dy5ib29raW5nc3luYy5jb20vYXBpL3YzL3JlbnRhbHNfYW1lbml0aWVz
198
+ L3tyZW50YWxzLnJlbnRhbHNfYW1lbml0aWVzfSIsInJlbnRhbHMucmVudGFs
199
+ c19mZWVzIjoiaHR0cHM6Ly93d3cuYm9va2luZ3N5bmMuY29tL2FwaS92My9y
200
+ ZW50YWxzX2ZlZXMve3JlbnRhbHMucmVudGFsc19mZWVzfSIsInJlbnRhbHMu
201
+ YmF0aHJvb21zIjoiaHR0cHM6Ly93d3cuYm9va2luZ3N5bmMuY29tL2FwaS92
202
+ My9iYXRocm9vbXMve3JlbnRhbHMuYmF0aHJvb21zfSIsInJlbnRhbHMuYmVk
203
+ cm9vbXMiOiJodHRwczovL3d3dy5ib29raW5nc3luYy5jb20vYXBpL3YzL2Jl
204
+ ZHJvb21zL3tyZW50YWxzLmJlZHJvb21zfSIsInJlbnRhbHMubGl2aW5nX3Jv
205
+ b21zIjoiaHR0cHM6Ly93d3cuYm9va2luZ3N5bmMuY29tL2FwaS92My9saXZp
206
+ bmdfcm9vbXMve3JlbnRhbHMubGl2aW5nX3Jvb21zfSIsInJlbnRhbHMucmVu
207
+ dGFsc190YWdzIjoiaHR0cHM6Ly93d3cuYm9va2luZ3N5bmMuY29tL2FwaS92
208
+ My9yZW50YWxzX3RhZ3Mve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Jvd25lcl9lbWFpbCI6
306
+ bnVsbCwib3duZXJfbm90ZXMiOm51bGwsImNoZWNraW5fZGV0YWlscyI6e30s
307
+ ImNoZWNrb3V0X2RldGFpbHMiOnt9LCJiYWxhbmNlX2R1ZSI6MzAsIndlYnNp
308
+ dGVfdXJsIjp7fSwiY2hhcmdlX2RhbWFnZV9kZXBvc2l0X29uX2Fycml2YWwi
309
+ OnRydWUsImZ1bGxfYmF0aHJvb21zX2NvdW50IjowLCJzdGFuZGFsb25lX3Rv
310
+ aWxldHNfY291bnQiOjAsInZyX2JhdGhyb29tc19jb3VudCI6MiwibmlnaHRs
311
+ eV9yYXRlc19tYW5hZ2VkX2V4dGVybmFsbHkiOmZhbHNlLCJyb3VuZGluZ19r
312
+ aW5kIjoibm8tcm91bmRpbmciLCJvcmlnaW5hbF9jdXJyZW5jeSI6IkVVUiIs
313
+ ImV4Y2hhbmdlX3JhdGUiOiIxLjAiLCJwZXJtaXRfbnVtYmVyIjpudWxsLCJh
314
+ YnNvbHV0ZV9taW5fc3RheSI6Mn1dLCJtZXRhIjp7IkxpbmsiOnsiZmlyc3Qi
315
+ OiJodHRwczovL3d3dy5ib29raW5nc3luYy5jb20vYXBpL3YzL3JlbnRhbHMv
316
+ NTExNz9wYWdlPTEiLCJsYXN0IjoiaHR0cHM6Ly93d3cuYm9va2luZ3N5bmMu
317
+ Y29tL2FwaS92My9yZW50YWxzLzUxMTc/cGFnZT0xIn0sIlgtVG90YWwtUGFn
318
+ ZXMiOiIxIiwiWC1Ub3RhbC1Db3VudCI6IjEiLCJYLVBlci1QYWdlIjoiNTAi
319
+ fX0=
320
+ http_version:
321
+ recorded_at: Mon, 27 Nov 2017 14:11:59 GMT
322
+ recorded_with: VCR 3.0.3
@@ -0,0 +1,87 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://www.bookingsync.com/api/v3/rentals_contents_overrides
6
+ body:
7
+ encoding: UTF-8
8
+ string: "{}"
9
+ headers:
10
+ User-Agent:
11
+ - BookingSync API gem v0.1.6
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
+ Server:
30
+ - nginx
31
+ Date:
32
+ - Mon, 27 Nov 2017 14:11:57 GMT
33
+ Content-Type:
34
+ - application/vnd.api+json; charset=utf-8
35
+ Transfer-Encoding:
36
+ - chunked
37
+ Connection:
38
+ - keep-alive
39
+ X-Frame-Options:
40
+ - SAMEORIGIN
41
+ X-Xss-Protection:
42
+ - 1; mode=block
43
+ X-Content-Type-Options:
44
+ - nosniff
45
+ X-Updated-Since-Request-Synced-At:
46
+ - 2017-11-27 14:11:57 UTC
47
+ X-Ratelimit-Limit:
48
+ - '100000'
49
+ X-Ratelimit-Reset:
50
+ - '1511794800'
51
+ X-Ratelimit-Remaining:
52
+ - '91467'
53
+ Link:
54
+ - <https://www.bookingsync.com/api/v3/rentals_contents_overrides?page=1>; rel="first",
55
+ <https://www.bookingsync.com/api/v3/rentals_contents_overrides?page=1>; rel="last"
56
+ X-Total-Pages:
57
+ - '1'
58
+ X-Total-Count:
59
+ - '1'
60
+ X-Per-Page:
61
+ - '100'
62
+ Etag:
63
+ - W/"05b26b2b205fa2025a61d8271161c1fd"
64
+ Cache-Control:
65
+ - max-age=0, private, must-revalidate
66
+ P3p:
67
+ - CP="OTI DSP COR CUR ADMo DEVo TAI PSAi PSDi IVAi IVDi CONi HISi TELi OTPi
68
+ OUR SAMi OTRo UNRo PUBi IND UNI STA"
69
+ Set-Cookie:
70
+ - ahoy_track=true; path=/; secure
71
+ - ahoy_visit=b3ab9904-1d51-4b5b-9f8d-7f67f5f26be4; path=/; expires=Mon, 04 Dec
72
+ 2017 14:11:57 -0000; secure
73
+ - ahoy_visitor=497a6dc1-e450-45dd-997c-85bc46ae5067; path=/; expires=Wed, 27
74
+ Nov 2019 14:11:57 -0000; secure
75
+ X-Request-Id:
76
+ - 00fdefb3-7729-4aa9-b20b-74dea7365a0e
77
+ X-Runtime:
78
+ - '0.062556'
79
+ Strict-Transport-Security:
80
+ - max-age=31536000
81
+ body:
82
+ encoding: UTF-8
83
+ string: '{"links":{"rentals_contents_overrides.application":"https://www.bookingsync.com/api/v3/applications/{rentals_contents_overrides.application}","rentals_contents_overrides.rental":"https://www.bookingsync.com/api/v3/rentals/{rentals_contents_overrides.rental}"},"rentals_contents_overrides":[{"links":{"application":31,"rental":5117},"id":2279,"headline":{"en":"custom
84
+ english headline"},"summary":{},"description":{},"created_at":"2017-11-27T13:33:09Z","updated_at":"2017-11-27T13:34:00Z"}],"meta":{"Link":{"first":"https://www.bookingsync.com/api/v3/rentals_contents_overrides?page=1","last":"https://www.bookingsync.com/api/v3/rentals_contents_overrides?page=1"},"X-Total-Pages":"1","X-Total-Count":"1","X-Per-Page":"100"}}'
85
+ http_version:
86
+ recorded_at: Mon, 27 Nov 2017 14:11:57 GMT
87
+ recorded_with: VCR 3.0.3
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.1.7
4
+ version: 0.1.8
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: 2017-11-30 00:00:00.000000000 Z
11
+ date: 2017-12-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -137,6 +137,7 @@ files:
137
137
  - lib/bookingsync/api/client/bookings.rb
138
138
  - lib/bookingsync/api/client/bookings_fees.rb
139
139
  - lib/bookingsync/api/client/bookings_payments.rb
140
+ - lib/bookingsync/api/client/bookings_tags.rb
140
141
  - lib/bookingsync/api/client/bookings_taxes.rb
141
142
  - lib/bookingsync/api/client/change_overs.rb
142
143
  - lib/bookingsync/api/client/clients.rb
@@ -158,6 +159,7 @@ files:
158
159
  - lib/bookingsync/api/client/rental_cancelation_policy_items.rb
159
160
  - lib/bookingsync/api/client/rentals.rb
160
161
  - lib/bookingsync/api/client/rentals_amenities.rb
162
+ - lib/bookingsync/api/client/rentals_contents_overrides.rb
161
163
  - lib/bookingsync/api/client/rentals_fees.rb
162
164
  - lib/bookingsync/api/client/reviews.rb
163
165
  - lib/bookingsync/api/client/seasons.rb
@@ -181,6 +183,7 @@ files:
181
183
  - spec/bookingsync/api/client/bookings_fees_spec.rb
182
184
  - spec/bookingsync/api/client/bookings_payments_spec.rb
183
185
  - spec/bookingsync/api/client/bookings_spec.rb
186
+ - spec/bookingsync/api/client/bookings_tags_spec.rb
184
187
  - spec/bookingsync/api/client/bookings_taxes_spec.rb
185
188
  - spec/bookingsync/api/client/change_overs_spec.rb
186
189
  - spec/bookingsync/api/client/clients_spec.rb
@@ -201,6 +204,7 @@ files:
201
204
  - spec/bookingsync/api/client/rental_cancelation_policies_spec.rb
202
205
  - spec/bookingsync/api/client/rental_cancelation_policy_items_spec.rb
203
206
  - spec/bookingsync/api/client/rentals_amenities_spec.rb
207
+ - spec/bookingsync/api/client/rentals_contents_overrides_spec.rb
204
208
  - spec/bookingsync/api/client/rentals_fees_spec.rb
205
209
  - spec/bookingsync/api/client/rentals_spec.rb
206
210
  - spec/bookingsync/api/client/reviews_spec.rb
@@ -253,6 +257,8 @@ files:
253
257
  - spec/fixtures/cassettes/BookingSync_API_Client_BookingsFees/_bookings_fees/returns_bookings_fees.yml
254
258
  - spec/fixtures/cassettes/BookingSync_API_Client_BookingsPayments/_bookings_payment/returns_a_single_bookings_payment.yml
255
259
  - spec/fixtures/cassettes/BookingSync_API_Client_BookingsPayments/_bookings_payments/returns_bookings_payments.yml
260
+ - spec/fixtures/cassettes/BookingSync_API_Client_BookingsTags/_bookings_tag/returns_a_single_bookings_tag.yml
261
+ - spec/fixtures/cassettes/BookingSync_API_Client_BookingsTags/_bookings_tags/returns_bookings_tags.yml
256
262
  - spec/fixtures/cassettes/BookingSync_API_Client_BookingsTaxes/_bookings_tax/returns_a_single_bookings_tax.yml
257
263
  - spec/fixtures/cassettes/BookingSync_API_Client_BookingsTaxes/_bookings_taxes/returns_bookings_taxes.yml
258
264
  - spec/fixtures/cassettes/BookingSync_API_Client_ChangeOvers/_change_over/returns_a_single_change_over.yml
@@ -341,6 +347,12 @@ files:
341
347
  - spec/fixtures/cassettes/BookingSync_API_Client_RentalsAmenities/_rentals_amenities/links/returns_associated_rental.yml
342
348
  - spec/fixtures/cassettes/BookingSync_API_Client_RentalsAmenities/_rentals_amenities/returns_rentals_amenities.yml
343
349
  - spec/fixtures/cassettes/BookingSync_API_Client_RentalsAmenities/_rentals_amenity/returns_rentals_amenity.yml
350
+ - spec/fixtures/cassettes/BookingSync_API_Client_RentalsContentsOverrides/_create_rentals_contents_override/creates_a_new_rentals_contents_override.yml
351
+ - spec/fixtures/cassettes/BookingSync_API_Client_RentalsContentsOverrides/_delete_rentals_contents_override/deletes_given_rentals_contents_override.yml
352
+ - spec/fixtures/cassettes/BookingSync_API_Client_RentalsContentsOverrides/_edit_rentals_contents_override/updates_given_rentals_contents_override_by_ID.yml
353
+ - spec/fixtures/cassettes/BookingSync_API_Client_RentalsContentsOverrides/_rentals_contents_override/returns_rentals_contents_override.yml
354
+ - spec/fixtures/cassettes/BookingSync_API_Client_RentalsContentsOverrides/_rentals_contents_overrides/links/returns_associated_rental.yml
355
+ - spec/fixtures/cassettes/BookingSync_API_Client_RentalsContentsOverrides/_rentals_contents_overrides/returns_rentals_contents_overrides.yml
344
356
  - spec/fixtures/cassettes/BookingSync_API_Client_RentalsFees/_create_rentals_fee/creates_a_new_rentals_fee.yml
345
357
  - spec/fixtures/cassettes/BookingSync_API_Client_RentalsFees/_rentals_fee/returns_a_single_rentals_fee.yml
346
358
  - spec/fixtures/cassettes/BookingSync_API_Client_RentalsFees/_rentals_fees/returns_rentals_fees.yml
@@ -402,6 +414,7 @@ test_files:
402
414
  - spec/bookingsync/api/client/bookings_fees_spec.rb
403
415
  - spec/bookingsync/api/client/bookings_payments_spec.rb
404
416
  - spec/bookingsync/api/client/bookings_spec.rb
417
+ - spec/bookingsync/api/client/bookings_tags_spec.rb
405
418
  - spec/bookingsync/api/client/bookings_taxes_spec.rb
406
419
  - spec/bookingsync/api/client/change_overs_spec.rb
407
420
  - spec/bookingsync/api/client/clients_spec.rb
@@ -422,6 +435,7 @@ test_files:
422
435
  - spec/bookingsync/api/client/rental_cancelation_policies_spec.rb
423
436
  - spec/bookingsync/api/client/rental_cancelation_policy_items_spec.rb
424
437
  - spec/bookingsync/api/client/rentals_amenities_spec.rb
438
+ - spec/bookingsync/api/client/rentals_contents_overrides_spec.rb
425
439
  - spec/bookingsync/api/client/rentals_fees_spec.rb
426
440
  - spec/bookingsync/api/client/rentals_spec.rb
427
441
  - spec/bookingsync/api/client/reviews_spec.rb
@@ -474,6 +488,8 @@ test_files:
474
488
  - spec/fixtures/cassettes/BookingSync_API_Client_BookingsFees/_bookings_fees/returns_bookings_fees.yml
475
489
  - spec/fixtures/cassettes/BookingSync_API_Client_BookingsPayments/_bookings_payment/returns_a_single_bookings_payment.yml
476
490
  - spec/fixtures/cassettes/BookingSync_API_Client_BookingsPayments/_bookings_payments/returns_bookings_payments.yml
491
+ - spec/fixtures/cassettes/BookingSync_API_Client_BookingsTags/_bookings_tag/returns_a_single_bookings_tag.yml
492
+ - spec/fixtures/cassettes/BookingSync_API_Client_BookingsTags/_bookings_tags/returns_bookings_tags.yml
477
493
  - spec/fixtures/cassettes/BookingSync_API_Client_BookingsTaxes/_bookings_tax/returns_a_single_bookings_tax.yml
478
494
  - spec/fixtures/cassettes/BookingSync_API_Client_BookingsTaxes/_bookings_taxes/returns_bookings_taxes.yml
479
495
  - spec/fixtures/cassettes/BookingSync_API_Client_ChangeOvers/_change_over/returns_a_single_change_over.yml
@@ -562,6 +578,12 @@ test_files:
562
578
  - spec/fixtures/cassettes/BookingSync_API_Client_RentalsAmenities/_rentals_amenities/links/returns_associated_rental.yml
563
579
  - spec/fixtures/cassettes/BookingSync_API_Client_RentalsAmenities/_rentals_amenities/returns_rentals_amenities.yml
564
580
  - spec/fixtures/cassettes/BookingSync_API_Client_RentalsAmenities/_rentals_amenity/returns_rentals_amenity.yml
581
+ - spec/fixtures/cassettes/BookingSync_API_Client_RentalsContentsOverrides/_create_rentals_contents_override/creates_a_new_rentals_contents_override.yml
582
+ - spec/fixtures/cassettes/BookingSync_API_Client_RentalsContentsOverrides/_delete_rentals_contents_override/deletes_given_rentals_contents_override.yml
583
+ - spec/fixtures/cassettes/BookingSync_API_Client_RentalsContentsOverrides/_edit_rentals_contents_override/updates_given_rentals_contents_override_by_ID.yml
584
+ - spec/fixtures/cassettes/BookingSync_API_Client_RentalsContentsOverrides/_rentals_contents_override/returns_rentals_contents_override.yml
585
+ - spec/fixtures/cassettes/BookingSync_API_Client_RentalsContentsOverrides/_rentals_contents_overrides/links/returns_associated_rental.yml
586
+ - spec/fixtures/cassettes/BookingSync_API_Client_RentalsContentsOverrides/_rentals_contents_overrides/returns_rentals_contents_overrides.yml
565
587
  - spec/fixtures/cassettes/BookingSync_API_Client_RentalsFees/_create_rentals_fee/creates_a_new_rentals_fee.yml
566
588
  - spec/fixtures/cassettes/BookingSync_API_Client_RentalsFees/_rentals_fee/returns_a_single_rentals_fee.yml
567
589
  - spec/fixtures/cassettes/BookingSync_API_Client_RentalsFees/_rentals_fees/returns_rentals_fees.yml