Sha256: 768872367fc0d031858ade8e724ec09ed2d392e580dd4a0ca5f3c45d69b32d01

Contents?: true

Size: 1.34 KB

Versions: 3

Compression:

Stored size: 1.34 KB

Contents

---
http_interactions:
- request:
    method: post
    uri: https://api.phaxio.com/v2.1/atas
    body:
      encoding: UTF-8
      string: name=Test+ATA
    headers:
      User-Agent:
      - Faraday v1.9.3
      Authorization:
      - "<AUTH_HEADER>"
      Content-Type:
      - application/x-www-form-urlencoded
  response:
    status:
      code: 200
      message: OK
    headers:
      cache-control:
      - max-age=0, private, must-revalidate
      content-type:
      - application/json; charset=utf-8
      date:
      - Wed, 19 Jan 2022 21:51:25 GMT
      etag:
      - W/"2240be8a677db0228884851090387d4a"
      server:
      - nginx
      strict-transport-security:
      - max-age=15768000; preload
      x-request-id:
      - ab1cf64f-12e5-4630-8ca6-337822616937
      x-robots-tag:
      - noindex, nofollow, nosnippet, noarchive
      content-length:
      - '328'
      connection:
      - keep-alive
    body:
      encoding: UTF-8
      string: '{"success":true,"message":"ATA created successfully","data":{"id":332,"name":"Test
        ATA","description":null,"user_phone_number":null,"domain":"ata.staging.phaxio.com","last_registered":null,"expiry_time":null,"user_agent":null,"sip_uri":null,"mac_address":null,"group":null,"username":"s5beofdgwn","password":"y6wt3q215qsec25i"}}'
  recorded_at: Wed, 19 Jan 2022 21:52:09 GMT
recorded_with: VCR 6.0.0

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
phaxio-2.1.2 spec/support/cassettes/ata/create.yml
phaxio-2.1.1 spec/support/cassettes/ata/create.yml
phaxio-2.1.0 spec/support/cassettes/ata/create.yml