Sha256: 0ba073863a135214bb688ac7c3280b3f8a310b83d5df387b6e2bc0a6888751b7

Contents?: true

Size: 1.04 KB

Versions: 12

Compression:

Stored size: 1.04 KB

Contents

---
http_interactions:
- request:
    method: post
    uri: https://api.chartmogul.com/v1/data_sources
    body:
      encoding: UTF-8
      string: '{"name":null}'
    headers:
      User-Agent:
      - Faraday v0.9.1
      Content-Type:
      - application/json
      Authorization:
      - Basic hidden
  response:
    status:
      code: 422
      message:
    headers:
      server:
      - nginx/1.9.10
      date:
      - Sun, 05 Jun 2016 17:04:50 GMT
      content-type:
      - application/json; charset=utf-8
      transfer-encoding:
      - chunked
      connection:
      - close
      x-frame-options:
      - SAMEORIGIN
      x-xss-protection:
      - 1; mode=block
      x-content-type-options:
      - nosniff
      cache-control:
      - no-cache
      x-request-id:
      - 76a25073-4c20-49fb-83b2-bbad2c361b0d
      x-runtime:
      - '0.009928'
    body:
      encoding: UTF-8
      string: '{"errors":{"name":"A name is required for each data source."}}'
    http_version:
  recorded_at: Sun, 05 Jun 2016 17:04:50 GMT
recorded_with: VCR 3.0.3

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
chartmogul-ruby-3.3.0 fixtures/vcr_cassettes/ChartMogul_DataSource/API_Interactions/correctly_raises_errors_on_422.yml
chartmogul-ruby-3.2.0 fixtures/vcr_cassettes/ChartMogul_DataSource/API_Interactions/correctly_raises_errors_on_422.yml
chartmogul-ruby-3.1.0 fixtures/vcr_cassettes/ChartMogul_DataSource/API_Interactions/correctly_raises_errors_on_422.yml
chartmogul-ruby-3.0.2 fixtures/vcr_cassettes/ChartMogul_DataSource/API_Interactions/correctly_raises_errors_on_422.yml
chartmogul-ruby-3.0.0 fixtures/vcr_cassettes/ChartMogul_DataSource/API_Interactions/correctly_raises_errors_on_422.yml
chartmogul-ruby-2.9.0 fixtures/vcr_cassettes/ChartMogul_DataSource/API_Interactions/correctly_raises_errors_on_422.yml
chartmogul-ruby-2.1.0 fixtures/vcr_cassettes/ChartMogul_DataSource/API_Interactions/correctly_raises_errors_on_422.yml
chartmogul-ruby-2.0.0 fixtures/vcr_cassettes/ChartMogul_DataSource/API_Interactions/correctly_raises_errors_on_422.yml
chartmogul-ruby-1.7.3 fixtures/vcr_cassettes/ChartMogul_DataSource/API_Interactions/correctly_raises_errors_on_422.yml
chartmogul-ruby-1.7.2 fixtures/vcr_cassettes/ChartMogul_DataSource/API_Interactions/correctly_raises_errors_on_422.yml
chartmogul-ruby-1.7.1 fixtures/vcr_cassettes/ChartMogul_DataSource/API_Interactions/correctly_raises_errors_on_422.yml
chartmogul-ruby-1.6.9 fixtures/vcr_cassettes/ChartMogul_DataSource/API_Interactions/correctly_raises_errors_on_422.yml