bookingsync-api 0.1.8 → 0.1.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
 - data/CHANGELOG.md +7 -0
 - data/README.md +13 -0
 - data/lib/bookingsync/api/client.rb +21 -0
 - data/lib/bookingsync/api/client/conversations.rb +75 -0
 - data/lib/bookingsync/api/client/hosts.rb +51 -0
 - data/lib/bookingsync/api/client/messages.rb +51 -0
 - data/lib/bookingsync/api/client/participants.rb +51 -0
 - data/lib/bookingsync/api/version.rb +1 -1
 - data/spec/bookingsync/api/client/conversations_spec.rb +124 -0
 - data/spec/bookingsync/api/client/hosts_spec.rb +79 -0
 - data/spec/bookingsync/api/client/messages_spec.rb +77 -0
 - data/spec/bookingsync/api/client/participants_spec.rb +77 -0
 - data/spec/bookingsync/api/client_spec.rb +42 -0
 - data/spec/fixtures/cassettes/BookingSync_API_Client_Conversations/_connect_booking_to_conversation/connects_given_conversation_with_booking.yml +154 -0
 - data/spec/fixtures/cassettes/BookingSync_API_Client_Conversations/_conversation/returns_a_single_conversation.yml +82 -0
 - data/spec/fixtures/cassettes/BookingSync_API_Client_Conversations/_conversations/returns_conversations.yml +83 -0
 - data/spec/fixtures/cassettes/BookingSync_API_Client_Conversations/_create_conversation/creates_a_new_conversation.yml +81 -0
 - data/spec/fixtures/cassettes/BookingSync_API_Client_Conversations/_disconnect_booking_from_conversation/disconnects_given_conversation_from_booking.yml +154 -0
 - data/spec/fixtures/cassettes/BookingSync_API_Client_Conversations/_edit_conversation/updates_given_conversation_by_ID.yml +74 -0
 - data/spec/fixtures/cassettes/BookingSync_API_Client_Hosts/_create_host/creates_a_new_host.yml +80 -0
 - data/spec/fixtures/cassettes/BookingSync_API_Client_Hosts/_edit_host/updates_given_host_by_ID.yml +73 -0
 - data/spec/fixtures/cassettes/BookingSync_API_Client_Hosts/_host/returns_a_single_host.yml +82 -0
 - data/spec/fixtures/cassettes/BookingSync_API_Client_Hosts/_hosts/returns_hosts.yml +82 -0
 - data/spec/fixtures/cassettes/BookingSync_API_Client_Messages/_create_message/creates_a_new_message.yml +81 -0
 - data/spec/fixtures/cassettes/BookingSync_API_Client_Messages/_edit_message/updates_given_message_by_ID.yml +74 -0
 - data/spec/fixtures/cassettes/BookingSync_API_Client_Messages/_message/returns_a_single_message.yml +82 -0
 - data/spec/fixtures/cassettes/BookingSync_API_Client_Messages/_messages/returns_messages.yml +82 -0
 - data/spec/fixtures/cassettes/BookingSync_API_Client_Participants/_create_participant/creates_a_new_participant.yml +80 -0
 - data/spec/fixtures/cassettes/BookingSync_API_Client_Participants/_edit_participant/updates_given_participant_by_ID.yml +73 -0
 - data/spec/fixtures/cassettes/BookingSync_API_Client_Participants/_participant/returns_a_single_participant.yml +82 -0
 - data/spec/fixtures/cassettes/BookingSync_API_Client_Participants/_participants/returns_participants.yml +82 -0
 - metadata +50 -2
 
| 
         @@ -0,0 +1,82 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            ---
         
     | 
| 
      
 2 
     | 
    
         
            +
            http_interactions:
         
     | 
| 
      
 3 
     | 
    
         
            +
            - request:
         
     | 
| 
      
 4 
     | 
    
         
            +
                method: get
         
     | 
| 
      
 5 
     | 
    
         
            +
                uri: https://www.bookingsync.com/api/v3/inbox/messages
         
     | 
| 
      
 6 
     | 
    
         
            +
                body:
         
     | 
| 
      
 7 
     | 
    
         
            +
                  encoding: UTF-8
         
     | 
| 
      
 8 
     | 
    
         
            +
                  string: "{}"
         
     | 
| 
      
 9 
     | 
    
         
            +
                headers:
         
     | 
| 
      
 10 
     | 
    
         
            +
                  User-Agent:
         
     | 
| 
      
 11 
     | 
    
         
            +
                  - BookingSync API gem v0.1.8
         
     | 
| 
      
 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/"71c148ce398a564d33070e248ae96427"
         
     | 
| 
      
 35 
     | 
    
         
            +
                  Link:
         
     | 
| 
      
 36 
     | 
    
         
            +
                  - <https://www.bookingsync.com/api/v3/inbox/messages?page=1>; rel="first", <https://www.bookingsync.com/api/v3/inbox/messages?page=1>;
         
     | 
| 
      
 37 
     | 
    
         
            +
                    rel="last"
         
     | 
| 
      
 38 
     | 
    
         
            +
                  P3p:
         
     | 
| 
      
 39 
     | 
    
         
            +
                  - CP="OTI DSP COR CUR ADMo DEVo TAI PSAi PSDi IVAi IVDi CONi HISi TELi OTPi
         
     | 
| 
      
 40 
     | 
    
         
            +
                    OUR SAMi OTRo UNRo PUBi IND UNI STA"
         
     | 
| 
      
 41 
     | 
    
         
            +
                  Set-Cookie:
         
     | 
| 
      
 42 
     | 
    
         
            +
                  - ahoy_track=true; path=/
         
     | 
| 
      
 43 
     | 
    
         
            +
                  - ahoy_visit=0974f8d8-1815-4793-8c43-ef7bcc3a2982; path=/; expires=Fri, 30 Mar
         
     | 
| 
      
 44 
     | 
    
         
            +
                    2018 19:39:31 -0000
         
     | 
| 
      
 45 
     | 
    
         
            +
                  - ahoy_visitor=556ee5ab-17a0-453c-95ff-2a911ccb1e91; path=/; expires=Mon, 23
         
     | 
| 
      
 46 
     | 
    
         
            +
                    Mar 2020 19:39:31 -0000
         
     | 
| 
      
 47 
     | 
    
         
            +
                  Vary:
         
     | 
| 
      
 48 
     | 
    
         
            +
                  - Origin
         
     | 
| 
      
 49 
     | 
    
         
            +
                  X-Content-Type-Options:
         
     | 
| 
      
 50 
     | 
    
         
            +
                  - nosniff
         
     | 
| 
      
 51 
     | 
    
         
            +
                  X-Frame-Options:
         
     | 
| 
      
 52 
     | 
    
         
            +
                  - SAMEORIGIN
         
     | 
| 
      
 53 
     | 
    
         
            +
                  X-Per-Page:
         
     | 
| 
      
 54 
     | 
    
         
            +
                  - '100'
         
     | 
| 
      
 55 
     | 
    
         
            +
                  X-Ratelimit-Limit:
         
     | 
| 
      
 56 
     | 
    
         
            +
                  - '1000'
         
     | 
| 
      
 57 
     | 
    
         
            +
                  X-Ratelimit-Remaining:
         
     | 
| 
      
 58 
     | 
    
         
            +
                  - '999'
         
     | 
| 
      
 59 
     | 
    
         
            +
                  X-Ratelimit-Reset:
         
     | 
| 
      
 60 
     | 
    
         
            +
                  - '1521835200'
         
     | 
| 
      
 61 
     | 
    
         
            +
                  X-Request-Id:
         
     | 
