commonlit-clever-ruby 2.1.3 → 2.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (93) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +4 -4
  3. data/clever-ruby.gemspec +1 -1
  4. data/commonlit-clever-ruby-2.1.3.gem +0 -0
  5. data/lib/clever-ruby/models/district.rb +2 -2
  6. data/lib/clever-ruby/models/student.rb +15 -0
  7. data/lib/clever-ruby/version.rb +1 -1
  8. metadata +23 -192
  9. data/spec/api/data_api_spec.rb +0 -671
  10. data/spec/api/events_api_spec.rb +0 -61
  11. data/spec/api_client_spec.rb +0 -226
  12. data/spec/configuration_spec.rb +0 -42
  13. data/spec/models/bad_request_spec.rb +0 -41
  14. data/spec/models/contact_object_spec.rb +0 -41
  15. data/spec/models/contact_response_spec.rb +0 -41
  16. data/spec/models/contact_spec.rb +0 -107
  17. data/spec/models/contacts_created_spec.rb +0 -59
  18. data/spec/models/contacts_deleted_spec.rb +0 -59
  19. data/spec/models/contacts_response_spec.rb +0 -41
  20. data/spec/models/contacts_updated_spec.rb +0 -65
  21. data/spec/models/course_object_spec.rb +0 -41
  22. data/spec/models/course_response_spec.rb +0 -41
  23. data/spec/models/course_spec.rb +0 -59
  24. data/spec/models/courses_created_spec.rb +0 -59
  25. data/spec/models/courses_deleted_spec.rb +0 -59
  26. data/spec/models/courses_response_spec.rb +0 -41
  27. data/spec/models/courses_updated_spec.rb +0 -65
  28. data/spec/models/credentials_spec.rb +0 -41
  29. data/spec/models/district_admin_object_spec.rb +0 -41
  30. data/spec/models/district_admin_response_spec.rb +0 -41
  31. data/spec/models/district_admin_spec.rb +0 -65
  32. data/spec/models/district_admins_response_spec.rb +0 -41
  33. data/spec/models/district_object_spec.rb +0 -41
  34. data/spec/models/district_response_spec.rb +0 -41
  35. data/spec/models/district_spec.rb +0 -123
  36. data/spec/models/districtadmins_created_spec.rb +0 -59
  37. data/spec/models/districtadmins_deleted_spec.rb +0 -59
  38. data/spec/models/districtadmins_updated_spec.rb +0 -65
  39. data/spec/models/districts_created_spec.rb +0 -59
  40. data/spec/models/districts_deleted_spec.rb +0 -59
  41. data/spec/models/districts_response_spec.rb +0 -41
  42. data/spec/models/districts_updated_spec.rb +0 -65
  43. data/spec/models/event_response_spec.rb +0 -41
  44. data/spec/models/event_spec.rb +0 -53
  45. data/spec/models/events_response_spec.rb +0 -41
  46. data/spec/models/internal_error_spec.rb +0 -41
  47. data/spec/models/location_spec.rb +0 -71
  48. data/spec/models/name_spec.rb +0 -53
  49. data/spec/models/not_found_spec.rb +0 -41
  50. data/spec/models/principal_spec.rb +0 -47
  51. data/spec/models/school_admin_object_spec.rb +0 -41
  52. data/spec/models/school_admin_response_spec.rb +0 -41
  53. data/spec/models/school_admin_spec.rb +0 -95
  54. data/spec/models/school_admins_response_spec.rb +0 -41
  55. data/spec/models/school_enrollment_spec.rb +0 -53
  56. data/spec/models/school_object_spec.rb +0 -41
  57. data/spec/models/school_response_spec.rb +0 -41
  58. data/spec/models/school_spec.rb +0 -139
  59. data/spec/models/schooladmins_created_spec.rb +0 -59
  60. data/spec/models/schooladmins_deleted_spec.rb +0 -59
  61. data/spec/models/schooladmins_updated_spec.rb +0 -65
  62. data/spec/models/schools_created_spec.rb +0 -59
  63. data/spec/models/schools_deleted_spec.rb +0 -59
  64. data/spec/models/schools_response_spec.rb +0 -41
  65. data/spec/models/schools_updated_spec.rb +0 -65
  66. data/spec/models/section_object_spec.rb +0 -41
  67. data/spec/models/section_response_spec.rb +0 -41
  68. data/spec/models/section_spec.rb +0 -145
  69. data/spec/models/sections_created_spec.rb +0 -59
  70. data/spec/models/sections_deleted_spec.rb +0 -59
  71. data/spec/models/sections_response_spec.rb +0 -41
  72. data/spec/models/sections_updated_spec.rb +0 -65
  73. data/spec/models/student_object_spec.rb +0 -41
  74. data/spec/models/student_response_spec.rb +0 -41
  75. data/spec/models/student_spec.rb +0 -215
  76. data/spec/models/students_created_spec.rb +0 -59
  77. data/spec/models/students_deleted_spec.rb +0 -59
  78. data/spec/models/students_response_spec.rb +0 -41
  79. data/spec/models/students_updated_spec.rb +0 -65
  80. data/spec/models/teacher_object_spec.rb +0 -41
  81. data/spec/models/teacher_response_spec.rb +0 -41
  82. data/spec/models/teacher_spec.rb +0 -119
  83. data/spec/models/teachers_created_spec.rb +0 -59
  84. data/spec/models/teachers_deleted_spec.rb +0 -59
  85. data/spec/models/teachers_response_spec.rb +0 -41
  86. data/spec/models/teachers_updated_spec.rb +0 -65
  87. data/spec/models/term_object_spec.rb +0 -41
  88. data/spec/models/term_response_spec.rb +0 -41
  89. data/spec/models/term_spec.rb +0 -65
  90. data/spec/models/terms_created_spec.rb +0 -59
  91. data/spec/models/terms_deleted_spec.rb +0 -59
  92. data/spec/models/terms_response_spec.rb +0 -41
  93. data/spec/models/terms_updated_spec.rb +0 -65
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2837be9c7b7d3a3b6724c8227e0c20ddb0b5c2d6b8da0a109a1a66ae986726ea
4
- data.tar.gz: 353b3fb7b6a3653eb02c08caa884459d8a5caf2d33416c79ebad3330664b1a77
3
+ metadata.gz: 315c6660b667c11c403ac02da71ada13e5ba40e66eb718da895f6286b6b18292
4
+ data.tar.gz: 8684f2fa5089f88d7be4329f85a321671c5ee762ba74a9fd1bb0767fc64188f1
5
5
  SHA512:
