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

---
http_interactions:
- request:
    method: put
    uri: http://localhost:3000/v1/reviews/10117.json
    body:
      encoding: UTF-8
      string: '{"review":{"company_id":"127","contact_id":"23","review_summary":"New
        Review Summary","review_body":"This is the body.","review_status":"publish","total_score":"1.0","source":"web","reviewer_location_state":"CA","reviewer_location_city":"Yuba"},"nonce":"2015-11-23
        22:30:37 UTC"}'
    headers:
      User-Agent:
      - Faraday v0.9.2
      Accept:
      - application/json
      Content-Type:
      - application/json
      Authorization:
      - Token token="Jz43pwlU1rb4ewhgltWO", signature="cd23ebffe5178f62ec03f8cf261b04b74cf4b51e63a1c7d8521204cc836fdf53"
  response:
    status:
      code: 200
      message: 
    headers:
      content-type:
      - application/json; charset=utf-8
      vary:
      - Origin
      x-ua-compatible:
      - IE=Edge
      etag:
      - '"a76c119f61f92a213b38882a30dba4bb"'
      cache-control:
      - max-age=0, private, must-revalidate
      set-cookie:
      - _api_session=BAh7BkkiD3Nlc3Npb25faWQGOgZFVEkiJTZlM2RiYjk4ZjlmMjYxZGQyNmIzMzNiNmNlNmQxMTUzBjsAVA%3D%3D--0eeb186ace90153f2e978215fecdca28a5c6e14b;
        path=/; HttpOnly
      x-request-id:
      - 27e50a0ea2bffb2689fdc3e0db6b5eff
      x-runtime:
      - '0.092817'
      connection:
      - close
      server:
      - thin 1.5.1 codename Straight Razor
    body:
      encoding: UTF-8
      string: '{"review_id":10117,"review_date":"2008-12-15T20:24:21Z","created_at":"2008-12-15T20:24:21Z","updated_at":"2015-11-23T22:30:37Z","review_summary":"New
        Review Summary","review_body":"This is the body.","review_status":"publish","total_score":1.0,"source":"web","is_featured":false,"ip_address":"12.234.39.82","admin_user_id":4,"inviteable_id":70,"inviteable_type":"CustomerCall","invite_id":null,"reviewer_location_state":"CA","reviewer_location_city":"Yuba","topics":[],"comments":[],"contact":{"contact_id":23,"first_name":"Julian","last_name":"White","email":"julian@webvideovision.com","state":null,"city":null},"company":{"company_id":127,"company_name":"Customer
        Lobby","abbreviated_name":"customer-lobby","company_description":"Collect,
        manage and publish customer reviews of your business.","address1":"2020 Milvia
        St. #400","state":"CA","city":"Berkeley","zip":"94704","phone":"5102300588","website":"https://www.CustomerLobby.com","categories":[{"accelerator":"3.0","created_at":"2013-01-23T19:00:47Z","default_services":null,"generate_marketing_insights":false,"id":174,"mail_delay_offset":15,"min_days_between_mailings":60,"name":"internet
        marketing service","repeat_marketing_campaign_enabled":false,"roi":"3.0","salesforce_name":null,"threshold":"0.682","transaction_grouping_interval":30,"updated_at":"2013-01-23T19:00:47Z"}]}}'
    http_version: 
  recorded_at: Mon, 23 Nov 2015 22:30:37 GMT
recorded_with: VCR 3.0.0