| 
      
 62 
     | 
    
         
            +
                  - 9cd65106-25dc-47b9-8104-79d991225326
         
     | 
| 
      
 63 
     | 
    
         
            +
                  X-Runtime:
         
     | 
| 
      
 64 
     | 
    
         
            +
                  - '1.288227'
         
     | 
| 
      
 65 
     | 
    
         
            +
                  X-Total-Count:
         
     | 
| 
      
 66 
     | 
    
         
            +
                  - '2'
         
     | 
| 
      
 67 
     | 
    
         
            +
                  X-Total-Pages:
         
     | 
| 
      
 68 
     | 
    
         
            +
                  - '1'
         
     | 
| 
      
 69 
     | 
    
         
            +
                  X-Updated-Since-Request-Synced-At:
         
     | 
| 
      
 70 
     | 
    
         
            +
                  - 2018-03-23 19:39:31 UTC
         
     | 
| 
      
 71 
     | 
    
         
            +
                  X-Xss-Protection:
         
     | 
| 
      
 72 
     | 
    
         
            +
                  - 1; mode=block
         
     | 
| 
      
 73 
     | 
    
         
            +
                  Date:
         
     | 
| 
      
 74 
     | 
    
         
            +
                  - Fri, 23 Mar 2018 19:39:32 GMT
         
     | 
| 
      
 75 
     | 
    
         
            +
                  Content-Length:
         
     | 
| 
      
 76 
     | 
    
         
            +
                  - '954'
         
     | 
| 
      
 77 
     | 
    
         
            +
                body:
         
     | 
| 
      
 78 
     | 
    
         
            +
                  encoding: UTF-8
         
     | 
| 
      
 79 
     | 
    
         
            +
                  string: '{"links":{"messages.attachments":"https://www.bookingsync.com/api/v3/inbox/attachments/{messages.attachments}","messages.conversation":"https://www.bookingsync.com/api/v3/inbox/conversations/{messages.conversation}","messages.sender":"https://www.bookingsync.com/api/v3/inbox/participants/{messages.sender}"},"messages":[{"links":{"attachments":[],"conversation":1,"sender":1},"content":"hello","created_at":"2018-03-20T13:48:45Z","id":1,"origin":"homeaway","sent_at":null,"updated_at":"2018-03-20T13:48:45Z","visibility":"internal"},{"links":{"attachments":[],"conversation":1,"sender":1},"content":"Hello!","created_at":"2018-03-22T22:05:02Z","id":2,"origin":"homeaway","sent_at":null,"updated_at":"2018-03-22T22:05:02Z","visibility":"all"}],"meta":{"Link":{"first":"https://www.bookingsync.com/api/v3/inbox/messages?page=1","last":"https://www.bookingsync.com/api/v3/inbox/messages?page=1"},"X-Total-Pages":"1","X-Total-Count":"2","X-Per-Page":"100"}}'
         
     | 
| 
      
 80 
     | 
    
         
            +
                http_version: 
         
     | 
| 
      
 81 
     | 
    
         
            +
              recorded_at: Fri, 23 Mar 2018 19:39:32 GMT
         
     | 
| 
      
 82 
     | 
    
         
            +
            recorded_with: VCR 4.0.0
         
     | 
| 
         @@ -0,0 +1,80 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            ---
         
     | 
| 
      
 2 
     | 
    
         
            +
            http_interactions:
         
     | 
| 
      
 3 
     | 
    
         
            +
            - request:
         
     | 
| 
      
 4 
     | 
    
         
            +
                method: post
         
     | 
| 
      
 5 
     | 
    
         
            +
                uri: https://www.bookingsync.com/api/v3/inbox/participants
         
     | 
| 
      
 6 
     | 
    
         
            +
                body:
         
     | 
| 
      
 7 
     | 
    
         
            +
                  encoding: UTF-8
         
     | 
| 
      
 8 
     | 
    
         
            +
                  string: '{"participants":[{"read":false,"conversation_id":1,"member_id":1,"member_type":"Client"}]}'
         
     | 
| 
      
 9 
     | 
    
         
            +
                headers:
         
     | 
| 
      
 10 
     | 
    
         
            +
                  User-Agent:
         
     | 
| 
      
 11 
     | 
    
         
            +
                  - BookingSync API gem v0.1.8
         
     | 
| 
      
 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/"9355af117d427f1a3615daeb9c423c8a"
         
     | 
| 
      
 35 
     | 
    
         
            +
                  Link:
         
     | 
| 
      
 36 
     | 
    
         
            +
                  - <https://www.bookingsync.com/api/v3/inbox/participants?page=1&participants%5B%5D%5Bconversation_id%5D=1&participants%5B%5D%5Bmember_id%5D=1&participants%5B%5D%5Bmember_type%5D=Client&participants%5B%5D%5Bread%5D=false>;
         
     | 
| 
      
 37 
     | 
    
         
            +
                    rel="first"
         
     | 
| 
      
 38 
     | 
    
         
            +
                  Location:
         
     | 
| 
      
 39 
     | 
    
         
            +
                  - https://www.bookingsync.com/api/v3/inbox/participants/8
         
     | 
| 
      
 40 
     | 
    
         
            +
                  P3p:
         
     | 
| 
      
 41 
     | 
    
         
            +
                  - CP="OTI DSP COR CUR ADMo DEVo TAI PSAi PSDi IVAi IVDi CONi HISi TELi OTPi
         
     | 
| 
      
 42 
     | 
    
         
            +
                    OUR SAMi OTRo UNRo PUBi IND UNI STA"
         
     | 
| 
      
 43 
     | 
    
         
            +
                  Set-Cookie:
         
     | 
| 
      
 44 
     | 
    
         
            +
                  - ahoy_track=true; path=/
         
     | 
| 
      
 45 
     | 
    
         
            +
                  - ahoy_visit=8db45433-0a2d-4d52-a666-caab03ca9bf4; path=/; expires=Fri, 30 Mar
         
     | 
| 
      
 46 
     | 
    
         
            +
                    2018 20:01:29 -0000
         
     | 
| 
      
 47 
     | 
    
         
            +
                  - ahoy_visitor=2a3cd993-6b39-4d3b-9d7d-a35894dffcc2; path=/; expires=Mon, 23
         
     | 
| 
      
 48 
     | 
    
         
            +
                    Mar 2020 20:01:29 -0000
         
     | 
| 
      
 49 
     | 
    
         
            +
                  Vary:
         
     | 
| 
      
 50 
     | 
    
         
            +
                  - Origin
         
     | 
| 
      
 51 
     | 
    
         
            +
                  X-Content-Type-Options:
         
     | 
| 
      
 52 
     | 
    
         
            +
                  - nosniff
         
     | 
| 
      
 53 
     | 
    
         
            +
                  X-Frame-Options:
         
     | 
| 
      
 54 
     | 
    
         
            +
                  - SAMEORIGIN
         
     | 
| 
      
 55 
     | 
    
         
            +
                  X-Per-Page:
         
     | 
| 
      
 56 
     | 
    
         
            +
                  - '100'
         
     | 
| 
      
 57 
     | 
    
         
            +
                  X-Ratelimit-Limit:
         
     | 
| 
      
 58 
     | 
    
         
            +
                  - '1000'
         
     | 
| 
      
 59 
     | 
    
         
            +
                  X-Ratelimit-Remaining:
         
     | 
| 
      
 60 
     | 
    
         
            +
                  - '999'
         
     | 
| 
      
 61 
     | 
    
         
            +
                  X-Ratelimit-Reset:
         
     | 
