Sha256: ec3fba0b58736103bf6d60005fc07c7b42eeff5b4da591261dad6efd97e67b4a

Contents?: true

Size: 1.41 KB

Versions: 27

Compression:

Stored size: 1.41 KB

Contents

---
http_interactions:
- request:
    method: post
    uri: https://api.chartmogul.com/v1/plans
    body:
      encoding: UTF-8
      string: '{"data_source_uuid":null,"name":null,"interval_count":null,"interval_unit":null,"external_id":null}'
    headers:
      User-Agent:
      - Faraday v0.9.1
      Content-Type:
      - application/json
      Authorization:
      - Basic ODE2MjZkMWFiMzU5NTIwMzY5MjhjNjJjYmJiNDMyN2M6ODY3MDRmMDdkYzQwZmYzYjYyYzRjY2E5OTYxMjk2MzY=
  response:
    status:
      code: 422
      message:
    headers:
      server:
      - nginx/1.9.10
      date:
      - Sun, 05 Jun 2016 19:47:08 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:
      - 72fc5d2e-0e09-4d62-b0b6-c10299d79c0a
      x-runtime:
      - '0.026567'
    body:
      encoding: UTF-8
      string: '{"errors":{"name":"A unique name is required for each plan.","interval_count":"is
        not a number","interval_unit":"Only ''day'', ''month'' or ''year'' are valid
        values for interval_unit.","data_source_uuid":"A valid data source UUID is
        required for each plan."}}'
    http_version:
  recorded_at: Sun, 05 Jun 2016 19:47:08 GMT
recorded_with: VCR 3.0.3

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
chartmogul-ruby-1.6.8 fixtures/vcr_cassettes/ChartMogul_Plan/API_Interactions/correctly_handles_a_422_error.yml
chartmogul-ruby-1.6.7 fixtures/vcr_cassettes/ChartMogul_Plan/API_Interactions/correctly_handles_a_422_error.yml
chartmogul-ruby-1.6.6 fixtures/vcr_cassettes/ChartMogul_Plan/API_Interactions/correctly_handles_a_422_error.yml
chartmogul-ruby-1.6.4 fixtures/vcr_cassettes/ChartMogul_Plan/API_Interactions/correctly_handles_a_422_error.yml
chartmogul-ruby-1.6.3 fixtures/vcr_cassettes/ChartMogul_Plan/API_Interactions/correctly_handles_a_422_error.yml
chartmogul-ruby-1.6.2 fixtures/vcr_cassettes/ChartMogul_Plan/API_Interactions/correctly_handles_a_422_error.yml
chartmogul-ruby-1.6.1 fixtures/vcr_cassettes/ChartMogul_Plan/API_Interactions/correctly_handles_a_422_error.yml
chartmogul-ruby-1.5.1 fixtures/vcr_cassettes/ChartMogul_Plan/API_Interactions/correctly_handles_a_422_error.yml
chartmogul-ruby-1.5.0 fixtures/vcr_cassettes/ChartMogul_Plan/API_Interactions/correctly_handles_a_422_error.yml
chartmogul-ruby-1.4.1 fixtures/vcr_cassettes/ChartMogul_Plan/API_Interactions/correctly_handles_a_422_error.yml
chartmogul-ruby-1.4.0 fixtures/vcr_cassettes/ChartMogul_Plan/API_Interactions/correctly_handles_a_422_error.yml
chartmogul-ruby-1.3.3 fixtures/vcr_cassettes/ChartMogul_Plan/API_Interactions/correctly_handles_a_422_error.yml
chartmogul-ruby-1.3.2 fixtures/vcr_cassettes/ChartMogul_Plan/API_Interactions/correctly_handles_a_422_error.yml
chartmogul-ruby-1.3.1 fixtures/vcr_cassettes/ChartMogul_Plan/API_Interactions/correctly_handles_a_422_error.yml
chartmogul-ruby-1.3.0 fixtures/vcr_cassettes/ChartMogul_Plan/API_Interactions/correctly_handles_a_422_error.yml
chartmogul-ruby-1.2.2 fixtures/vcr_cassettes/ChartMogul_Plan/API_Interactions/correctly_handles_a_422_error.yml
chartmogul-ruby-1.2.1 fixtures/vcr_cassettes/ChartMogul_Plan/API_Interactions/correctly_handles_a_422_error.yml
chartmogul-ruby-1.2.0 fixtures/vcr_cassettes/ChartMogul_Plan/API_Interactions/correctly_handles_a_422_error.yml
chartmogul-ruby-1.1.9 fixtures/vcr_cassettes/ChartMogul_Plan/API_Interactions/correctly_handles_a_422_error.yml
chartmogul-ruby-1.1.8 fixtures/vcr_cassettes/ChartMogul_Plan/API_Interactions/correctly_handles_a_422_error.yml