6
- metadata.gz: 322a90794b16b6dbe18897b8457f9dc03e0921cf3e3b48b8845de46cfbdd2271424d4d5b66d71bd9a6f6e6c73e57ecdb58abeb05b136a5ad85be8266ed345495
7
- data.tar.gz: 8c08ad3fb273c4e55c23cc79a69e386178d133cf6a8804cb6312bbf137657eab12813ada8b8d54f97ed35b4558d612e1f0417964ac6e2dd84868503d9d4d7e29
6
+ metadata.gz: e6116b41acfb3366a02401fd60f113bc66a3aedb2650db000829dc90b38a37138c36800b6d8b1e9fdd20461a75b4352716893421fdae48c6e3be2e2ddfd49836
7
+ data.tar.gz: 52b0a96585643b93f32afa3672c31ebed50b9d175e9a94b40f361c9b66c17f9c96589d7b68024f7dcdc03b7955c013adf1301138db4eb4276a01abd0ca4342da
data/README.md CHANGED
@@ -7,7 +7,7 @@ The Clever API
7
7
  This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
8
8
 
9
9
  - API version: 2.1.0
10
- - Package version: 2.1.1
10
+ - Package version: 2.1.4
11
11
  - Build package: io.swagger.codegen.languages.RubyClientCodegen
12
12
 
13
13
  ## Installation
@@ -23,15 +23,15 @@ gem build clever-ruby.gemspec
23
23
  Then either install the gem locally:
24
24
 
25
25
  ```shell
26
- gem install ./clever-ruby-2.1.1.gem
26
+ gem install ./clever-ruby-2.1.4.gem
27
27
  ```
28
- (for development, run `gem install --dev ./clever-ruby-2.1.1.gem` to install the development dependencies)
28
+ (for development, run `gem install --dev ./clever-ruby-2.1.4.gem` to install the development dependencies)
29
29
 
30
30
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
31
31
 
32
32
  Finally add this to the Gemfile:
33
33
 
34
- gem 'clever-ruby', '~> 2.1.1'
34
+ gem 'clever-ruby', '~> 2.1.4'
35
35
 
36
36
  ### Install from Git
37
37
 
data/clever-ruby.gemspec CHANGED
@@ -25,7 +25,7 @@ Gem::Specification.new do |s|
25
25
  s.summary = "Clever API Ruby Gem"
26
26
  s.description = "The Clever API"
27
27
  s.license = "Unlicense"
28
- s.required_ruby_version = ">= 1.9"
28
+ s.required_ruby_version = ">= 2.1"
29
29
 
30
30
  s.add_runtime_dependency 'typhoeus', '~> 1.0', '>= 1.0.1'
31
31
  s.add_runtime_dependency 'json', '~> 2.1', '>= 2.1.0'
Binary file
@@ -181,7 +181,7 @@ module Clever
181
181
  # Check to see if the all the properties in the model are valid
182
182
  # @return true if the model is valid
183
183
  def valid?
184
- state_validator = EnumAttributeValidator.new('String', ['running', 'pending', 'error', 'paused', ''])
184
+ state_validator = EnumAttributeValidator.new('String', ['running', 'pending', 'error', 'paused', '', 'success'])
185
185
  return false unless state_validator.valid?(@state)
186
186
  true
187
187
  end
@@ -189,7 +189,7 @@ module Clever
189
189
  # Custom attribute writer method checking allowed values (enum).
190
190
  # @param [Object] state Object to be assigned
191
191
  def state=(state)
192
- validator = EnumAttributeValidator.new('String', ['running', 'pending', 'error', 'paused', ''])
192
+ validator = EnumAttributeValidator.new('String', ['running', 'pending', 'error', 'paused', '', 'success'])
193
193
  unless validator.valid?(state)
194
194
  fail ArgumentError, 'invalid value for "state", must be one of #{validator.allowable_values}.'
195
195
  end
@@ -273,12 +273,17 @@ module Clever
273
273
  # @return Array for valid properties with the reasons
274
274
  def list_invalid_properties
275
275
  invalid_properties = Array.new
276
+ if !@dob.nil? && @dob !~ Regexp.new(/(?:[0-9]{1,2})\/([0-9]{1,2})\/([0-9]{4})/)
277
+ invalid_properties.push('invalid value for "dob", must conform to the pattern /(?:[0-9]{1,2})\/([0-9]{1,2})\/([0-9]{4})/.')
278
+ end
279
+
276
280
  invalid_properties
277
281
  end
278
282
 
279
283
  # Check to see if the all the properties in the model are valid
280
284
  # @return true if the model is valid
281
285
  def valid?
286
+ return false if !@dob.nil? && @dob !~ Regexp.new(/(?:[0-9]{1,2})\/([0-9]{1,2})\/([0-9]{4})/)
282
287
  ell_status_validator = EnumAttributeValidator.new('String', ['Y', 'N', ''])