| 
      
 62 
     | 
    
         
            +
                  - '1521838800'
         
     | 
| 
      
 63 
     | 
    
         
            +
                  X-Request-Id:
         
     | 
| 
      
 64 
     | 
    
         
            +
                  - cddf563c-44f7-49b5-ae42-ddec745672fd
         
     | 
| 
      
 65 
     | 
    
         
            +
                  X-Runtime:
         
     | 
| 
      
 66 
     | 
    
         
            +
                  - '0.547813'
         
     | 
| 
      
 67 
     | 
    
         
            +
                  X-Updated-Since-Request-Synced-At:
         
     | 
| 
      
 68 
     | 
    
         
            +
                  - 2018-03-23 20:01:29 UTC
         
     | 
| 
      
 69 
     | 
    
         
            +
                  X-Xss-Protection:
         
     | 
| 
      
 70 
     | 
    
         
            +
                  - 1; mode=block
         
     | 
| 
      
 71 
     | 
    
         
            +
                  Date:
         
     | 
| 
      
 72 
     | 
    
         
            +
                  - Fri, 23 Mar 2018 20:01:29 GMT
         
     | 
| 
      
 73 
     | 
    
         
            +
                  Content-Length:
         
     | 
| 
      
 74 
     | 
    
         
            +
                  - '812'
         
     | 
| 
      
 75 
     | 
    
         
            +
                body:
         
     | 
| 
      
 76 
     | 
    
         
            +
                  encoding: UTF-8
         
     | 
| 
      
 77 
     | 
    
         
            +
                  string: '{"links":{"participants.conversation":"https://www.bookingsync.com/api/v3/inbox/conversations/{participants.conversation}","participants.client":"https://www.bookingsync.com/api/v3/clients/{participants.member.id}","participants.host":"https://www.bookingsync.com/api/v3/hosts/{participants.member.id}"},"participants":[{"links":{"conversation":1,"member":{"id":1,"type":"Client"}},"created_at":"2018-03-23T20:01:29Z","id":8,"last_message_sent_at":null,"read_at":null,"updated_at":"2018-03-23T20:01:29Z"}],"meta":{"Link":{"first":"https://www.bookingsync.com/api/v3/inbox/participants?page=1&participants%5B%5D%5Bconversation_id%5D=1&participants%5B%5D%5Bmember_id%5D=1&participants%5B%5D%5Bmember_type%5D=Client&participants%5B%5D%5Bread%5D=false"},"X-Total-Pages":null,"X-Total-Count":null,"X-Per-Page":"100"}}'
         
     | 
| 
      
 78 
     | 
    
         
            +
                http_version: 
         
     | 
| 
      
 79 
     | 
    
         
            +
              recorded_at: Fri, 23 Mar 2018 20:01:29 GMT
         
     | 
| 
      
 80 
     | 
    
         
            +
            recorded_with: VCR 4.0.0
         
     | 
| 
         @@ -0,0 +1,73 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            ---
         
     | 
| 
      
 2 
     | 
    
         
            +
            http_interactions:
         
     | 
| 
      
 3 
     | 
    
         
            +
            - request:
         
     | 
| 
      
 4 
     | 
    
         
            +
                method: put
         
     | 
| 
      
 5 
     | 
    
         
            +
                uri: https://www.bookingsync.com/api/v3/inbox/participants/8
         
     | 
| 
      
 6 
     | 
    
         
            +
                body:
         
     | 
| 
      
 7 
     | 
    
         
            +
                  encoding: UTF-8
         
     | 
| 
      
 8 
     | 
    
         
            +
                  string: '{"participants":[{"read":true}]}'
         
     | 
| 
      
 9 
     | 
    
         
            +
                headers:
         
     | 
| 
      
 10 
     | 
    
         
            +
                  User-Agent:
         
     | 
| 
      
 11 
     | 
    
         
            +
                  - BookingSync API gem v0.1.8
         
     | 
| 
      
 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/"4651154873cdad9f76716da16c620eca"
         
     | 
| 
      
 35 
     | 
    
         
            +
                  P3p:
         
     | 
| 
      
 36 
     | 
    
         
            +
                  - CP="OTI DSP COR CUR ADMo DEVo TAI PSAi PSDi IVAi IVDi CONi HISi TELi OTPi
         
     | 
| 
      
 37 
     | 
    
         
            +
                    OUR SAMi OTRo UNRo PUBi IND UNI STA"
         
     | 
| 
      
 38 
     | 
    
         
            +
                  Set-Cookie:
         
     | 
| 
      
 39 
     | 
    
         
            +
                  - ahoy_track=true; path=/
         
     | 
| 
      
 40 
     | 
    
         
            +
                  - ahoy_visit=ace4b21e-1984-4218-b2cb-caa905ce5d2e; path=/; expires=Fri, 30 Mar
         
     | 
| 
      
 41 
     | 
    
         
            +
                    2018 20:01:29 -0000
         
     | 
| 
      
 42 
     | 
    
         
            +
                  - ahoy_visitor=079430b3-4367-4f13-8153-5e846709613f; path=/; expires=Mon, 23
         
     | 
| 
      
 43 
     | 
    
         
            +
                    Mar 2020 20:01:29 -0000
         
     | 
| 
      
 44 
     | 
    
         
            +
                  Vary:
         
     | 
| 
      
 45 
     | 
    
         
            +
                  - Origin
         
     | 
| 
      
 46 
     | 
    
         
            +
                  X-Content-Type-Options:
         
     | 
| 
      
 47 
     | 
    
         
            +
                  - nosniff
         
     | 
| 
      
 48 
     | 
    
         
            +
                  X-Frame-Options:
         
     | 
| 
      
 49 
     | 
    
         
            +
                  - SAMEORIGIN
         
     | 
| 
      
 50 
     | 
    
         
            +
                  X-Ratelimit-Limit:
         
     | 
| 
      
 51 
     | 
    
         
            +
                  - '1000'
         
     | 
| 
      
 52 
     | 
    
         
            +
                  X-Ratelimit-Remaining:
         
     | 
| 
      
 53 
     | 
    
         
            +
                  - '999'
         
     | 
| 
      
 54 
     | 
    
         
            +
                  X-Ratelimit-Reset:
         
     | 
| 
      
 55 
     | 
    
         
            +
                  - '1521838800'
         
     | 
| 
      
 56 
     | 
    
         
            +
                  X-Request-Id:
         
     | 
| 
      
 57 
     | 
    
         
            +
                  - 56663e8c-028c-437c-a5fd-a5f8bbce3445
         
     | 
| 
      
 58 
     | 
    
         
            +
                  X-Runtime:
         
     | 
| 
      
 59 
     | 
    
         
            +
                  - '0.190016'
         
     | 
| 
      
 60 
     | 
    
         
            +
                  X-Updated-Since-Request-Synced-At:
         
     | 
| 
      
 61 
     | 
    
         
            +
                  - 2018-03-23 20:01:29 UTC
         
     | 
| 
      
 62 
     | 
    
         
            +
                  X-Xss-Protection:
         
     | 
| 
      
 63 
     | 
    
         
            +
                  - 1; mode=block
         
     | 
| 
      
 64 
     | 
    
         
            +
                  Date:
         
     | 
| 
      
 65 
     | 
    
         
            +
                  - Fri, 23 Mar 2018 20:01:29 GMT
         
     | 
| 
      
 66 
     | 
    
         
            +
                  Content-Length:
         
     | 
| 
      
 67 
     | 
    
         
            +
                  - '534'
         
     | 
| 
      
 68 
     | 
    
         
            +
                body:
         
     | 
