Sha256: f37e35633d20ade9dd2a999292597da55bd48f984654b23a20e462c7a8a3ec7d

Contents?: true

Size: 1.25 KB

Versions: 1

Compression:

Stored size: 1.25 KB

Contents

---
http_interactions:
- request:
    method: post
    uri: http://ENDPOINT/v1/postman
    body:
      encoding: UTF-8
      string: '{"template":"test","recipient":{"email":"test@example.com"},"api_key":"API_KEY","payload":{"greeting":"Gday!"}}'
    headers:
      Content-Type:
      - application/json
      Accept-Encoding:
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
      Accept:
      - '*/*'
      User-Agent:
      - Ruby
  response:
    status:
      code: 200
      message: OK
    headers:
      X-Frame-Options:
      - SAMEORIGIN
      X-Xss-Protection:
      - 1; mode=block
      X-Content-Type-Options:
      - nosniff
      X-Ua-Compatible:
      - chrome=1
      X-Xhr-Current-Location:
      - /v1/postman
      Content-Type:
      - application/json; charset=utf-8
      Etag:
      - '"82380d1e263b6093f3c7535690fcdd75"'
      Cache-Control:
      - max-age=0, private, must-revalidate
      Set-Cookie:
      - request_method=POST; path=/
      X-Request-Id:
      - 7c8249cb-b3d6-4108-8a97-dba45471019a
      X-Runtime:
      - '0.084302'
      Vary:
      - Accept-Encoding
      Connection:
      - close
    body:
      encoding: UTF-8
      string: '{"ok":true}'
    http_version: 
  recorded_at: Tue, 21 May 2013 10:17:29 GMT
recorded_with: VCR 2.5.0

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mailstro-0.0.2 spec/fixtures/cassettes/posting_a_delivery/succesfully_submits_a_delivery_to_mailstro.yml