Learn more  » Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Bower components Debian packages RPM packages NuGet packages

customerlobby / lobbyist-ruby   ruby

Repository URL to install this package:

/ spec / cassettes / admin_performance_event_create.yml

---
http_interactions:
- request:
    method: post
    uri: http://localhost:3000/v1/admin_performance_events.json
    body:
      encoding: UTF-8
      string: '{"admin_performance_event":{"id":1,"admin_user_id":12,"name":"completed","entity_id":152,"entity_type":"CustomerCall","created_at":"2015-11-30
        17:03:20 -0800","updated_at":"2015-11-30 17:03:20 -0800"},"nonce":"2015-12-01
        01:03:20 UTC"}'
    headers:
      User-Agent:
      - Faraday v0.9.2
      Accept:
      - application/json
      Content-Type:
      - application/json
      Authorization:
      - Token token="Jz43pwlU1rb4ewhgltWO", signature="0f20c9910fe442f3eb2b0a39256c050cdb326e5c9ee4913891fdf0d9be898443"
  response:
    status:
      code: 200
      message: 
    headers:
      content-type:
      - application/json; charset=utf-8
      vary:
      - Origin
      x-ua-compatible:
      - IE=Edge
      etag:
      - '"458eb1a43fdc4cc3d0de6c4bc29e19eb"'
      cache-control:
      - max-age=0, private, must-revalidate
      set-cookie:
      - _api_session=BAh7BkkiD3Nlc3Npb25faWQGOgZFVEkiJWQ5MDY1OWQxMzNjMjVmMWU3ODQ5NmJkN2Y3ZmZjMmZiBjsAVA%3D%3D--1aab74c7bd30a9aae377488d9f719254fd813e72;
        path=/; HttpOnly
      x-request-id:
      - 8cdd869afad3bf753764e7b38fd0a20b
      x-runtime:
      - '0.092810'
      connection:
      - close
      server:
      - thin 1.5.1 codename Straight Razor
    body:
      encoding: UTF-8
      string: '{"id":457334,"admin_user_id":12,"name":"completed","entity_id":152,"entity_type":"CustomerCall","created_at":"2015-12-01T01:03:20Z","updated_at":"2015-12-01T01:03:20Z"}'
    http_version: 
  recorded_at: Tue, 01 Dec 2015 01:03:20 GMT
recorded_with: VCR 3.0.0