| 
      
 69 
     | 
    
         
            +
                  encoding: UTF-8
         
     | 
| 
      
 70 
     | 
    
         
            +
                  string: '{"links":{"participants.conversation":"https://www.bookingsync.com/api/v3/inbox/conversations/{participants.conversation}","participants.client":"https://www.bookingsync.com/api/v3/clients/{participants.member.id}","participants.host":"https://www.bookingsync.com/api/v3/hosts/{participants.member.id}"},"participants":[{"links":{"conversation":1,"member":{"id":1,"type":"Client"}},"created_at":"2018-03-23T20:01:29Z","id":8,"last_message_sent_at":null,"read_at":"2018-03-23T20:01:29Z","updated_at":"2018-03-23T20:01:29Z"}],"meta":{}}'
         
     | 
| 
      
 71 
     | 
    
         
            +
                http_version: 
         
     | 
| 
      
 72 
     | 
    
         
            +
              recorded_at: Fri, 23 Mar 2018 20:01:29 GMT
         
     | 
| 
      
 73 
     | 
    
         
            +
            recorded_with: VCR 4.0.0
         
     | 
| 
         @@ -0,0 +1,82 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            ---
         
     | 
| 
      
 2 
     | 
    
         
            +
            http_interactions:
         
     | 
| 
      
 3 
     | 
    
         
            +
            - request:
         
     | 
| 
      
 4 
     | 
    
         
            +
                method: get
         
     | 
| 
      
 5 
     | 
    
         
            +
                uri: https://www.bookingsync.com/api/v3/inbox/participants/1
         
     | 
| 
      
 6 
     | 
    
         
            +
                body:
         
     | 
| 
      
 7 
     | 
    
         
            +
                  encoding: UTF-8
         
     | 
| 
      
 8 
     | 
    
         
            +
                  string: "{}"
         
     | 
| 
      
 9 
     | 
    
         
            +
                headers:
         
     | 
| 
      
 10 
     | 
    
         
            +
                  User-Agent:
         
     | 
| 
      
 11 
     | 
    
         
            +
                  - BookingSync API gem v0.1.8
         
     | 
| 
      
 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/"d3b2dcc21b2c2dbbde68e5b6ae0720a8"
         
     | 
| 
      
 35 
     | 
    
         
            +
                  Link:
         
     | 
| 
      
 36 
     | 
    
         
            +
                  - <https://www.bookingsync.com/api/v3/inbox/participants/1?page=1>; rel="first",
         
     | 
| 
      
 37 
     | 
    
         
            +
                    <https://www.bookingsync.com/api/v3/inbox/participants/1?page=1>; rel="last"
         
     | 
| 
      
 38 
     | 
    
         
            +
                  P3p:
         
     | 
| 
      
 39 
     | 
    
         
            +
                  - CP="OTI DSP COR CUR ADMo DEVo TAI PSAi PSDi IVAi IVDi CONi HISi TELi OTPi
         
     | 
| 
      
 40 
     | 
    
         
            +
                    OUR SAMi OTRo UNRo PUBi IND UNI STA"
         
     | 
| 
      
 41 
     | 
    
         
            +
                  Set-Cookie:
         
     | 
| 
      
 42 
     | 
    
         
            +
                  - ahoy_track=true; path=/
         
     | 
| 
      
 43 
     | 
    
         
            +
                  - ahoy_visit=4d2ad264-1cf8-45ed-99d6-8fe111293e52; path=/; expires=Fri, 30 Mar
         
     | 
| 
      
 44 
     | 
    
         
            +
                    2018 20:01:28 -0000
         
     | 
| 
      
 45 
     | 
    
         
            +
                  - ahoy_visitor=858e2510-2a10-4015-acd2-6ffd151c53ce; path=/; expires=Mon, 23
         
     | 
| 
      
 46 
     | 
    
         
            +
                    Mar 2020 20:01:28 -0000
         
     | 
| 
      
 47 
     | 
    
         
            +
                  Vary:
         
     | 
| 
      
 48 
     | 
    
         
            +
                  - Origin
         
     | 
| 
      
 49 
     | 
    
         
            +
                  X-Content-Type-Options:
         
     | 
| 
      
 50 
     | 
    
         
            +
                  - nosniff
         
     | 
| 
      
 51 
     | 
    
         
            +
                  X-Frame-Options:
         
     | 
| 
      
 52 
     | 
    
         
            +
                  - SAMEORIGIN
         
     | 
| 
      
 53 
     | 
    
         
            +
                  X-Per-Page:
         
     | 
| 
      
 54 
     | 
    
         
            +
                  - '100'
         
     | 
| 
      
 55 
     | 
    
         
            +
                  X-Ratelimit-Limit:
         
     | 
| 
      
 56 
     | 
    
         
            +
                  - '1000'
         
     | 
| 
      
 57 
     | 
    
         
            +
                  X-Ratelimit-Remaining:
         
     | 
| 
      
 58 
     | 
    
         
            +
                  - '999'
         
     | 
| 
      
 59 
     | 
    
         
            +
                  X-Ratelimit-Reset:
         
     | 
| 
      
 60 
     | 
    
         
            +
                  - '1521838800'
         
     | 
| 
      
 61 
     | 
    
         
            +
                  X-Request-Id:
         
     | 
| 
      
 62 
     | 
    
         
            +
                  - 72a492d5-a8a1-4d2b-bae8-1b7a713757e3
         
     | 
| 
      
 63 
     | 
    
         
            +
                  X-Runtime:
         
     | 
| 
      
 64 
     | 
    
         
            +
                  - '0.256851'
         
     | 
| 
      
 65 
     | 
    
         
            +
                  X-Total-Count:
         
     | 
| 
      
 66 
     | 
    
         
            +
                  - '1'
         
     | 
| 
      
 67 
     | 
    
         
            +
                  X-Total-Pages:
         
     | 
| 
      
 68 
     | 
    
         
            +
                  - '1'
         
     | 
| 
      
 69 
     | 
    
         
            +
                  X-Updated-Since-Request-Synced-At:
         
     | 
| 
      
 70 
     | 
    
         
            +
                  - 2018-03-23 20:01:28 UTC
         
     | 
| 
      
 71 
     | 
    
         
            +
                  X-Xss-Protection:
         
     | 
| 
      
 72 
     | 
    
         
            +
                  - 1; mode=block
         
     | 
| 
      
 73 
     | 
    
         
            +
                  Date:
         
     | 
| 
      
 74 
     | 
    
         
            +
                  - Fri, 23 Mar 2018 20:01:29 GMT
         
     | 
| 
      
 75 
     | 
    
         
            +
                  Content-Length:
         
     | 
| 
      
 76 
     | 
    
         
            +
                  - '728'
         
     | 
| 
      
 77 
     | 
    
         
            +
                body:
         
     | 
| 
      
 78 
     | 
    
         
            +
                  encoding: UTF-8
         
     | 
| 
      
 79 
     | 
    
         
            +
                  string: '{"links":{"participants.conversation":"https://www.bookingsync.com/api/v3/inbox/conversations/{participants.conversation}","participants.client":"https://www.bookingsync.com/api/v3/clients/{participants.member.id}","participants.host":"https://www.bookingsync.com/api/v3/hosts/{participants.member.id}"},"participants":[{"links":{"conversation":1,"member":{"id":1,"type":"Client"}},"created_at":"2018-03-20T13:46:54Z","id":1,"last_message_sent_at":null,"read_at":null,"updated_at":"2018-03-20T13:46:54Z"}],"meta":{"Link":{"first":"https://www.bookingsync.com/api/v3/inbox/participants/1?page=1","last":"https://www.bookingsync.com/api/v3/inbox/participants/1?page=1"},"X-Total-Pages":"1","X-Total-Count":"1","X-Per-Page":"100"}}'
         
     | 
