Repository URL to install this package:
Version:
0.9.7 ▾
|
---
http_interactions:
- request:
method: put
uri: http://localhost:3000/v1/promos/25.json
body:
encoding: UTF-8
string: '{"promo":{"visible":1},"nonce":"2015-11-30 19:44:51 UTC"}'
headers:
User-Agent:
- Faraday v0.9.2
Accept:
- application/json
Content-Type:
- application/json
Authorization:
- Token token="Jz43pwlU1rb4ewhgltWO", signature="856fafe4f652ee62aaa71936992b0ce847f23bbcb503b0fa17cd12ad32669583"
response:
status:
code: 200
message:
headers:
content-type:
- application/json; charset=utf-8
vary:
- Origin
x-ua-compatible:
- IE=Edge
etag:
- '"5934ababa3934a7bb279099dbe52ae4e"'
cache-control:
- max-age=0, private, must-revalidate
set-cookie:
- _api_session=BAh7BkkiD3Nlc3Npb25faWQGOgZFVEkiJWZiZDk0NjJhYmY2MDllMjRkODhmYTIwMTlmMzk4Zjc3BjsAVA%3D%3D--2f16d58b6d7f71038b303fac27cc28485bdc1798;
path=/; HttpOnly
x-request-id:
- 473218a08057f711302a9cafb79bd475
x-runtime:
- '0.027251'
connection:
- close
server:
- thin 1.5.1 codename Straight Razor
body:
encoding: UTF-8
string: '{"id":25,"account_level_id":1,"code":"basic","description":"basic edition","expires_at":null,"visible":true,"setup_fee":"199.0","monthly_fee":"49.0","cost_per_postcard":"1.0","customer_count_lower_bound":null,"customer_count_upper_bound":null}'
http_version:
recorded_at: Mon, 30 Nov 2015 19:44:52 GMT
recorded_with: VCR 3.0.0