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

---
http_interactions:
- request:
    method: get
    uri: http://localhost:3000/v1/company_users/primary.json?company_id=127&nonce=2015-11-30+23%3A47%3A25+UTC
    body:
      encoding: US-ASCII
      string: ''
    headers:
      User-Agent:
      - Faraday v0.9.2
      Accept:
      - application/json
      Authorization:
      - Token token="Jz43pwlU1rb4ewhgltWO", signature="21323818bcd124f498003f88c56dd16b470737de821b96aa6520de66a84c303a"
  response:
    status:
      code: 200
      message: 
    headers:
      content-type:
      - application/json; charset=utf-8
      vary:
      - Origin
      x-ua-compatible:
      - IE=Edge
      etag:
      - '"bab63a590020bd4d455afc4efd33a514"'
      cache-control:
      - max-age=0, private, must-revalidate
      x-request-id:
      - e01fcd65610889ed4343d2ba39b28f3c
      x-runtime:
      - '0.014486'
      connection:
      - close
      server:
      - thin 1.5.1 codename Straight Razor
    body:
      encoding: UTF-8
      string: '{"company_user_id":134,"company_id":127,"email":"ted@customerlobby.com","first_name":"Ted","last_name":"Paff","is_active":true,"is_manager":true,"primary_contact":true,"accepts_terms":true,"sugar_contact_id":"9657de33-5488-21b8-400a-4fa8160f5d16"}'
    http_version: 
  recorded_at: Mon, 30 Nov 2015 23:47:25 GMT
recorded_with: VCR 3.0.0