283
288
  return false unless ell_status_validator.valid?(@ell_status)
284
289
  gender_validator = EnumAttributeValidator.new('String', ['M', 'F', 'X', ''])
@@ -294,6 +299,16 @@ module Clever
294
299
  true
295
300
  end
296
301
 
302
+ # Custom attribute writer method with validation
303
+ # @param [Object] dob Value to be assigned
304
+ def dob=(dob)
305
+ if !dob.nil? && dob !~ Regexp.new(/(?:[0-9]{1,2})\/([0-9]{1,2})\/([0-9]{4})/)
306
+ fail ArgumentError, 'invalid value for "dob", must conform to the pattern /(?:[0-9]{1,2})\/([0-9]{1,2})\/([0-9]{4})/.'
307
+ end
308
+
309
+ @dob = dob
310
+ end
311
+
297
312
  # Custom attribute writer method checking allowed values (enum).
298
313
  # @param [Object] ell_status Object to be assigned
299
314
  def ell_status=(ell_status)
@@ -11,5 +11,5 @@ Swagger Codegen version: 2.4.18
11
11
  =end
12
12
 
13
13
  module Clever
14
- VERSION = '2.1.3'
14
+ VERSION = '2.1.4'
15
15
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: commonlit-clever-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.3
4
+ version: 2.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Swagger-Codegen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-01-19 00:00:00.000000000 Z
11
+ date: 2021-03-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -34,62 +34,62 @@ dependencies:
34
34
  name: json
35
35
  requirement: !ruby/object:Gem::Requirement
36
36
  requirements:
37
- - - "~>"
38
- - !ruby/object:Gem::Version
39
- version: '2.1'
40
37
  - - ">="
41
38
  - !ruby/object:Gem::Version
42
39
  version: 2.1.0
40
+ - - "~>"
41
+ - !ruby/object:Gem::Version
42
+ version: '2.1'
43
43
  type: :runtime
44
44
  prerelease: false
45
45
  version_requirements: !ruby/object:Gem::Requirement
46
46
  requirements:
47
- - - "~>"
48
- - !ruby/object:Gem::Version
49
- version: '2.1'
50
47
  - - ">="
51
48
  - !ruby/object:Gem::Version
52
49
  version: 2.1.0
50
+ - - "~>"
51
+ - !ruby/object:Gem::Version
52
+ version: '2.1'
53
53
  - !ruby/object:Gem::Dependency
54
54
  name: addressable
55
55
  requirement: !ruby/object:Gem::Requirement
56
56
  requirements:
57
- - - "~>"
58
- - !ruby/object:Gem::Version
59
- version: '2.3'
60
57
  - - ">="
61
58
  - !ruby/object:Gem::Version
62
59
  version: 2.3.0
60
+ - - "~>"
61
+ - !ruby/object:Gem::Version
62
+ version: '2.3'
63
63
  type: :runtime
64
64
  prerelease: false
65
65
  version_requirements: !ruby/object:Gem::Requirement
66
66
  requirements:
67
- - - "~>"
68
- - !ruby/object:Gem::Version
69
- version: '2.3'
70
67
  - - ">="
71
68
  - !ruby/object:Gem::Version
72
69
  version: 2.3.0
70
+ - - "~>"
71
+ - !ruby/object:Gem::Version
72
+ version: '2.3'
73
73
  - !ruby/object:Gem::Dependency
74
74
  name: rspec
75
75
  requirement: !ruby/object:Gem::Requirement
76
76
  requirements:
77
- - - "~>"
78
- - !ruby/object:Gem::Version
79
- version: '3.6'
80
77
  - - ">="
81
78
  - !ruby/object:Gem::Version
82
79
  version: 3.6.0
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '3.6'
83
83
  type: :development
84
84
  prerelease: false
85
85
  version_requirements: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - "~>"
88
- - !ruby/object:Gem::Version
89
- version: '3.6'
90
87
  - - ">="
91
88
  - !ruby/object:Gem::Version
92
89
  version: 3.6.0
90
+ - - "~>"
91
+ - !ruby/object:Gem::Version
92
+ version: '3.6'
93
93
  - !ruby/object:Gem::Dependency
94
94
  name: vcr
95
95
  requirement: !ruby/object:Gem::Requirement
@@ -225,6 +225,7 @@ files:
225
225
  - README.md
226
226
  - Rakefile
227
227
  - clever-ruby.gemspec
228
+ - commonlit-clever-ruby-2.1.3.gem
228
229
  - docs/AdminName.md
229
230
  - docs/BadRequest.md
230
231
  - docs/Contact.md
@@ -435,92 +436,7 @@ files:
435
436
  - override/models/terms_updated.rb
436
437
  - override/override.sh
437
438
  - sample/sample.rb
438
- - spec/api/data_api_spec.rb
439
- - spec/api/events_api_spec.rb
440
- - spec/api_client_spec.rb
441
- - spec/configuration_spec.rb
442
439
  - spec/events.json
