Sha256: 2e9311350b2c5e9e5be56b8fa06c44e420adb2e37be65988613f08032b1368d6
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 c16f8e91512b2c11ea1900c5b81ccf55","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:46 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": 40586}' http_version: recorded_at: Tue, 28 Apr 2015 21:01:53 GMT - request: method: get uri: https://<USERNAME>:<PASSWORD>@oiapi.com/v1/advertisers/40586/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:46 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:55 GMT recorded_with: VCR 2.9.3
Version data entries
5 entries across 5 versions & 1 rubygems