Sha256: b18a31be4ce1c075149e4ee2b78323e4813cc3cc861b38c3801d3a727fef98df

Contents?: true

Size: 1.2 KB

Versions: 3

Compression:

Stored size: 1.2 KB

Contents

---
http_interactions:
- request:
    method: get
    uri: http://api.transmitsms.com/format-number.json?countrycode=AU
    body:
      encoding: US-ASCII
      string: ''
    headers:
      User-Agent:
      - ruby-swagger-4.06.08
      Content-Type:
      - application/x-www-form-urlencoded
      Api-Key:
      - ''
      Authorization:
      - |
        Basic MTVhZDI2NmM1MzhmYjM2YzRkOTBmMDEwNTVhZWY0OTQ6bW9vc2U=
  response:
    status:
      code: 400
      message: Bad Request
    headers:
      Server:
      - nginx/1.1.19
      Date:
      - Mon, 14 Sep 2015 07:26:51 GMT
      Content-Type:
      - application/json; charset=utf-8
      Transfer-Encoding:
      - chunked
      Connection:
      - keep-alive
      X-Powered-By:
      - PHP/5.4.44-1+deb.sury.org~precise+1
      Expires:
      - Thu, 19 Nov 1981 08:52:00 GMT
      Cache-Control:
      - no-store, no-cache, must-revalidate, post-check=0, pre-check=0
      Pragma:
      - no-cache
      X-Mashape-Billing:
      - Queries=1
    body:
      encoding: UTF-8
      string: '{"error":{"code":"FIELD_EMPTY","description":"Required field ''msisdn''
        is empty"}}'
    http_version: 
  recorded_at: Mon, 14 Sep 2015 07:26:51 GMT
recorded_with: VCR 2.9.3

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
tsms-0.1.3 fixtures/vcr_cassettes/sms_api_test_format_number_fail_in_missing_msisdn.yml
ruby-transmitsms-0.1.3 fixtures/vcr_cassettes/sms_api_test_format_number_fail_in_missing_msisdn.yml
ruby-transmitsms-0.1.2 fixtures/vcr_cassettes/sms_api_test_format_number_fail_in_missing_msisdn.yml