---
http_interactions:
- request:
method: post
uri: http://localhost:3000/v1/reviews.json
body:
encoding: UTF-8
string: '{"review":{"review_summary":"This is the summary.","review_body":"This
is the review.","company_id":"127","source":"web","total_score":"0.0","reviewer_location_city":"Berkeley","reviewer_location_state":"CA","ip_address":"127.0.0.1","xref_topics_attributes":[{"rating":"1.0","review_topic_id":"320"},{"rating":"1.0","review_topic_id":"321"},{"rating":"1.0","review_topic_id":"322"}]},"contact":{"first_name":"Dan","last_name":"Tenham","city":"Berkeley","state":"CA","email":"dan.tenham@gmail.com"},"contact_suggestions":[{"suggestion_topic_id":"319","suggestion_answer":""},{"suggestion_topic_id":"386","suggestion_answer":""},{"suggestion_topic_id":"387","suggestion_answer":""}],"nonce":"2015-11-23
22:53:52 UTC"}'
headers:
User-Agent:
- Faraday v0.9.2
Accept:
- application/json
Content-Type:
- application/json
Authorization:
- Token token="Jz43pwlU1rb4ewhgltWO", signature="46b0d7dc940176ad8b7a5ffd328fca02b214e28ae887a0057be1ea57ac551408"
response:
status:
code: 200
message:
headers:
content-type:
- application/json; charset=utf-8
vary:
- Origin
x-ua-compatible:
- IE=Edge
etag:
- '"b67811f6d0b1e9a5e38ea6ddf3b77402"'
cache-control:
- max-age=0, private, must-revalidate
set-cookie:
- _api_session=BAh7BkkiD3Nlc3Npb25faWQGOgZFVEkiJTg3ZWViMjhiY2YzOGQxMDY3ZjJlZDIwYTEwYjhkYjEzBjsAVA%3D%3D--f57efa8a93e47ec5cd775c87c649ebd5d1c15f4f;
path=/; HttpOnly
x-request-id:
- 5a9ec7af60987dafc18d26cf54f54286
x-runtime:
- '0.088731'
connection:
- close
server:
- thin 1.5.1 codename Straight Razor
body:
encoding: UTF-8
string: '{"review_id":635697,"review_date":"2015-11-23T22:53:52Z","review_summary":"This
is the summary.","review_body":"This is the review.","review_status":"pending","total_score":1.0,"source":"web","is_featured":false,"ip_address":"127.0.0.1","admin_user_id":null,"inviteable_id":null,"inviteable_type":null,"invite_id":null,"reviewer_location_state":"CA","reviewer_location_city":"Berkeley","created_at":"2015-11-23T22:53:52Z","updated_at":"2015-11-23T22:53:52Z","post_to_facebook":false,"topics":[{"id":2133331,"review_topic":"Quality","rating":1.0},{"id":2133332,"review_topic":"Professionalism","rating":1.0},{"id":2133333,"review_topic":"Value","rating":1.0}],"contact":{"contact_id":7207154,"first_name":"Dan","last_name":"Tenham","state":"CA","city":"Berkeley"},"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:53:52 GMT
recorded_with: VCR 3.0.0