| 
      
 80 
     | 
    
         
            +
                http_version: 
         
     | 
| 
      
 81 
     | 
    
         
            +
              recorded_at: Fri, 23 Mar 2018 20:01:29 GMT
         
     | 
| 
      
 82 
     | 
    
         
            +
            recorded_with: VCR 4.0.0
         
     | 
| 
         @@ -0,0 +1,82 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            ---
         
     | 
| 
      
 2 
     | 
    
         
            +
            http_interactions:
         
     | 
| 
      
 3 
     | 
    
         
            +
            - request:
         
     | 
| 
      
 4 
     | 
    
         
            +
                method: get
         
     | 
| 
      
 5 
     | 
    
         
            +
                uri: https://www.bookingsync.com/api/v3/inbox/participants
         
     | 
| 
      
 6 
     | 
    
         
            +
                body:
         
     | 
| 
      
 7 
     | 
    
         
            +
                  encoding: UTF-8
         
     | 
| 
      
 8 
     | 
    
         
            +
                  string: "{}"
         
     | 
| 
      
 9 
     | 
    
         
            +
                headers:
         
     | 
| 
      
 10 
     | 
    
         
            +
                  User-Agent:
         
     | 
| 
      
 11 
     | 
    
         
            +
                  - BookingSync API gem v0.1.8
         
     | 
| 
      
 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/"5f58e1faf8b7359422172cbd4c356ff8"
         
     | 
| 
      
 35 
     | 
    
         
            +
                  Link:
         
     | 
| 
      
 36 
     | 
    
         
            +
                  - <https://www.bookingsync.com/api/v3/inbox/participants?page=1>; rel="first",
         
     | 
| 
      
 37 
     | 
    
         
            +
                    <https://www.bookingsync.com/api/v3/inbox/participants?page=1>; rel="last"
         
     | 
| 
      
 38 
     | 
    
         
            +
                  P3p:
         
     | 
| 
      
 39 
     | 
    
         
            +
                  - CP="OTI DSP COR CUR ADMo DEVo TAI PSAi PSDi IVAi IVDi CONi HISi TELi OTPi
         
     | 
| 
      
 40 
     | 
    
         
            +
                    OUR SAMi OTRo UNRo PUBi IND UNI STA"
         
     | 
| 
      
 41 
     | 
    
         
            +
                  Set-Cookie:
         
     | 
| 
      
 42 
     | 
    
         
            +
                  - ahoy_track=true; path=/
         
     | 
| 
      
 43 
     | 
    
         
            +
                  - ahoy_visit=a9292818-27d1-4aff-b35c-90e69f956954; path=/; expires=Fri, 30 Mar
         
     | 
| 
      
 44 
     | 
    
         
            +
                    2018 20:01:27 -0000
         
     | 
| 
      
 45 
     | 
    
         
            +
                  - ahoy_visitor=5fedb07a-0342-4e26-a2f9-95cf277b9621; path=/; expires=Mon, 23
         
     | 
| 
      
 46 
     | 
    
         
            +
                    Mar 2020 20:01:27 -0000
         
     | 
| 
      
 47 
     | 
    
         
            +
                  Vary:
         
     | 
| 
      
 48 
     | 
    
         
            +
                  - Origin
         
     | 
| 
      
 49 
     | 
    
         
            +
                  X-Content-Type-Options:
         
     | 
| 
      
 50 
     | 
    
         
            +
                  - nosniff
         
     | 
| 
      
 51 
     | 
    
         
            +
                  X-Frame-Options:
         
     | 
| 
      
 52 
     | 
    
         
            +
                  - SAMEORIGIN
         
     | 
| 
      
 53 
     | 
    
         
            +
                  X-Per-Page:
         
     | 
| 
      
 54 
     | 
    
         
            +
                  - '100'
         
     | 
| 
      
 55 
     | 
    
         
            +
                  X-Ratelimit-Limit:
         
     | 
| 
      
 56 
     | 
    
         
            +
                  - '1000'
         
     | 
| 
      
 57 
     | 
    
         
            +
                  X-Ratelimit-Remaining:
         
     | 
| 
      
 58 
     | 
    
         
            +
                  - '999'
         
     | 
| 
      
 59 
     | 
    
         
            +
                  X-Ratelimit-Reset:
         
     | 
| 
      
 60 
     | 
    
         
            +
                  - '1521838800'
         
     | 
| 
      
 61 
     | 
    
         
            +
                  X-Request-Id:
         
     | 
| 
      
 62 
     | 
    
         
            +
                  - 2f11677f-6b1c-4d21-958b-8961a69ead62
         
     | 
| 
      
 63 
     | 
    
         
            +
                  X-Runtime:
         
     | 
| 
      
 64 
     | 
    
         
            +
                  - '1.216619'
         
     | 
| 
      
 65 
     | 
    
         
            +
                  X-Total-Count:
         
     | 
| 
      
 66 
     | 
    
         
            +
                  - '7'
         
     | 
| 
      
 67 
     | 
    
         
            +
                  X-Total-Pages:
         
     | 
| 
      
 68 
     | 
    
         
            +
                  - '1'
         
     | 
| 
      
 69 
     | 
    
         
            +
                  X-Updated-Since-Request-Synced-At:
         
     | 
| 
      
 70 
     | 
    
         
            +
                  - 2018-03-23 20:01:27 UTC
         
     | 
| 
      
 71 
     | 
    
         
            +
                  X-Xss-Protection:
         
     | 
| 
      
 72 
     | 
    
         
            +
                  - 1; mode=block
         
     | 
| 
      
 73 
     | 
    
         
            +
                  Date:
         
     | 
| 
      
 74 
     | 
    
         
            +
                  - Fri, 23 Mar 2018 20:01:28 GMT
         
     | 
| 
      
 75 
     | 
    
         
            +
                  Content-Length:
         
     | 
| 
      
 76 
     | 
    
         
            +
                  - '1822'
         
     | 
| 
      
 77 
     | 
    
         
            +
                body:
         
     | 
| 
      
 78 
     | 
    
         
            +
                  encoding: UTF-8
         
     | 
| 
      
 79 
     | 
    
         
            +
                  string: '{"links":{"participants.conversation":"https://www.bookingsync.com/api/v3/inbox/conversations/{participants.conversation}","participants.client":"https://www.bookingsync.com/api/v3/clients/{participants.member.id}","participants.host":"https://www.bookingsync.com/api/v3/hosts/{participants.member.id}"},"participants":[{"links":{"conversation":1,"member":{"id":1,"type":"Client"}},"created_at":"2018-03-20T13:46:54Z","id":1,"last_message_sent_at":null,"read_at":null,"updated_at":"2018-03-20T13:46:54Z"},{"links":{"conversation":1,"member":{"id":1,"type":"Host"}},"created_at":"2018-03-22T22:46:37Z","id":2,"last_message_sent_at":null,"read_at":null,"updated_at":"2018-03-22T22:46:37Z"},{"links":{"conversation":1,"member":{"id":1,"type":"Host"}},"created_at":"2018-03-22T22:46:37Z","id":3,"last_message_sent_at":null,"read_at":null,"updated_at":"2018-03-22T22:46:37Z"},{"links":{"conversation":1,"member":{"id":1,"type":"Host"}},"created_at":"2018-03-22T22:46:39Z","id":4,"last_message_sent_at":null,"read_at":null,"updated_at":"2018-03-22T22:46:39Z"},{"links":{"conversation":1,"member":{"id":1,"type":"Host"}},"created_at":"2018-03-22T22:51:41Z","id":5,"last_message_sent_at":null,"read_at":null,"updated_at":"2018-03-22T22:51:41Z"},{"links":{"conversation":1,"member":{"id":1,"type":"Host"}},"created_at":"2018-03-22T22:51:41Z","id":6,"last_message_sent_at":null,"read_at":null,"updated_at":"2018-03-22T22:51:41Z"},{"links":{"conversation":1,"member":{"id":1,"type":"Host"}},"created_at":"2018-03-22T22:51:42Z","id":7,"last_message_sent_at":null,"read_at":null,"updated_at":"2018-03-22T22:51:42Z"}],"meta":{"Link":{"first":"https://www.bookingsync.com/api/v3/inbox/participants?page=1","last":"https://www.bookingsync.com/api/v3/inbox/participants?page=1"},"X-Total-Pages":"1","X-Total-Count":"7","X-Per-Page":"100"}}'
         
     | 
