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

---
http_interactions:
- request:
    method: post
    uri: http://localhost:3000/v1/challenge_communications.json
    body:
      encoding: UTF-8
      string: '{"challenge_communication":{"review_challenge_id":577,"communication_body":"You
        can''t touch this."},"nonce":"2015-12-01 00:44:12 UTC"}'
    headers:
      User-Agent:
      - Faraday v0.9.2
      Accept:
      - application/json
      Content-Type:
      - application/json
      Authorization:
      - Token token="Jz43pwlU1rb4ewhgltWO", signature="220c4563b56e8f7cda362de8e07e9b08aca7ac0dd5d72b42f11177e8a7458ead"
  response:
    status:
      code: 200
      message: 
    headers:
      content-type:
      - application/json; charset=utf-8
      vary:
      - Origin
      x-ua-compatible:
      - IE=Edge
      etag:
      - '"3a58f20f69a7cc993779481cff0e812b"'
      cache-control:
      - max-age=0, private, must-revalidate
      set-cookie:
      - _api_session=BAh7BkkiD3Nlc3Npb25faWQGOgZFVEkiJTEyNGRjN2YwNGE2ZmM1YzUzMjVkODQyZGU1MDQwMDY5BjsAVA%3D%3D--b9ed1dfd8841ed5581b596da34a689fcb7090e6f;
        path=/; HttpOnly
      x-request-id:
      - c39864401b099c189afabe313f153e95
      x-runtime:
      - '0.023712'
      connection:
      - close
      server:
      - thin 1.5.1 codename Straight Razor
    body:
      encoding: UTF-8
      string: '{"id":18057,"review_challenge_id":577,"contact_id":null,"admin_user_id":null,"user_id":null,"user_type":null,"communication_body":"You
        can''t touch this.","email_key":null,"created_at":"2015-12-01T00:44:12Z","updated_at":"2015-12-01T00:44:12Z"}'
    http_version: 
  recorded_at: Tue, 01 Dec 2015 00:44:12 GMT
recorded_with: VCR 3.0.0