Sha256: 27daaf9f36f9d75de61f02e3d5ff69d3d2dee0a25990ac5d568e7f697d61e979

Contents?: true

Size: 1.22 KB

Versions: 5

Compression:

Stored size: 1.22 KB

Contents

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

  response:
    status:
      code: 200
      message: OK
    headers:
      Content-Length:
      - "180"
      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.8zd DAV/2 mod_perl/2.0.8 Perl/v5.20.0
      Expires:
      - Thu, 01 Jan 1970 00:00:00 GMT
      Cache-Control:
      - private, must-revalidate, pre-check=0, post-check=0, max-age=0
      Pragma:
      - no-cache
      Content-Type:
      - application/json
      Accept-Ranges:
      - none
      Date:
      - Wed, 22 Apr 2015 23:29:46 GMT
      X-Powered-By:
      - PHP/5.6.2
      Access-Control-Allow-Origin:
      - "*"
    body:
      string: "{\"assignments\":[{\"assignmentid\":1,\"grades\":[{\"id\":1,\"userid\":5,\"attemptnumber\":0,\"timecreated\":1428801844,\"timemodified\":1428801869,\"grader\":2,\"grade\":\"90.00000\"}]}],\"warnings\":[]}"
    http_version:
  recorded_at: Wed, 22 Apr 2015 23:29:46 GMT
recorded_with: VCR 2.9.3

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
moodle_rb-2.1.5 spec/cassettes/MoodleRb_Grades/_by_assignment/.yml
moodle_rb-2.1.0 spec/cassettes/MoodleRb_Grades/_by_assignment/.yml
moodle_rb-2.0.0 spec/cassettes/MoodleRb_Grades/_by_assignment/.yml
moodle_rb-1.2.0 spec/cassettes/MoodleRb_Grades/_by_assignment/.yml
moodle_rb-1.1.3 spec/cassettes/MoodleRb_Grades/_by_assignment/.yml