443
- - spec/models/bad_request_spec.rb
444
- - spec/models/contact_object_spec.rb
445
- - spec/models/contact_response_spec.rb
446
- - spec/models/contact_spec.rb
447
- - spec/models/contacts_created_spec.rb
448
- - spec/models/contacts_deleted_spec.rb
449
- - spec/models/contacts_response_spec.rb
450
- - spec/models/contacts_updated_spec.rb
451
- - spec/models/course_object_spec.rb
452
- - spec/models/course_response_spec.rb
453
- - spec/models/course_spec.rb
454
- - spec/models/courses_created_spec.rb
455
- - spec/models/courses_deleted_spec.rb
456
- - spec/models/courses_response_spec.rb
457
- - spec/models/courses_updated_spec.rb
458
- - spec/models/credentials_spec.rb
459
- - spec/models/district_admin_object_spec.rb
460
- - spec/models/district_admin_response_spec.rb
461
- - spec/models/district_admin_spec.rb
462
- - spec/models/district_admins_response_spec.rb
463
- - spec/models/district_object_spec.rb
464
- - spec/models/district_response_spec.rb
465
- - spec/models/district_spec.rb
466
- - spec/models/districtadmins_created_spec.rb
467
- - spec/models/districtadmins_deleted_spec.rb
468
- - spec/models/districtadmins_updated_spec.rb
469
- - spec/models/districts_created_spec.rb
470
- - spec/models/districts_deleted_spec.rb
471
- - spec/models/districts_response_spec.rb
472
- - spec/models/districts_updated_spec.rb
473
- - spec/models/event_response_spec.rb
474
- - spec/models/event_spec.rb
475
- - spec/models/events_response_spec.rb
476
- - spec/models/internal_error_spec.rb
477
- - spec/models/location_spec.rb
478
- - spec/models/name_spec.rb
479
- - spec/models/not_found_spec.rb
480
- - spec/models/principal_spec.rb
481
- - spec/models/school_admin_object_spec.rb
482
- - spec/models/school_admin_response_spec.rb
483
- - spec/models/school_admin_spec.rb
484
- - spec/models/school_admins_response_spec.rb
485
- - spec/models/school_enrollment_spec.rb
486
- - spec/models/school_object_spec.rb
487
- - spec/models/school_response_spec.rb
488
- - spec/models/school_spec.rb
489
- - spec/models/schooladmins_created_spec.rb
490
- - spec/models/schooladmins_deleted_spec.rb
491
- - spec/models/schooladmins_updated_spec.rb
492
- - spec/models/schools_created_spec.rb
493
- - spec/models/schools_deleted_spec.rb
494
- - spec/models/schools_response_spec.rb
495
- - spec/models/schools_updated_spec.rb
496
- - spec/models/section_object_spec.rb
497
- - spec/models/section_response_spec.rb
498
- - spec/models/section_spec.rb
499
- - spec/models/sections_created_spec.rb
500
- - spec/models/sections_deleted_spec.rb
501
- - spec/models/sections_response_spec.rb
502
- - spec/models/sections_updated_spec.rb
503
- - spec/models/student_object_spec.rb
504
- - spec/models/student_response_spec.rb
505
- - spec/models/student_spec.rb
506
- - spec/models/students_created_spec.rb
507
- - spec/models/students_deleted_spec.rb
508
- - spec/models/students_response_spec.rb
509
- - spec/models/students_updated_spec.rb
510
- - spec/models/teacher_object_spec.rb
511
- - spec/models/teacher_response_spec.rb
512
- - spec/models/teacher_spec.rb
513
- - spec/models/teachers_created_spec.rb
514
- - spec/models/teachers_deleted_spec.rb
515
- - spec/models/teachers_response_spec.rb
516
- - spec/models/teachers_updated_spec.rb
517
- - spec/models/term_object_spec.rb
518
- - spec/models/term_response_spec.rb
519
- - spec/models/term_spec.rb
520
- - spec/models/terms_created_spec.rb
521
- - spec/models/terms_deleted_spec.rb
522
- - spec/models/terms_response_spec.rb
523
- - spec/models/terms_updated_spec.rb
524
440
  - spec/spec_helper.rb
525
441
  - tags
526
442
  homepage: https://github.com/swagger-api/swagger-codegen
@@ -535,102 +451,17 @@ required_ruby_version: !ruby/object:Gem::Requirement
535
451
  requirements:
536
452
  - - ">="
537
453
  - !ruby/object:Gem::Version
538
- version: '1.9'
454
+ version: '2.1'
539
455
  required_rubygems_version: !ruby/object:Gem::Requirement
540
456
  requirements:
541
457
  - - ">="
542
458
  - !ruby/object:Gem::Version
543
459
  version: '0'
544
460
  requirements: []
545
- rubygems_version: 3.1.4
461
+ rubygems_version: 3.0.3
546
462
  signing_key:
547
463
  specification_version: 4
548
464
  summary: Clever API Ruby Gem
549
465
  test_files:
550
- - spec/api/data_api_spec.rb
551
- - spec/api/events_api_spec.rb
552
- - spec/api_client_spec.rb
553
- - spec/configuration_spec.rb
554
466
  - spec/events.json
