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

---
http_interactions:
- request:
    method: put
    uri: http://localhost:3000/v1/review_withdrawal_requests/9001.json
    body:
      encoding: UTF-8
      string: '{"review_withdrawal_request":{"id":1,"review_id":20548,"status":"accepted","request_date":"2015-11-23
        14:04:45 -0800","note":"Requesting a withdrawal"},"nonce":"2015-11-23 22:04:45
        UTC"}'
    headers:
      User-Agent:
      - Faraday v0.9.2
      Accept:
      - application/json
      Content-Type:
      - application/json
      Authorization:
      - Token token="Jz43pwlU1rb4ewhgltWO", signature="1eb2033bf6fb1943d749bd722efc8c5cfcc0e1192a39a4b2bd0b2dfeb6151d48"
  response:
    status:
      code: 200
      message: 
    headers:
      content-type:
      - application/json; charset=utf-8
      vary:
      - Origin
      x-ua-compatible:
      - IE=Edge
      etag:
      - '"3af23246106362a11edc25df53c43466"'
      cache-control:
      - max-age=0, private, must-revalidate
      set-cookie:
      - _api_session=BAh7BkkiD3Nlc3Npb25faWQGOgZFVEkiJTVlYjZhZmRlOTg3ZWFhNTgwMmMyOWM4NThiYzkxMzI4BjsAVA%3D%3D--6711c1baca923ff06c3a53bbb95f99553e5eeeca;
        path=/; HttpOnly
      x-request-id:
      - 432071aa9b05d9f9af30d8c805dd67a4
      x-runtime:
      - '0.198965'
      connection:
      - close
      server:
      - thin 1.5.1 codename Straight Razor
    body:
      encoding: UTF-8
      string: '{"id":9001,"review_id":20548,"status":"accepted","request_date":"2015-11-23T22:04:45Z","note":"Requesting
        a withdrawal","author_action_date":null,"email_key":"TrisK47rsJr_stgNWmAqVQ","created_at":"2015-07-04T23:16:33Z","updated_at":"2015-11-23T22:04:45Z","review":{"review_id":20548,"review_date":"2010-04-27T13:39:22Z","review_summary":"Beautiful
        repair finished on time","review_body":"  Thanks for a wonderful repair to
        my car and the freindly service from everyone in the office.","review_status":"not_publish","total_score":1.0,"source":"email","is_featured":false,"ip_address":"96.229.203.41","admin_user_id":null,"invite_id":17776,"reviewer_location_state":"CA","reviewer_location_city":"Long
        Beach","created_at":"2010-04-27T13:39:22Z","updated_at":"2015-11-23T22:04:45Z","post_to_facebook":false}}'
    http_version: 
  recorded_at: Mon, 23 Nov 2015 22:04:45 GMT
recorded_with: VCR 3.0.0