Sha256: 87aa9482a6e1ba66e0e7b648d4c2e77a6e5298c569ca8d02d283bea8f3c21191

Contents?: true

Size: 1.16 KB

Versions: 5

Compression:

Stored size: 1.16 KB

Contents

---
recorded_with: VCR 2.9.3
http_interactions:
- request:
    method: post
    uri: http://localhost:8888/moodle28/webservice/rest/server.php?moodlewsrestformat=json&wsfunction=core_course_delete_courses&wstoken=60fc9c9415259404795094957e4ab32f
    body:
      string: courseids[0]=-1
    headers: {}

  response:
    status:
      code: 200
      message: OK
    headers:
      Date:
      - Mon, 20 Jun 2016 22:21:27 GMT
      Server:
      - Apache/2.2.29 (Unix) mod_fastcgi/2.4.6 mod_wsgi/3.4 Python/2.7.8 PHP/5.6.2 mod_ssl/2.2.29 OpenSSL/0.9.8zg DAV/2 mod_perl/2.0.8 Perl/v5.20.0
      Accept-Ranges:
      - none
      Pragma:
      - no-cache
      Expires:
      - Thu, 01 Jan 1970 00:00:00 GMT
      Cache-Control:
      - private, must-revalidate, pre-check=0, post-check=0, max-age=0
      Access-Control-Allow-Origin:
      - "*"
      Content-Length:
      - "115"
      X-Powered-By:
      - PHP/5.6.2
      Content-Type:
      - application/json
    body:
      string: "{\"warnings\":[{\"item\":\"course\",\"itemid\":-1,\"warningcode\":\"unknowncourseidnumber\",\"message\":\"Unknown course ID -1\"}]}"
    http_version:
  recorded_at: Mon, 20 Jun 2016 22:21:27 GMT

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
moodle_rb-2.1.5 spec/cassettes/MoodleRb_Courses/_destroy/when_using_valid_token/when_using_invalid_course_id/.yml
moodle_rb-2.1.0 spec/cassettes/MoodleRb_Courses/_destroy/when_using_valid_token/when_using_invalid_course_id/.yml
moodle_rb-2.0.0 spec/cassettes/MoodleRb_Courses/_destroy/when_using_valid_token/when_using_invalid_course_id/.yml
moodle_rb-1.2.0 spec/cassettes/MoodleRb_Courses/_destroy/when_using_valid_token/when_using_invalid_course_id/.yml
moodle_rb-1.1.3 spec/cassettes/MoodleRb_Courses/_destroy/when_using_valid_token/when_using_invalid_course_id/.yml