Sha256: 5a5281669ac3530d781063d4f9048cf8d5c53c8a1407519a9696b365ba9d72c6

Contents?: true

Size: 1.96 KB

Versions: 1

Compression:

Stored size: 1.96 KB

Contents

---
http_interactions:
- request:
    method: patch
    uri: http://ps.pndsn.com/v2/objects/sub-a-mock-key/channels/channel?auth=ruby-test-auth-client-one&include=custom&pnsdk=PubNub-Ruby/4.5.0&uuid=ruby-test-uuid-client-one
    body:
      encoding: UTF-8
      string: '{"name":"some_name"}'
    headers:
      User-Agent:
      - HTTPClient/1.0 (2.8.3, ruby 2.6.5 (2019-10-01))
      Accept:
      - "*/*"
      Date:
      - Wed, 03 Mar 2021 23:06:24 GMT
      Content-Type:
      - application/x-www-form-urlencoded
  response:
    status:
      code: 200
      message: OK
    headers:
      Date:
      - Wed, 03 Mar 2021 23:06:25 GMT
      Content-Type:
      - application/json
      Content-Length:
      - '155'
      Connection:
      - keep-alive
      Access-Control-Allow-Origin:
      - "*"
      Access-Control-Allow-Credentials:
      - 'true'
    body:
      encoding: UTF-8
      string: '{"status":200,"data":{"id":"channel","name":"some_name","description":null,"custom":null,"updated":"2021-03-02T22:00:35.861751Z","eTag":"Adqiu+akxbGf1wE"}}'
  recorded_at: Wed, 03 Mar 2021 23:06:24 GMT
- request:
    method: delete
    uri: http://ps.pndsn.com/v2/objects/sub-a-mock-key/channels/channel?auth=ruby-test-auth-client-one&l_obj=0.146&pnsdk=PubNub-Ruby/4.5.0&uuid=ruby-test-uuid-client-one
    body:
      encoding: UTF-8
      string: ''
    headers:
      User-Agent:
      - HTTPClient/1.0 (2.8.3, ruby 2.6.5 (2019-10-01))
      Accept:
      - "*/*"
      Date:
      - Wed, 03 Mar 2021 23:06:24 GMT
  response:
    status:
      code: 200
      message: OK
    headers:
      Date:
      - Wed, 03 Mar 2021 23:06:25 GMT
      Content-Type:
      - application/json
      Content-Length:
      - '26'
      Connection:
      - keep-alive
      Access-Control-Allow-Origin:
      - "*"
      Access-Control-Allow-Credentials:
      - 'true'
    body:
      encoding: UTF-8
      string: '{"status":200,"data":null}'
  recorded_at: Wed, 03 Mar 2021 23:06:24 GMT
recorded_with: VCR 6.0.0

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pubnub-4.6.0 fixtures/vcr_cassettes/examples/channel_metadata/004.yml