Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
lobbyist-ruby / spec / cassettes / appointment_create.yml
Size: Mime:
---
http_interactions:
- request:
    method: post
    uri: http://localhost:3000/v1/appointments.json
    body:
      encoding: UTF-8
      string: '{"appointment":{"company_id":"127","first_name":"Tom","last_name":"Jerry","email":"tomjerry@gmail.com","phone":"(876)
        876-8765","appointment_date1":"2013-05-30 12:00 PM","comments":"Please come
        clean up."},"nonce":"2015-12-01 01:00:26 UTC"}'
    headers:
      User-Agent:
      - Faraday v0.9.2
      Accept:
      - application/json
      Content-Type:
      - application/json
      Authorization:
      - Token token="Jz43pwlU1rb4ewhgltWO", signature="99ecefa90f112866c9e16078cfd045bd9a9436218776293a02ba2169fe3f718f"
  response:
    status:
      code: 200
      message: 
    headers:
      content-type:
      - application/json; charset=utf-8
      vary:
      - Origin
      x-ua-compatible:
      - IE=Edge
      etag:
      - '"6e1b343a032509c3eca6501687d65c03"'
      cache-control:
      - max-age=0, private, must-revalidate
      set-cookie:
      - _api_session=BAh7BkkiD3Nlc3Npb25faWQGOgZFVEkiJTdjMjYxMTY0YzBhZGY4YjI1Y2RlZTUxZDllOGE5NTNkBjsAVA%3D%3D--0389090da4fdbbc50f543ef6285ac07e8ba6c28f;
        path=/; HttpOnly
      x-request-id:
      - 3d01d8f48aba0e316a9774edcc1c3d78
      x-runtime:
      - '0.042579'
      connection:
      - close
      server:
      - thin 1.5.1 codename Straight Razor
    body:
      encoding: UTF-8
      string: '{"id":45876,"first_name":"Tom","last_name":"Jerry","email":"tomjerry@gmail.com","phone":"8768768765","appointment_date1":"2013-05-30
        12:00 PM","appointment_date2":null,"appointment_date3":null,"comments":"Please
        come clean up.","created_at":"2015-12-01T01:00:26Z","updated_at":"2015-12-01T01:00:26Z","company":{"company_id":127,"company_name":"Customer
        Lobby"}}'
    http_version: 
  recorded_at: Tue, 01 Dec 2015 01:00:26 GMT
recorded_with: VCR 3.0.0