Sha256: ff0e87bcd5c43a9fdfe68807fd904dee97dbd2547c12ef8c2747aeeaa078c843

Contents?: true

Size: 1.62 KB

Versions: 6

Compression:

Stored size: 1.62 KB

Contents

---
http_interactions:
- request:
    method: post
    uri: https://<key>:@test-api.pin.net.au/1/cards
    body:
      encoding: UTF-8
      string: number=5520000000000000&expiry_month=12&expiry_year=2018&cvc=123&name=Roland%20Robot&address_line1=123%20Fake%20Road&address_line2=&address_city=Melbourne&address_postcode=1223&address_state=Vic&address_country=AU
    headers: {}
  response:
    status:
      code: 201
      message: Created
    headers:
      Cache-Control:
      - max-age=0, private, must-revalidate
      Content-Type:
      - application/json; charset=utf-8
      Date:
      - Fri, 05 Jul 2013 20:53:41 GMT
      Etag:
      - '"840a0aa79998a6dbbcb5491caf5d2cfa"'
      Server:
      - Apache/2.2.20 (Ubuntu)
      Status:
      - '201'
      Strict-Transport-Security:
      - max-age=31536000
      Vary:
      - User-Agent
      X-Powered-By:
      - Phusion Passenger (mod_rails/mod_rack) 3.0.11
      X-Rack-Cache:
      - invalidate, pass
      X-Request-Id:
      - df7580d0aa62d26b2ea1626ca1ff34fd
      X-Requested-From:
      - 77.49.16.4
      X-Runtime:
      - '0.069357'
      X-Ua-Compatible:
      - IE=Edge,chrome=1
      Content-Length:
      - '284'
      Connection:
      - keep-alive
    body:
      encoding: UTF-8
      string: '{"response":{"token":"card_7FC2zeR-epqR_PAbZ3VSrw","display_number":"XXXX-XXXX-XXXX-0000","scheme":"master","address_line1":"123
        Fake Road","address_line2":"","address_city":"Melbourne","address_postcode":"1223","address_state":"Vic","address_country":"AU"},"ip_address":"77.49.16.4"}'
    http_version: 
  recorded_at: Fri, 05 Jul 2013 20:53:42 GMT
recorded_with: VCR 2.5.0

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
pin_up-0.4.2 spec/vcr/Card/should_create_a_card_and_respond_with_the_card_detail_from_pin.yml
pin_up-0.4.1 spec/vcr/Card/should_create_a_card_and_respond_with_the_card_detail_from_pin.yml
pin_up-0.3.1 spec/vcr/Card/should_create_a_card_and_respond_with_the_card_detail_from_pin.yml
pin_up-0.3.0 spec/vcr/Card/should_create_a_card_and_respond_with_the_card_detail_from_pin.yml
pin_up-0.2.0 spec/vcr/Card/should_create_a_card_and_respond_with_the_card_detail_from_pin.yml
pin_up-0.1.0 spec/vcr/Card/should_create_a_card_and_respond_with_the_card_detail_from_pin.yml