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_update.yml

---
http_interactions:
- request:
    method: put
    uri: http://localhost:3000/v1/member_calls/3.json
    body:
      encoding: UTF-8
      string: '{"member_call":{"notes":"This is the new note."},"nonce":"2015-11-30
        21:22:34 UTC"}'
    headers:
      User-Agent:
      - Faraday v0.9.2
      Accept:
      - application/json
      Content-Type:
      - application/json
      Authorization:
      - Token token="Jz43pwlU1rb4ewhgltWO", signature="a06413d4f28e499f150dc2d6e2cba021dd34e5ad42cd20356c7d662a4632a10b"
  response:
    status:
      code: 200
      message: 
    headers:
      content-type:
      - application/json; charset=utf-8
      vary:
      - Origin
      x-ua-compatible:
      - IE=Edge
      etag:
      - '"6499e58af29e758745057c36093ab04e"'
      cache-control:
      - max-age=0, private, must-revalidate
      set-cookie:
      - _api_session=BAh7BkkiD3Nlc3Npb25faWQGOgZFVEkiJWI3ODQxNDVmZTNlNDBjZWFiNzU0ZTE5NjJmMGQwMTEzBjsAVA%3D%3D--a2cb177a04df2d904f44757754ba8f0d47f66a55;
        path=/; HttpOnly
      x-request-id:
      - c4735eca21a0dc630167de3db5ec9a3d
      x-runtime:
      - '0.028372'
      connection:
      - close
      server:
      - thin 1.5.1 codename Straight Razor
    body:
      encoding: UTF-8
      string: '{"id":3,"company_id":147,"admin_user_id":null,"call_number":1,"priority":1,"completed_at":"2011-05-10T07:00:00Z","status":"completed","notes":"This
        is the new note.","created_at":"2013-04-19T00:32:37Z","updated_at":"2015-11-30T21:22:34Z"}'
    http_version: 
  recorded_at: Mon, 30 Nov 2015 21:22:34 GMT
recorded_with: VCR 3.0.0