Class: Enlight::Requests::SearchClassEnrollments

Inherits:
Request
  • Object
show all
Includes:
Searchable
Defined in:
lib/enlight/requests/search_class_enrollments.rb

Instance Attribute Summary collapse

Attributes included from Searchable

#name, #page_index, #page_size, #sort

Attributes inherited from Request

#id

Method Summary

Methods inherited from Request

#build_uri, #fetch, #initialize, #resource

Constructor Details

This class inherits a constructor from Enlight::Requests::Request

Instance Attribute Details

#class_nameObject

Returns the value of attribute class_name.



6
7
8
# File 'lib/enlight/requests/search_class_enrollments.rb', line 6

def class_name
  @class_name
end

#created_afterObject

Returns the value of attribute created_after.



8
9
10
# File 'lib/enlight/requests/search_class_enrollments.rb', line 8

def created_after
  @created_after
end

#created_beforeObject

Returns the value of attribute created_before.



9
10
11
# File 'lib/enlight/requests/search_class_enrollments.rb', line 9

def created_before
  @created_before
end

#student_idObject

Returns the value of attribute student_id.



7
8
9
# File 'lib/enlight/requests/search_class_enrollments.rb', line 7

def student_id
  @student_id
end