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

---
http_interactions:
- request:
    method: put
    uri: http://localhost:3000/v1/termination_notices/7639/dismiss.json
    body:
      encoding: UTF-8
      string: '{"nonce":"2015-11-23 17:59:17 UTC"}'
    headers:
      User-Agent:
      - Faraday v0.9.2
      Accept:
      - application/json
      Content-Type:
      - application/json
      Authorization:
      - Token token="Jz43pwlU1rb4ewhgltWO", signature="50b1e8bb0ffb75fe1e099ead1ef2dc927a6bf173bbd512ec622ed800d4329631"
  response:
    status:
      code: 200
      message: 
    headers:
      content-type:
      - application/json; charset=utf-8
      vary:
      - Origin
      x-ua-compatible:
      - IE=Edge
      etag:
      - '"0e2d7a6ba3adfd31aa8524825136fb20"'
      cache-control:
      - max-age=0, private, must-revalidate
      set-cookie:
      - _api_session=BAh7BkkiD3Nlc3Npb25faWQGOgZFVEkiJWQ0ODVlMGJjZmU4M2Y4M2ExNjRmNDcyZjBhNjY3OGRlBjsAVA%3D%3D--a63a518d9231fd1f1b5ff171c81dcce47313fe7c;
        path=/; HttpOnly
      x-request-id:
      - ed54a8079d8ad5cbc4323d37793b4206
      x-runtime:
      - '0.022653'
      connection:
      - close
      server:
      - thin 1.5.1 codename Straight Razor
    body:
      encoding: UTF-8
      string: '{"id":7639,"company_id":41318,"created_at":"2015-08-19T22:43:51Z","updated_at":"2015-11-23T17:59:17Z","dismissed":true}'
    http_version: 
  recorded_at: Mon, 23 Nov 2015 17:59:17 GMT
recorded_with: VCR 3.0.0