Sha256: 6a3890e8dc564bb50bc1bb2e757c7c898c4405260bd1f4bdc259b0d63439f556

Contents?: true

Size: 1.32 KB

Versions: 4

Compression:

Stored size: 1.32 KB

Contents

---
http_interactions:
- request:
    method: post
    uri: https://demo.moneta.ru/services
    body:
      encoding: UTF-8
      string: '{"Envelope":{"Header":{"Security":{"UsernameToken":{"Username":"<USERNAME>","Password":"<PASSWORD>"}}},"Body":{"ApprovePhoneApplyCodeRequest":{"unitId":42868,"confirmationCode":123456}}}}'
    headers:
      User-Agent:
      - Faraday v0.11.0
      Content-Type:
      - application/json;charset=UTF-8
      Accept-Encoding:
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
      Accept:
      - "*/*"
  response:
    status:
      code: 400
      message: Bad Request
    headers:
      Server:
      - nginx
      Date:
      - Tue, 14 Feb 2017 15:36:01 GMT
      Content-Type:
      - application/json;charset=UTF-8
      Transfer-Encoding:
      - chunked
      Connection:
      - keep-alive
      Keep-Alive:
      - timeout=60
      Strict-Transport-Security:
      - max-age=31536000 ; includeSubDomains
    body:
      encoding: ASCII-8BIT
      string: !binary |-
        eyJFbnZlbG9wZSI6eyJCb2R5Ijp7ImZhdWx0Ijp7ImRldGFpbCI6eyJmYXVs
        dERldGFpbCI6IjUwMC4zLjIuNTEifSwiZmF1bHRjb2RlIjoiQ2xpZW50Iiwi
        ZmF1bHRzdHJpbmciOiLQndC10LLQtdGA0L3Ri9C5INC60L7QtCDQv9C+0LTR
        gtCy0LXRgNC20LTQtdC90LjRjyJ9fX19
    http_version: 
  recorded_at: Tue, 14 Feb 2017 15:36:00 GMT
recorded_with: VCR 3.0.1

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
moneta-api-2.1.0 spec/vcr/moneta_api_requests_approvephoneapplycoderequest/when_code_invalid_.yml
moneta-api-2.0.0 spec/vcr/moneta_api_requests_approvephoneapplycoderequest/when_code_invalid_.yml
moneta-api-2.0.0.rc2 spec/vcr/moneta_api_requests_approvephoneapplycoderequest/when_code_invalid_.yml
moneta-api-2.0.0.rc1 spec/vcr/moneta_api_requests_approvephoneapplycoderequest/when_code_invalid_.yml