| 
      
 80 
     | 
    
         
            +
                http_version: 
         
     | 
| 
      
 81 
     | 
    
         
            +
              recorded_at: Fri, 23 Mar 2018 20:01:28 GMT
         
     | 
| 
      
 82 
     | 
    
         
            +
            recorded_with: VCR 4.0.0
         
     | 
    
        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. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 0.1.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:  
     | 
| 
      
 11 
     | 
    
         
            +
            date: 2018-04-30 00:00:00.000000000 Z
         
     | 
| 
       12 
12 
     | 
    
         
             
            dependencies:
         
     | 
| 
       13 
13 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       14 
14 
     | 
    
         
             
              name: faraday
         
     | 
| 
         @@ -141,11 +141,15 @@ files: 
     | 
|
| 
       141 
141 
     | 
    
         
             
            - lib/bookingsync/api/client/bookings_taxes.rb
         
     | 
| 
       142 
142 
     | 
    
         
             
            - lib/bookingsync/api/client/change_overs.rb
         
     | 
| 
       143 
143 
     | 
    
         
             
            - lib/bookingsync/api/client/clients.rb
         
     | 
| 
      
 144 
     | 
    
         
            +
            - lib/bookingsync/api/client/conversations.rb
         
     | 
| 
       144 
145 
     | 
    
         
             
            - lib/bookingsync/api/client/destinations.rb
         
     | 
| 
       145 
146 
     | 
    
         
             
            - lib/bookingsync/api/client/fees.rb
         
     | 
| 
      
 147 
     | 
    
         
            +
            - lib/bookingsync/api/client/hosts.rb
         
     | 
| 
       146 
148 
     | 
    
         
             
            - lib/bookingsync/api/client/inquiries.rb
         
     | 
| 
       147 
149 
     | 
    
         
             
            - lib/bookingsync/api/client/living_rooms.rb
         
     | 
| 
      
 150 
     | 
    
         
            +
            - lib/bookingsync/api/client/messages.rb
         
     | 
| 
       148 
151 
     | 
    
         
             
            - lib/bookingsync/api/client/nightly_rate_maps.rb
         
     | 
| 
      
 152 
     | 
    
         
            +
            - lib/bookingsync/api/client/participants.rb
         
     | 
| 
       149 
153 
     | 
    
         
             
            - lib/bookingsync/api/client/payment_gateways.rb
         
     | 
| 
       150 
154 
     | 
    
         
             
            - lib/bookingsync/api/client/payments.rb
         
     | 
| 
       151 
155 
     | 
    
         
             
            - lib/bookingsync/api/client/periods.rb
         
     | 
| 
         @@ -187,11 +191,15 @@ files: 
     | 
|
| 
       187 
191 
     | 
    
         
             
            - spec/bookingsync/api/client/bookings_taxes_spec.rb
         
     | 
| 
       188 
192 
     | 
    
         
             
            - spec/bookingsync/api/client/change_overs_spec.rb
         
     | 
| 
       189 
193 
     | 
    
         
             
            - spec/bookingsync/api/client/clients_spec.rb
         
     | 
| 
      
 194 
     | 
    
         
            +
            - spec/bookingsync/api/client/conversations_spec.rb
         
     | 
| 
       190 
195 
     | 
    
         
             
            - spec/bookingsync/api/client/destinations_spec.rb
         
     | 
| 
       191 
196 
     | 
    
         
             
            - spec/bookingsync/api/client/fees_spec.rb
         
     | 
| 
      
 197 
     | 
    
         
            +
            - spec/bookingsync/api/client/hosts_spec.rb
         
     | 
| 
       192 
198 
     | 
    
         
             
            - spec/bookingsync/api/client/inquiries_spec.rb
         
     | 
| 
       193 
199 
     | 
    
         
             
            - spec/bookingsync/api/client/living_rooms_spec.rb
         
     | 
| 
      
 200 
     | 
    
         
            +
            - spec/bookingsync/api/client/messages_spec.rb
         
     | 
| 
       194 
201 
     | 
    
         
             
            - spec/bookingsync/api/client/nightly_rate_maps_spec.rb
         
     | 
| 
      
 202 
     | 
    
         
            +
            - spec/bookingsync/api/client/participants_spec.rb
         
     | 
| 
       195 
203 
     | 
    
         
             
            - spec/bookingsync/api/client/payment_gateways_spec.rb
         
     | 
| 
       196 
204 
     | 
    
         
             
            - spec/bookingsync/api/client/payments_spec.rb
         
     | 
| 
       197 
205 
     | 
    
         
             
            - spec/bookingsync/api/client/periods_spec.rb
         
     | 
| 
         @@ -267,11 +275,21 @@ files: 
     | 
|
| 
       267 
275 
     | 
    
         
             
            - spec/fixtures/cassettes/BookingSync_API_Client_Clients/_clients/returns_clients.yml
         
     | 
| 
       268 
276 
     | 
    
         
             
            - spec/fixtures/cassettes/BookingSync_API_Client_Clients/_create_client/creates_a_new_client.yml
         
     | 
| 
       269 
277 
     | 
    
         
             
            - spec/fixtures/cassettes/BookingSync_API_Client_Clients/_edit_client/updates_given_client_by_ID.yml
         
     | 
| 
      
 278 
     | 
    
         
            +
            - spec/fixtures/cassettes/BookingSync_API_Client_Conversations/_connect_booking_to_conversation/connects_given_conversation_with_booking.yml
         
     | 
| 
      
 279 
     | 
    
         
            +
            - spec/fixtures/cassettes/BookingSync_API_Client_Conversations/_conversation/returns_a_single_conversation.yml
         
     | 
| 
      
 280 
     | 
    
         
            +
            - spec/fixtures/cassettes/BookingSync_API_Client_Conversations/_conversations/returns_conversations.yml
         
     | 
| 
      
 281 
     | 
    
         
            +
            - spec/fixtures/cassettes/BookingSync_API_Client_Conversations/_create_conversation/creates_a_new_conversation.yml
         
     | 
| 
      
 282 
     | 
    
         
            +
            - spec/fixtures/cassettes/BookingSync_API_Client_Conversations/_disconnect_booking_from_conversation/disconnects_given_conversation_from_booking.yml
         
     | 
| 
      
 283 
     | 
    
         
            +
            - spec/fixtures/cassettes/BookingSync_API_Client_Conversations/_edit_conversation/updates_given_conversation_by_ID.yml
         
     | 
| 
       270 
