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 / member_call_enqueue.yml

---
http_interactions:
- request:
    method: put
    uri: http://localhost:3000/v1/member_calls/51441/enqueue.json
    body:
      encoding: UTF-8
      string: '{"member_call":{"admin_user_id":2},"nonce":"2015-11-30 21:35:08 UTC"}'
    headers:
      User-Agent:
      - Faraday v0.9.2
      Accept:
      - application/json
      Content-Type:
      - application/json
      Authorization:
      - Token token="Jz43pwlU1rb4ewhgltWO", signature="b06d3b471302b5afc524df334b3abcabb3ad360c3b073f6ff765bc75280914b8"
  response:
    status:
      code: 200
      message: 
    headers:
      content-type:
      - application/json; charset=utf-8
      vary:
      - Origin
      x-ua-compatible:
      - IE=Edge
      etag:
      - '"a6cbfbe3bd6c91cb50bb9dca1d3f1a9f"'
      cache-control:
      - max-age=0, private, must-revalidate
      set-cookie:
      - _api_session=BAh7BkkiD3Nlc3Npb25faWQGOgZFVEkiJTI0YjVmNjQwOGFkYTFjZTg0ZDhiN2U4YzMyYjZiNGQ4BjsAVA%3D%3D--885b66b303248ae5a774e3842ee219723a05eff9;
        path=/; HttpOnly
      x-request-id:
      - f72d1509467a91ed32866b3921b02571
      x-runtime:
      - '0.685557'
      connection:
      - close
      server:
      - thin 1.5.1 codename Straight Razor
    body:
      encoding: UTF-8
      string: '{"id":51441,"company_id":26859,"admin_user_id":2,"call_number":5,"priority":5,"completed_at":null,"status":"queued","notes":null,"created_at":"2015-03-22T12:30:20Z","updated_at":"2015-11-30T21:35:08Z"}'
    http_version: 
  recorded_at: Mon, 30 Nov 2015 21:35:09 GMT
recorded_with: VCR 3.0.0