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

---
http_interactions:
- request:
    method: get
    uri: http://localhost:3000/v1/contacts/search.json?company_id=127&email=jdoe%40gmail.com&nonce=2015-11-30+22%3A47%3A49+UTC
    body:
      encoding: US-ASCII
      string: ''
    headers:
      User-Agent:
      - Faraday v0.9.2
      Accept:
      - application/json
      Authorization:
      - Token token="Jz43pwlU1rb4ewhgltWO", signature="9a297e65c2b2da073ab50e11d61dece0afff2c1d0fad462dc88cfbd206062b67"
  response:
    status:
      code: 200
      message: 
    headers:
      content-type:
      - application/json; charset=utf-8
      vary:
      - Origin
      x-ua-compatible:
      - IE=Edge
      etag:
      - '"65a6d39745d80925995e835aed981f5e"'
      cache-control:
      - max-age=0, private, must-revalidate
      x-request-id:
      - 2463dcdc659b103331952960ea45c639
      x-runtime:
      - '0.021993'
      connection:
      - close
      server:
      - thin 1.5.1 codename Straight Razor
    body:
      encoding: UTF-8
      string: '[{"contact_id":7207156,"company_id":127,"first_name":"Jane","last_name":"Doe","phone_daytime":null,"phone_daytime_ext":null,"phone_alt":null,"phone_alt_ext":null,"phone_mobile":null,"email":"jdoe@gmail.com","address1":null,"address2":null,"city":null,"state":null,"zip":null,"country":null,"last_service_date":null,"notes":null,"wants_emails":true,"wants_calls":true,"wants_sms":true,"wants_direct_mail":true,"unsubscribe_reason":null,"unsubscribed_at":null,"exclude_referral_marketing":0,"exclude_retention_marketing":0,"auto_review_id":null,"auto_review_draft_key":null,"created_at":"2015-11-30T22:39:53Z","updated_at":"2015-11-30T22:43:43Z"}]'
    http_version: 
  recorded_at: Mon, 30 Nov 2015 22:47:50 GMT
recorded_with: VCR 3.0.0