Sha256: 17e706fba38bba5007b5e5f85f426a23cc5bfcd7ea8df1a4be96d130c0a81fad

Contents?: true

Size: 1.98 KB

Versions: 2

Compression:

Stored size: 1.98 KB

Contents

---
http_interactions:
- request:
    method: post
    uri: https://auth0-sdk-tests.auth0.com/api/v2/rules
    body:
      encoding: UTF-8
      string: '{"name":"rubytest - ENABLED","enabled":true,"script":"function (user,
        context, cb) { cb(null, user, context);}","stage":"login_success"}'
    headers:
      Accept:
      - "*/*"
      Accept-Encoding:
      - gzip, deflate
      User-Agent:
      - Ruby/2.3.1
      Content-Type:
      - application/json
      Auth0-Client:
      - eyJuYW1lIjoicnVieS1hdXRoMCIsInZlcnNpb24iOiI0LjUuMCJ9
      Authorization:
      - Bearer eyJ0eXAiOiJKV1QiLCJhbGc.eyJpc3MiOiJodHRwczovL2F1dGgwLXNkay10ZXN0cy5hdXRoMC5jb20vIiwic3ViIjoiQjRvUEhsMDA3VmExR0JkWlhpU0hhRUNVcVZXa2Q5WGtAY2xpZW50cyIsIm.PxfZjVd4wTb_bFbSTENdTmbj13CDQaPK352w3UNL3i3DnWcVJa6qSiA0hCr_tSU_uC34mHkK52O8tFVeZjxCYSeM9yOZUcKVya5N0I7G90X
      Content-Length:
      - '136'
      Host:
      - auth0-sdk-tests.auth0.com
  response:
    status:
      code: 201
      message: Created
    headers:
      Date:
      - Fri, 05 Oct 2018 17:28:49 GMT
      Content-Type:
      - application/json; charset=utf-8
      Transfer-Encoding:
      - chunked
      Connection:
      - keep-alive
      X-Ratelimit-Limit:
      - '10'
      X-Ratelimit-Remaining:
      - '9'
      X-Ratelimit-Reset:
      - '1538760531'
      Vary:
      - origin,accept-encoding
      Cache-Control:
      - private, no-store, no-cache, must-revalidate, post-check=0, pre-check=0
      Content-Encoding:
      - gzip
      Strict-Transport-Security:
      - max-age=15724800
      X-Robots-Tag:
      - noindex, nofollow, nosnippet, noarchive
    body:
      encoding: ASCII-8BIT
      string: !binary |-
        H4sIAAAAAAAAA1WNwQrCMBBEfyXsqYUIBUWwnhRzaBHxJPRU2nStgZhIshGl
        9N9dvXkZBuYxbwIzQAkh2baq1426FNWmLm7N+bkECei63iIDFBJKiDqYBzF+
        TU6T8U5kKWKQQntH+CIufS4mzswla6X4W/PtzJeuu+NP2L8JI4mFUKfd/qgO
        vPkwYIByxSbqxi9m/WhcG5PWGCPMH2y13sCuAAAA
    http_version: 
  recorded_at: Fri, 05 Oct 2018 17:28:49 GMT
recorded_with: VCR 3.0.3

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
auth0-4.7.0 spec/fixtures/vcr_cassettes/Auth0_Api_V2_Rules/create_test_enabled_rule.yml
auth0-4.6.0 spec/fixtures/vcr_cassettes/Auth0_Api_V2_Rules/create_test_enabled_rule.yml