555
- - spec/models/internal_error_spec.rb
556
- - spec/models/contact_spec.rb
557
- - spec/models/contact_object_spec.rb
558
- - spec/models/credentials_spec.rb
559
- - spec/models/term_response_spec.rb
560
- - spec/models/teacher_spec.rb
561
- - spec/models/districts_created_spec.rb
562
- - spec/models/contacts_deleted_spec.rb
563
- - spec/models/school_admins_response_spec.rb
564
- - spec/models/school_response_spec.rb
565
- - spec/models/district_admin_spec.rb
566
- - spec/models/section_spec.rb
567
- - spec/models/events_response_spec.rb
568
- - spec/models/districts_deleted_spec.rb
569
- - spec/models/contacts_created_spec.rb
570
- - spec/models/terms_response_spec.rb
571
- - spec/models/student_response_spec.rb
572
- - spec/models/students_response_spec.rb
573
- - spec/models/teacher_object_spec.rb
574
- - spec/models/term_spec.rb
575
- - spec/models/contacts_updated_spec.rb
576
- - spec/models/teacher_response_spec.rb
577
- - spec/models/school_admin_object_spec.rb
578
- - spec/models/courses_response_spec.rb
579
- - spec/models/section_response_spec.rb
580
- - spec/models/school_enrollment_spec.rb
581
- - spec/models/districts_updated_spec.rb
582
- - spec/models/contacts_response_spec.rb
583
- - spec/models/school_admin_spec.rb
584
- - spec/models/name_spec.rb
585
- - spec/models/course_response_spec.rb
586
- - spec/models/district_response_spec.rb
587
- - spec/models/sections_updated_spec.rb
588
- - spec/models/student_spec.rb
589
- - spec/models/event_response_spec.rb
590
- - spec/models/schools_response_spec.rb
591
- - spec/models/term_object_spec.rb
592
- - spec/models/districtadmins_deleted_spec.rb
593
- - spec/models/schools_deleted_spec.rb
594
- - spec/models/terms_created_spec.rb
595
- - spec/models/courses_updated_spec.rb
596
- - spec/models/district_admins_response_spec.rb
597
- - spec/models/location_spec.rb
598
- - spec/models/sections_response_spec.rb
599
- - spec/models/student_object_spec.rb
600
- - spec/models/section_object_spec.rb
601
- - spec/models/students_updated_spec.rb
602
- - spec/models/terms_deleted_spec.rb
603
- - spec/models/course_object_spec.rb
604
- - spec/models/school_admin_response_spec.rb
605
- - spec/models/contact_response_spec.rb
606
- - spec/models/district_spec.rb
607
- - spec/models/teachers_updated_spec.rb
608
- - spec/models/schooladmins_updated_spec.rb
609
- - spec/models/event_spec.rb
610
- - spec/models/districtadmins_created_spec.rb
611
- - spec/models/schools_created_spec.rb
612
- - spec/models/schooladmins_created_spec.rb
613
- - spec/models/teachers_created_spec.rb
614
- - spec/models/sections_deleted_spec.rb
615
- - spec/models/district_admin_object_spec.rb
616
- - spec/models/districtadmins_updated_spec.rb
617
- - spec/models/schools_updated_spec.rb
618
- - spec/models/school_spec.rb
619
- - spec/models/courses_deleted_spec.rb
620
- - spec/models/school_object_spec.rb
621
- - spec/models/students_created_spec.rb
622
- - spec/models/district_object_spec.rb
623
- - spec/models/not_found_spec.rb
624
- - spec/models/course_spec.rb
625
- - spec/models/courses_created_spec.rb
626
- - spec/models/teachers_response_spec.rb
627
- - spec/models/terms_updated_spec.rb
628
- - spec/models/students_deleted_spec.rb
629
- - spec/models/schooladmins_deleted_spec.rb
630
- - spec/models/bad_request_spec.rb
631
- - spec/models/teachers_deleted_spec.rb
632
- - spec/models/sections_created_spec.rb
633
- - spec/models/principal_spec.rb
634
- - spec/models/districts_response_spec.rb
635
- - spec/models/district_admin_response_spec.rb
636
467
  - spec/spec_helper.rb