284 
     | 
    
         
             
            - spec/fixtures/cassettes/BookingSync_API_Client_Destinations/_destination/returns_a_single_destination.yml
         
     | 
| 
       271 
285 
     | 
    
         
             
            - spec/fixtures/cassettes/BookingSync_API_Client_Destinations/_destinations/returns_destinations.yml
         
     | 
| 
       272 
286 
     | 
    
         
             
            - spec/fixtures/cassettes/BookingSync_API_Client_Fees/_create_fee/creates_a_new_fee.yml
         
     | 
| 
       273 
287 
     | 
    
         
             
            - spec/fixtures/cassettes/BookingSync_API_Client_Fees/_fee/returns_a_single_fee.yml
         
     | 
| 
       274 
288 
     | 
    
         
             
            - spec/fixtures/cassettes/BookingSync_API_Client_Fees/_fees/returns_fees.yml
         
     | 
| 
      
 289 
     | 
    
         
            +
            - spec/fixtures/cassettes/BookingSync_API_Client_Hosts/_create_host/creates_a_new_host.yml
         
     | 
| 
      
 290 
     | 
    
         
            +
            - spec/fixtures/cassettes/BookingSync_API_Client_Hosts/_edit_host/updates_given_host_by_ID.yml
         
     | 
| 
      
 291 
     | 
    
         
            +
            - spec/fixtures/cassettes/BookingSync_API_Client_Hosts/_host/returns_a_single_host.yml
         
     | 
| 
      
 292 
     | 
    
         
            +
            - spec/fixtures/cassettes/BookingSync_API_Client_Hosts/_hosts/returns_hosts.yml
         
     | 
| 
       275 
293 
     | 
    
         
             
            - spec/fixtures/cassettes/BookingSync_API_Client_Inquiries/_create_inquiry/creates_a_new_inquiry.yml
         
     | 
| 
       276 
294 
     | 
    
         
             
            - spec/fixtures/cassettes/BookingSync_API_Client_Inquiries/_inquiries/returns_inquiries.yml
         
     | 
| 
       277 
295 
     | 
    
         
             
            - spec/fixtures/cassettes/BookingSync_API_Client_Inquiries/_inquiry/returns_a_single_inquiry.yml
         
     | 
| 
         @@ -280,9 +298,17 @@ files: 
     | 
|
| 
       280 
298 
     | 
    
         
             
            - spec/fixtures/cassettes/BookingSync_API_Client_LivingRooms/_edit_living_room/updates_given_living_room_by_ID.yml
         
     | 
| 
       281 
299 
     | 
    
         
             
            - spec/fixtures/cassettes/BookingSync_API_Client_LivingRooms/_living_room/returns_a_single_living_room.yml
         
     | 
| 
       282 
300 
     | 
    
         
             
            - spec/fixtures/cassettes/BookingSync_API_Client_LivingRooms/_living_rooms/returns_living_rooms.yml
         
     | 
| 
      
 301 
     | 
    
         
            +
            - spec/fixtures/cassettes/BookingSync_API_Client_Messages/_create_message/creates_a_new_message.yml
         
     | 
| 
      
 302 
     | 
    
         
            +
            - spec/fixtures/cassettes/BookingSync_API_Client_Messages/_edit_message/updates_given_message_by_ID.yml
         
     | 
| 
      
 303 
     | 
    
         
            +
            - spec/fixtures/cassettes/BookingSync_API_Client_Messages/_message/returns_a_single_message.yml
         
     | 
| 
      
 304 
     | 
    
         
            +
            - spec/fixtures/cassettes/BookingSync_API_Client_Messages/_messages/returns_messages.yml
         
     | 
| 
       283 
305 
     | 
    
         
             
            - spec/fixtures/cassettes/BookingSync_API_Client_NightlyRateMaps/_edit_nightly_rate_map/updates_given_nightly_rate_map_by_ID.yml
         
     | 
| 
       284 
306 
     | 
    
         
             
            - spec/fixtures/cassettes/BookingSync_API_Client_NightlyRateMaps/_nightly_rate_map/returns_a_single_nightly_rate_map.yml
         
     | 
| 
       285 
307 
     | 
    
         
             
            - spec/fixtures/cassettes/BookingSync_API_Client_NightlyRateMaps/_nightly_rate_maps/returns_nightly_rate_maps.yml
         
     | 
| 
      
 308 
     | 
    
         
            +
            - spec/fixtures/cassettes/BookingSync_API_Client_Participants/_create_participant/creates_a_new_participant.yml
         
     | 
| 
      
 309 
     | 
    
         
            +
            - spec/fixtures/cassettes/BookingSync_API_Client_Participants/_edit_participant/updates_given_participant_by_ID.yml
         
     | 
| 
      
 310 
     | 
    
         
            +
            - spec/fixtures/cassettes/BookingSync_API_Client_Participants/_participant/returns_a_single_participant.yml
         
     | 
| 
      
 311 
     | 
    
         
            +
            - spec/fixtures/cassettes/BookingSync_API_Client_Participants/_participants/returns_participants.yml
         
     | 
| 
       286 
312 
     | 
    
         
             
            - spec/fixtures/cassettes/BookingSync_API_Client_PaymentGateways/_payment_gateway/returns_a_single_payment_gateway.yml
         
     | 
| 
       287 
313 
     | 
    
         
             
            - spec/fixtures/cassettes/BookingSync_API_Client_PaymentGateways/_payment_gateways/returns_payment_gateways.yml
         
     | 
| 
       288 
314 
     | 
    
         
             
            - spec/fixtures/cassettes/BookingSync_API_Client_Payments/_cancel_payment/cancels_given_payment.yml
         
     | 
| 
         @@ -418,11 +444,15 @@ test_files: 
     | 
|
| 
       418 
444 
     | 
    
         
             
            - spec/bookingsync/api/client/bookings_taxes_spec.rb
         
     | 
| 
       419 
445 
     | 
    
         
             
            - spec/bookingsync/api/client/change_overs_spec.rb
         
     | 
| 
       420 
446 
     | 
    
         
             
            - spec/bookingsync/api/client/clients_spec.rb
         
     | 
| 
      
 447 
     | 
    
         
            +
            - spec/bookingsync/api/client/conversations_spec.rb
         
     | 
| 
       421 
448 
     | 
    
         
             
            - spec/bookingsync/api/client/destinations_spec.rb
         
     | 
| 
       422 
449 
     | 
    
         
             
            - spec/bookingsync/api/client/fees_spec.rb
         
     | 
| 
      
 450 
     | 
    
         
            +
            - spec/bookingsync/api/client/hosts_spec.rb
         
     | 
| 
       423 
451 
     | 
    
         
             
            - spec/bookingsync/api/client/inquiries_spec.rb
         
     | 
| 
       424 
452 
     | 
    
         
             
            - spec/bookingsync/api/client/living_rooms_spec.rb
         
     | 
| 
      
 453 
     | 
    
         
            +
            - spec/bookingsync/api/client/messages_spec.rb
         
     | 
| 
       425 
454 
     | 
    
         
             
            - spec/bookingsync/api/client/nightly_rate_maps_spec.rb
         
     | 
| 
      
 455 
     | 
    
         
            +
            - spec/bookingsync/api/client/participants_spec.rb
         
     | 
| 
       426 
456 
     | 
    
         
             
            - spec/bookingsync/api/client/payment_gateways_spec.rb
         
     | 
| 
       427 
457 
     | 
    
         
             
            - spec/bookingsync/api/client/payments_spec.rb
         
     | 
| 
       428 
