Sha256: 2f2b0ee26ef545d21dee21daa90f4678f65d122ff9b50a231506667d9fcbcdff

Contents?: true

Size: 1.22 KB

Versions: 1

Compression:

Stored size: 1.22 KB

Contents

---
http_interactions:
- request:
    method: post
    uri: https://www.revtrunk.com/api/v1/orders
    body:
      encoding: UTF-8
      string: ! '{"payment":{"type":"AccountBalance"},"caption_options":{"inputs":[{"external_link":"http://www.youtube.com/watch?v=UF8uR6Z6KLc"},{"video_length_seconds":900,"external_link":"https://vimeo.com/7976699"}],"output_file_formats":["SubRip"]},"client_ref":"XB432423"}'
    headers:
      Content-Type:
      - application/json
      Authorization:
      - Rev welcome:AAAAAu/YjZ3phXU5FsF35yIcgiA=
      User-Agent:
      - RevOfficialRubySDK/1.0.0
  response:
    status:
      code: 201
      message: Created
    headers:
      Cache-Control:
      - no-cache
      Pragma:
      - no-cache
      Expires:
      - '-1'
      Location:
      - https://www.revtrunk.com/api/v1/orders/CP12345
      Server:
      - Microsoft-IIS/7.5
      X-Miniprofiler-Ids:
      - ! '["43bcb320-a1c9-4e9f-96c1-320e01a31549","ad8a37cd-e5ea-4134-ac9e-0390f722d6f6"]'
      X-Powered-By:
      - ASP.NET
      Date:
      - Wed, 18 Sep 2013 00:21:27 GMT
      Content-Length:
      - '0'
    body:
      encoding: US-ASCII
      string: ''
    http_version:
  recorded_at: Wed, 18 Sep 2013 00:21:27 GMT
recorded_with: VCR 2.5.0

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rev-api-2.4.0 spec/fixtures/api_cassettes/submit_cp_order.yml