@@ -1,671 +0,0 @@
1
- =begin
2
- #Clever API
3
-
4
- #The Clever API
5
-
6
- OpenAPI spec version: 2.1.0
7
-
8
- Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.8
10
-
11
- =end
12
-
13
- require 'spec_helper'
14
- require 'json'
15
-
16
- # Unit tests for Clever::DataApi
17
- # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
18
- # Please update as you see appropriate
19
- describe 'DataApi' do
20
- before do
21
- # run before each test
22
- @instance = Clever::DataApi.new
23
- end
24
-
25
- after do
26
- # run after each test
27
- end
28
-
29
- describe 'test an instance of DataApi' do
30
- it 'should create an instance of DataApi' do
31
- expect(@instance).to be_instance_of(Clever::DataApi)
32
- end
33
- end
34
-
35
- # unit tests for get_contact
36
- # Returns a specific student contact
37
- # @param id
38
- # @param [Hash] opts the optional parameters
39
- # @return [ContactResponse]
40
- describe 'get_contact test' do
41
- it 'should work' do
42
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
43
- end
44
- end
45
-
46
- # unit tests for get_contacts
47
- # Returns a list of student contacts
48
- # @param [Hash] opts the optional parameters
49
- # @option opts [Integer] :limit
50
- # @option opts [String] :starting_after
51
- # @option opts [String] :ending_before
52
- # @option opts [String] :count
53
- # @return [ContactsResponse]
54
- describe 'get_contacts test' do
55
- it 'should work' do
56
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
57
- end
58
- end
59
-
60
- # unit tests for get_contacts_for_student
61
- # Returns the contacts for a student
62
- # @param id
63
- # @param [Hash] opts the optional parameters
64
- # @option opts [Integer] :limit
65
- # @option opts [String] :starting_after
66
- # @option opts [String] :ending_before
67
- # @return [ContactsResponse]
68
- describe 'get_contacts_for_student test' do
69
- it 'should work' do
70
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
71
- end
72
- end
73
-
74
- # unit tests for get_course
75
- # Returns a specific course
76
- # @param id
77
- # @param [Hash] opts the optional parameters
78
- # @return [CourseResponse]
79
- describe 'get_course test' do
80
- it 'should work' do
81
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
82
- end
83
- end
84
-
85
- # unit tests for get_course_for_section
86
- # Returns the course for a section
87
- # @param id
88
- # @param [Hash] opts the optional parameters
89
- # @return [CourseResponse]
90
- describe 'get_course_for_section test' do
91
- it 'should work' do
92
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
93
- end
94
- end
95
-
96
- # unit tests for get_courses
97
- # Returns a list of courses
98
- # @param [Hash] opts the optional parameters
99
- # @option opts [Integer] :limit
100
- # @option opts [String] :starting_after
101
- # @option opts [String] :ending_before
102
- # @option opts [String] :count
103
- # @return [CoursesResponse]
104
- describe 'get_courses test' do
105
- it 'should work' do
106
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
107
- end
108
- end
109
-
110
- # unit tests for get_district
111
- # Returns a specific district
112
- # @param id
113
- # @param [Hash] opts the optional parameters
114
- # @return [DistrictResponse]
115
- describe 'get_district test' do
116
- it 'should work' do
117
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
118
- end
119
- end
120
-
121
- # unit tests for get_district_admin
122
- # Returns a specific district admin
123
- # @param id
124
- # @param [Hash] opts the optional parameters
125
- # @return [DistrictAdminResponse]
126
- describe 'get_district_admin test' do
127
- it 'should work' do
128
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
129
- end
130
- end
131
-
132
- # unit tests for get_district_admins
133
- # Returns a list of district admins
134
- # @param [Hash] opts the optional parameters
135
- # @option opts [Integer] :limit
136
- # @option opts [String] :starting_after
137
- # @option opts [String] :ending_before
138
- # @option opts [String] :count
139
- # @return [DistrictAdminsResponse]
140
- describe 'get_district_admins test' do
141
- it 'should work' do
142
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
143
- end
144
- end
145
-
146
- # unit tests for get_district_for_contact
147
- # Returns the district for a student contact
148
- # @param id
149
- # @param [Hash] opts the optional parameters
150
- # @return [DistrictResponse]
151
- describe 'get_district_for_contact test' do
152
- it 'should work' do
153
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
154
- end
155
- end
156
-
157
- # unit tests for get_district_for_course
158
- # Returns the district for a course
159
- # @param id
160
- # @param [Hash] opts the optional parameters
161
- # @return [DistrictResponse]
162
- describe 'get_district_for_course test' do
163
- it 'should work' do
164
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
165
- end
166
- end
167
-
168
- # unit tests for get_district_for_district_admin
169
- # Returns the district for a district admin
170
- # @param id
171
- # @param [Hash] opts the optional parameters
172
- # @return [DistrictResponse]
173
- describe 'get_district_for_district_admin test' do
174
- it 'should work' do
175
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
176
- end
177
- end
178
-
179
- # unit tests for get_district_for_school
180
- # Returns the district for a school
181
- # @param id
182
- # @param [Hash] opts the optional parameters
183
- # @return [DistrictResponse]
184
- describe 'get_district_for_school test' do
185
- it 'should work' do
186
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
187
- end
188
- end
189
-
190
- # unit tests for get_district_for_school_admin
191
- # Returns the district for a school admin
192
- # @param id
193
- # @param [Hash] opts the optional parameters
194
- # @return [DistrictResponse]
195
- describe 'get_district_for_school_admin test' do
196
- it 'should work' do
197
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
198
- end
199
- end
200
-
201
- # unit tests for get_district_for_section
202
- # Returns the district for a section
203
- # @param id
204
- # @param [Hash] opts the optional parameters
205
- # @return [DistrictResponse]
206
- describe 'get_district_for_section test' do
207
- it 'should work' do
208
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
209
- end
210
- end
211
-
212
- # unit tests for get_district_for_student
213
- # Returns the district for a student
214
- # @param id
215
- # @param [Hash] opts the optional parameters
216
- # @return [DistrictResponse]
217
- describe 'get_district_for_student test' do
218
- it 'should work' do
219
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
220
- end
221
- end
222
-
223
- # unit tests for get_district_for_teacher
224
- # Returns the district for a teacher
225
- # @param id
226
- # @param [Hash] opts the optional parameters
227
- # @return [DistrictResponse]
228
- describe 'get_district_for_teacher test' do
229
- it 'should work' do
230
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
231
- end
232
- end
233
-
234
- # unit tests for get_district_for_term
235
- # Returns the district for a term
236
- # @param id
237
- # @param [Hash] opts the optional parameters
238
- # @return [DistrictResponse]
239
- describe 'get_district_for_term test' do
240
- it 'should work' do
241
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
242
- end
243
- end
244
-
245
- # unit tests for get_districts
246
- # Returns a list of districts
247
- # @param [Hash] opts the optional parameters
248
- # @option opts [String] :count
249
- # @return [DistrictsResponse]
250
- describe 'get_districts test' do
251
- it 'should work' do
252
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
253
- end
254
- end
255
-
256
- # unit tests for get_school
257
- # Returns a specific school
258
- # @param id
259
- # @param [Hash] opts the optional parameters
260
- # @return [SchoolResponse]
261
- describe 'get_school test' do
262
- it 'should work' do
263
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
264
- end
265
- end
266
-
267
- # unit tests for get_school_admin
268
- # Returns a specific school admin
269
- # @param id
270
- # @param [Hash] opts the optional parameters
271
- # @return [SchoolAdminResponse]
272
- describe 'get_school_admin test' do
273
- it 'should work' do
274
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
275
- end
276
- end
277
-
278
- # unit tests for get_school_admins
279
- # Returns a list of school admins
280
- # @param [Hash] opts the optional parameters
281
- # @option opts [Integer] :limit
282
- # @option opts [String] :starting_after
283
- # @option opts [String] :ending_before
284
- # @option opts [String] :count
285
- # @return [SchoolAdminsResponse]
286
- describe 'get_school_admins test' do
287
- it 'should work' do
288
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
289
- end
290
- end
291
-
292
- # unit tests for get_school_for_section
293
- # Returns the school for a section
294
- # @param id
295
- # @param [Hash] opts the optional parameters
296
- # @return [SchoolResponse]
297
- describe 'get_school_for_section test' do
298
- it 'should work' do
299
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
300
- end
301
- end
302
-
303
- # unit tests for get_school_for_student
304
- # Returns the primary school for a student
305
- # @param id
306
- # @param [Hash] opts the optional parameters
307
- # @return [SchoolResponse]
308
- describe 'get_school_for_student test' do
309
- it 'should work' do
310
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
311
- end
312
- end
313
-
314
- # unit tests for get_school_for_teacher
315
- # Retrieves school info for a teacher.
316
- # @param id
317
- # @param [Hash] opts the optional parameters
318
- # @return [SchoolResponse]
319
- describe 'get_school_for_teacher test' do
320
- it 'should work' do
321
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
322
- end
323
- end
324
-
325
- # unit tests for get_schools
326
- # Returns a list of schools
327
- # @param [Hash] opts the optional parameters
328
- # @option opts [Integer] :limit
329
- # @option opts [String] :starting_after
330
- # @option opts [String] :ending_before
331
- # @option opts [String] :count
332
- # @return [SchoolsResponse]
333
- describe 'get_schools test' do
334
- it 'should work' do
335
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
336
- end
337
- end
338
-
339
- # unit tests for get_schools_for_school_admin
340
- # Returns the schools for a school admin
341
- # @param id
342
- # @param [Hash] opts the optional parameters
343
- # @option opts [Integer] :limit
344
- # @option opts [String] :starting_after
345
- # @option opts [String] :ending_before
346
- # @return [SchoolsResponse]
347
- describe 'get_schools_for_school_admin test' do
348
- it 'should work' do
349
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
350
- end
351
- end
352
-
353
- # unit tests for get_schools_for_student
354
- # Returns the schools for a student
355
- # @param id
356
- # @param [Hash] opts the optional parameters
357
- # @option opts [Integer] :limit
358
- # @option opts [String] :starting_after
359
- # @option opts [String] :ending_before
360
- # @return [SchoolsResponse]
361
- describe 'get_schools_for_student test' do
362
- it 'should work' do
363
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
364
- end
365
- end
366
-
367
- # unit tests for get_schools_for_teacher
368
- # Returns the schools for a teacher
369
- # @param id
370
- # @param [Hash] opts the optional parameters
371
- # @option opts [Integer] :limit
372
- # @option opts [String] :starting_after
373
- # @option opts [String] :ending_before
374
- # @return [SchoolsResponse]
375
- describe 'get_schools_for_teacher test' do
376
- it 'should work' do
377
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
378
- end
379
- end
380
-
381
- # unit tests for get_section
382
- # Returns a specific section
383
- # @param id
384
- # @param [Hash] opts the optional parameters
385
- # @return [SectionResponse]
386
- describe 'get_section test' do
387
- it 'should work' do
388
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
389
- end
390
- end
391
-
392
- # unit tests for get_sections
393
- # Returns a list of sections
394
- # @param [Hash] opts the optional parameters
395
- # @option opts [Integer] :limit
396
- # @option opts [String] :starting_after
397
- # @option opts [String] :ending_before
398
- # @option opts [String] :count
399
- # @return [SectionsResponse]
400
- describe 'get_sections test' do
401
- it 'should work' do
402
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
403
- end
404
- end
405
-
406
- # unit tests for get_sections_for_course
407
- # Returns the sections for a Courses
408
- # @param id
409
- # @param [Hash] opts the optional parameters
410
- # @option opts [Integer] :limit
411
- # @option opts [String] :starting_after
412
- # @option opts [String] :ending_before
413
- # @return [SectionsResponse]
414
- describe 'get_sections_for_course test' do
415
- it 'should work' do
416
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
417
- end
418
- end
419
-
420
- # unit tests for get_sections_for_school
421
- # Returns the sections for a school
422
- # @param id
423
- # @param [Hash] opts the optional parameters
424
- # @option opts [Integer] :limit
425
- # @option opts [String] :starting_after
426
- # @option opts [String] :ending_before
427
- # @return [SectionsResponse]
428
- describe 'get_sections_for_school test' do
429
- it 'should work' do
430
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
431
- end
432
- end
433
-
434
- # unit tests for get_sections_for_student
435
- # Returns the sections for a student
436
- # @param id
437
- # @param [Hash] opts the optional parameters
438
- # @option opts [Integer] :limit
439
- # @option opts [String] :starting_after
440
- # @option opts [String] :ending_before
441
- # @return [SectionsResponse]
442
- describe 'get_sections_for_student test' do
443
- it 'should work' do
444
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
445
- end
446
- end
447
-
448
- # unit tests for get_sections_for_teacher
449
- # Returns the sections for a teacher
450
- # @param id
451
- # @param [Hash] opts the optional parameters
452
- # @option opts [Integer] :limit
453
- # @option opts [String] :starting_after
454
- # @option opts [String] :ending_before
455
- # @return [SectionsResponse]
456
- describe 'get_sections_for_teacher test' do
457
- it 'should work' do
458
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
459
- end
460
- end
461
-
462
- # unit tests for get_sections_for_term
463
- # Returns the sections for a term
464
- # @param id
465
- # @param [Hash] opts the optional parameters
466
- # @option opts [Integer] :limit
467
- # @option opts [String] :starting_after
468
- # @option opts [String] :ending_before
469
- # @return [SectionsResponse]
470
- describe 'get_sections_for_term test' do
471
- it 'should work' do
472
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
473
- end
474
- end
475
-
476
- # unit tests for get_student
477
- # Returns a specific student
478
- # @param id
479
- # @param [Hash] opts the optional parameters
480
- # @return [StudentResponse]
481
- describe 'get_student test' do
482
- it 'should work' do
483
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
484
- end
485
- end
486
-
487
- # unit tests for get_students
488
- # Returns a list of students
489
- # @param [Hash] opts the optional parameters
490
- # @option opts [Integer] :limit
491
- # @option opts [String] :starting_after
492
- # @option opts [String] :ending_before
493
- # @option opts [String] :count
494
- # @return [StudentsResponse]
495
- describe 'get_students test' do
496
- it 'should work' do
497
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
498
- end
499
- end
500
-
501
- # unit tests for get_students_for_contact
502
- # Returns the students for a student contact
503
- # @param id
504
- # @param [Hash] opts the optional parameters
505
- # @option opts [Integer] :limit
506
- # @option opts [String] :starting_after
507
- # @option opts [String] :ending_before
508
- # @return [StudentsResponse]
509
- describe 'get_students_for_contact test' do
510
- it 'should work' do
511
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
512
- end
513
- end
514
-
515
- # unit tests for get_students_for_school
516
- # Returns the students for a school
517
- # @param id
518
- # @param [Hash] opts the optional parameters
519
- # @option opts [Integer] :limit
520
- # @option opts [String] :starting_after
521
- # @option opts [String] :ending_before
522
- # @return [StudentsResponse]
523
- describe 'get_students_for_school test' do
524
- it 'should work' do
525
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
526
- end
527
- end
528
-
529
- # unit tests for get_students_for_section
530
- # Returns the students for a section
531
- # @param id
532
- # @param [Hash] opts the optional parameters
533
- # @option opts [Integer] :limit
534
- # @option opts [String] :starting_after
535
- # @option opts [String] :ending_before
536
- # @return [StudentsResponse]
537
- describe 'get_students_for_section test' do
538
- it 'should work' do
539
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
540
- end
541
- end
542
-
543
- # unit tests for get_students_for_teacher
544
- # Returns the students for a teacher
545
- # @param id
546
- # @param [Hash] opts the optional parameters
547
- # @option opts [Integer] :limit
548
- # @option opts [String] :starting_after
549
- # @option opts [String] :ending_before
550
- # @return [StudentsResponse]
551
- describe 'get_students_for_teacher test' do
552
- it 'should work' do
553
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
554
- end
555
- end
556
-
557
- # unit tests for get_teacher
558
- # Returns a specific teacher
559
- # @param id
560
- # @param [Hash] opts the optional parameters
561
- # @return [TeacherResponse]
562
- describe 'get_teacher test' do
563
- it 'should work' do
564
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
565
- end
566
- end
567
-
568
- # unit tests for get_teacher_for_section
569
- # Returns the primary teacher for a section
570
- # @param id
571
- # @param [Hash] opts the optional parameters
572
- # @return [TeacherResponse]
573
- describe 'get_teacher_for_section test' do
574
- it 'should work' do
575
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
576
- end
577
- end
578
-
579
- # unit tests for get_teachers
580
- # Returns a list of teachers
581
- # @param [Hash] opts the optional parameters
582
- # @option opts [Integer] :limit
583
- # @option opts [String] :starting_after
584
- # @option opts [String] :ending_before
585
- # @option opts [String] :count
586
- # @return [TeachersResponse]
587
- describe 'get_teachers test' do
588
- it 'should work' do
589
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
590
- end
591
- end
592
-
593
- # unit tests for get_teachers_for_school
594
- # Returns the teachers for a school
595
- # @param id
596
- # @param [Hash] opts the optional parameters
597
- # @option opts [Integer] :limit
598
- # @option opts [String] :starting_after
599
- # @option opts [String] :ending_before
600
- # @return [TeachersResponse]
601
- describe 'get_teachers_for_school test' do
602
- it 'should work' do
603
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
604
- end
605
- end
606
-
607
- # unit tests for get_teachers_for_section
608
- # Returns the teachers for a section
609
- # @param id
610
- # @param [Hash] opts the optional parameters
611
- # @option opts [Integer] :limit
612
- # @option opts [String] :starting_after
613
- # @option opts [String] :ending_before
614
- # @return [TeachersResponse]
615
- describe 'get_teachers_for_section test' do
616
- it 'should work' do
617
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
618
- end
619
- end
620
-
621
- # unit tests for get_teachers_for_student
622
- # Returns the teachers for a student
623
- # @param id
624
- # @param [Hash] opts the optional parameters
625
- # @option opts [Integer] :limit
626
- # @option opts [String] :starting_after
627
- # @option opts [String] :ending_before
628
- # @return [TeachersResponse]
629
- describe 'get_teachers_for_student test' do
630
- it 'should work' do
631
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
632
- end
633
- end
634
-
635
- # unit tests for get_term
636
- # Returns a specific term
637
- # @param id
638
- # @param [Hash] opts the optional parameters
639
- # @return [TermResponse]
640
- describe 'get_term test' do
641
- it 'should work' do
642
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
643
- end
644
- end
645
-
646
- # unit tests for get_term_for_section
647
- # Returns the term for a section
648
- # @param id
649
- # @param [Hash] opts the optional parameters
650
- # @return [TermResponse]
651
- describe 'get_term_for_section test' do
652
- it 'should work' do
653
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
654
- end
655
- end
656
-
657
- # unit tests for get_terms
658
- # Returns a list of terms
659
- # @param [Hash] opts the optional parameters
660
- # @option opts [Integer] :limit
661
- # @option opts [String] :starting_after
662
- # @option opts [String] :ending_before
663
- # @option opts [String] :count
664
- # @return [TermsResponse]
665
- describe 'get_terms test' do
666
- it 'should work' do
667
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
668
- end
669
- end
670
-
671
- end