458 
     | 
    
         
             
            - spec/bookingsync/api/client/periods_spec.rb
         
     | 
| 
         @@ -498,11 +528,21 @@ test_files: 
     | 
|
| 
       498 
528 
     | 
    
         
             
            - spec/fixtures/cassettes/BookingSync_API_Client_Clients/_clients/returns_clients.yml
         
     | 
| 
       499 
529 
     | 
    
         
             
            - spec/fixtures/cassettes/BookingSync_API_Client_Clients/_create_client/creates_a_new_client.yml
         
     | 
| 
       500 
530 
     | 
    
         
             
            - spec/fixtures/cassettes/BookingSync_API_Client_Clients/_edit_client/updates_given_client_by_ID.yml
         
     | 
| 
      
 531 
     | 
    
         
            +
            - spec/fixtures/cassettes/BookingSync_API_Client_Conversations/_connect_booking_to_conversation/connects_given_conversation_with_booking.yml
         
     | 
| 
      
 532 
     | 
    
         
            +
            - spec/fixtures/cassettes/BookingSync_API_Client_Conversations/_conversation/returns_a_single_conversation.yml
         
     | 
| 
      
 533 
     | 
    
         
            +
            - spec/fixtures/cassettes/BookingSync_API_Client_Conversations/_conversations/returns_conversations.yml
         
     | 
| 
      
 534 
     | 
    
         
            +
            - spec/fixtures/cassettes/BookingSync_API_Client_Conversations/_create_conversation/creates_a_new_conversation.yml
         
     | 
| 
      
 535 
     | 
    
         
            +
            - spec/fixtures/cassettes/BookingSync_API_Client_Conversations/_disconnect_booking_from_conversation/disconnects_given_conversation_from_booking.yml
         
     | 
| 
      
 536 
     | 
    
         
            +
            - spec/fixtures/cassettes/BookingSync_API_Client_Conversations/_edit_conversation/updates_given_conversation_by_ID.yml
         
     | 
| 
       501 
537 
     | 
    
         
             
            - spec/fixtures/cassettes/BookingSync_API_Client_Destinations/_destination/returns_a_single_destination.yml
         
     | 
| 
       502 
538 
     | 
    
         
             
            - spec/fixtures/cassettes/BookingSync_API_Client_Destinations/_destinations/returns_destinations.yml
         
     | 
| 
       503 
539 
     | 
    
         
             
            - spec/fixtures/cassettes/BookingSync_API_Client_Fees/_create_fee/creates_a_new_fee.yml
         
     | 
| 
       504 
540 
     | 
    
         
             
            - spec/fixtures/cassettes/BookingSync_API_Client_Fees/_fee/returns_a_single_fee.yml
         
     | 
| 
       505 
541 
     | 
    
         
             
            - spec/fixtures/cassettes/BookingSync_API_Client_Fees/_fees/returns_fees.yml
         
     | 
| 
      
 542 
     | 
    
         
            +
            - spec/fixtures/cassettes/BookingSync_API_Client_Hosts/_create_host/creates_a_new_host.yml
         
     | 
| 
      
 543 
     | 
    
         
            +
            - spec/fixtures/cassettes/BookingSync_API_Client_Hosts/_edit_host/updates_given_host_by_ID.yml
         
     | 
| 
      
 544 
     | 
    
         
            +
            - spec/fixtures/cassettes/BookingSync_API_Client_Hosts/_host/returns_a_single_host.yml
         
     | 
| 
      
 545 
     | 
    
         
            +
            - spec/fixtures/cassettes/BookingSync_API_Client_Hosts/_hosts/returns_hosts.yml
         
     | 
| 
       506 
546 
     | 
    
         
             
            - spec/fixtures/cassettes/BookingSync_API_Client_Inquiries/_create_inquiry/creates_a_new_inquiry.yml
         
     | 
| 
       507 
547 
     | 
    
         
             
            - spec/fixtures/cassettes/BookingSync_API_Client_Inquiries/_inquiries/returns_inquiries.yml
         
     | 
| 
       508 
548 
     | 
    
         
             
            - spec/fixtures/cassettes/BookingSync_API_Client_Inquiries/_inquiry/returns_a_single_inquiry.yml
         
     | 
| 
         @@ -511,9 +551,17 @@ test_files: 
     | 
|
| 
       511 
551 
     | 
    
         
             
            - spec/fixtures/cassettes/BookingSync_API_Client_LivingRooms/_edit_living_room/updates_given_living_room_by_ID.yml
         
     | 
| 
       512 
552 
     | 
    
         
             
            - spec/fixtures/cassettes/BookingSync_API_Client_LivingRooms/_living_room/returns_a_single_living_room.yml
         
     | 
| 
       513 
553 
     | 
    
         
             
            - spec/fixtures/cassettes/BookingSync_API_Client_LivingRooms/_living_rooms/returns_living_rooms.yml
         
     | 
| 
      
 554 
     | 
    
         
            +
            - spec/fixtures/cassettes/BookingSync_API_Client_Messages/_create_message/creates_a_new_message.yml
         
     | 
| 
      
 555 
     | 
    
         
            +
            - spec/fixtures/cassettes/BookingSync_API_Client_Messages/_edit_message/updates_given_message_by_ID.yml
         
     | 
| 
      
 556 
     | 
    
         
            +
            - spec/fixtures/cassettes/BookingSync_API_Client_Messages/_message/returns_a_single_message.yml
         
     | 
| 
      
 557 
     | 
    
         
            +
            - spec/fixtures/cassettes/BookingSync_API_Client_Messages/_messages/returns_messages.yml
         
     | 
| 
       514 
558 
     | 
    
         
             
            - spec/fixtures/cassettes/BookingSync_API_Client_NightlyRateMaps/_edit_nightly_rate_map/updates_given_nightly_rate_map_by_ID.yml
         
     | 
| 
       515 
559 
     | 
    
         
             
            - spec/fixtures/cassettes/BookingSync_API_Client_NightlyRateMaps/_nightly_rate_map/returns_a_single_nightly_rate_map.yml
         
     | 
| 
       516 
560 
     | 
    
         
             
            - spec/fixtures/cassettes/BookingSync_API_Client_NightlyRateMaps/_nightly_rate_maps/returns_nightly_rate_maps.yml
         
     | 
| 
      
 561 
     | 
    
         
            +
            - spec/fixtures/cassettes/BookingSync_API_Client_Participants/_create_participant/creates_a_new_participant.yml
         
     | 
| 
      
 562 
     | 
    
         
            +
            - spec/fixtures/cassettes/BookingSync_API_Client_Participants/_edit_participant/updates_given_participant_by_ID.yml
         
     | 
| 
      
 563 
     | 
    
         
            +
            - spec/fixtures/cassettes/BookingSync_API_Client_Participants/_participant/returns_a_single_participant.yml
         
     | 
| 
      
 564 
     | 
    
         
            +
            - spec/fixtures/cassettes/BookingSync_API_Client_Participants/_participants/returns_participants.yml
         
     | 
| 
       517 
565 
     | 
    
         
             
            - spec/fixtures/cassettes/BookingSync_API_Client_PaymentGateways/_payment_gateway/returns_a_single_payment_gateway.yml
         
     | 
| 
       518 
566 
     | 
    
         
             
            - spec/fixtures/cassettes/BookingSync_API_Client_PaymentGateways/_payment_gateways/returns_payment_gateways.yml
         
     | 
| 
       519 
567 
     | 
    
         
             
            - spec/fixtures/cassettes/BookingSync_API_Client_Payments/_cancel_payment/cancels_given_payment.yml
         
     |