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

---
http_interactions:
- request:
    method: put
    uri: http://localhost:3000/v1/company_users/15.json
    body:
      encoding: UTF-8
      string: '{"company_id":10,"company_user":{"is_active":false},"nonce":"2015-11-30
        23:45:02 UTC"}'
    headers:
      User-Agent:
      - Faraday v0.9.2
      Accept:
      - application/json
      Content-Type:
      - application/json
      Authorization:
      - Token token="Jz43pwlU1rb4ewhgltWO", signature="e3a76b86ef6f0636bbda66c45d28cdea68a385412c8c629a8fd6a92578639b5b"
  response:
    status:
      code: 200
      message: 
    headers:
      content-type:
      - application/json; charset=utf-8
      vary:
      - Origin
      x-ua-compatible:
      - IE=Edge
      etag:
      - '"8c8a79d2b263cdb2a871852d32454d9f"'
      cache-control:
      - max-age=0, private, must-revalidate
      set-cookie:
      - _api_session=BAh7BkkiD3Nlc3Npb25faWQGOgZFVEkiJWU3MTNhMDhiNGQ4ODE5YjJlYzMwNzNmMWU5MzI0YWQ0BjsAVA%3D%3D--a54820ff28707a1c5291f3e6490edea32fb628bb;
        path=/; HttpOnly
      x-request-id:
      - fd8067e717f51c97cbff51ba15df5b1e
      x-runtime:
      - '0.030231'
      connection:
      - close
      server:
      - thin 1.5.1 codename Straight Razor
    body:
      encoding: UTF-8
      string: '{"company_user_id":15,"company_id":10,"email":"jeff@customerlobby.com","first_name":"Jeffrey","last_name":"Hunt","is_active":false,"is_manager":true,"primary_contact":true,"accepts_terms":true,"sugar_contact_id":"ea113bea-4b29-8912-2beb-50abd1141f2b"}'
    http_version: 
  recorded_at: Mon, 30 Nov 2015 23:45:02 GMT
recorded_with: VCR 3.0.0