Sha256: bc93c65090b294cea1ccd02760c49cf0a45bd108b395afd8b3ce2599e9a6bcaa
Contents?: true
Size: 1.85 KB
Versions: 5
Compression:
Stored size: 1.85 KB
Contents
--- http_interactions: - request: method: post uri: https://<USERNAME>:<PASSWORD>@oiapi.com/v1/advertisers/ body: encoding: UTF-8 string: '{"name":"new advertiser 97309636661f23a2f156c2fee20ea0e4","status_id":1,"category_id":1010}' headers: Content-Type: - application/json User-Agent: - OiApiRuby Gem 0.1.1 response: status: code: 201 message: CREATED headers: Date: - Tue, 28 Apr 2015 21:00:48 GMT Server: - Apache/2.2.15 (CentOS) Vary: - Accept,Cookie X-Frame-Options: - SAMEORIGIN Allow: - GET, POST, HEAD, OPTIONS Connection: - close Transfer-Encoding: - chunked Content-Type: - application/json body: encoding: UTF-8 string: '{"status": "Create Successful", "message": "Advertiser successfully created", "id": 40587}' http_version: recorded_at: Tue, 28 Apr 2015 21:01:55 GMT - request: method: get uri: https://<USERNAME>:<PASSWORD>@oiapi.com/v1/advertisers/40587/cards/99999999999999/ body: encoding: US-ASCII string: '' headers: Content-Type: - application/json User-Agent: - OiApiRuby Gem 0.1.1 response: status: code: 404 message: NOT FOUND headers: Date: - Tue, 28 Apr 2015 21:00:48 GMT Server: - Apache/2.2.15 (CentOS) Vary: - Accept,Cookie X-Frame-Options: - SAMEORIGIN Allow: - GET, PUT, DELETE, HEAD, OPTIONS Connection: - close Transfer-Encoding: - chunked Content-Type: - application/json body: encoding: UTF-8 string: '{"status": "Request Failed", "message": "Card not found.", "error": true}' http_version: recorded_at: Tue, 28 Apr 2015 21:01:56 GMT recorded_with: VCR 2.9.3
Version data entries
5 entries across 5 versions & 1 rubygems