Class: Cfan122::ExamStudentList::Request

Inherits:
Operation::Request show all
Includes:
HttpConfig, OperationMethods
Defined in:
lib/cfan122/operations/exam_student_list.rb

Constant Summary collapse

PARAMS =
[:xh, :page, :size]

Instance Attribute Summary

Attributes inherited from Operation::Request

#body, #impersonation_user, #response

Instance Method Summary collapse

Methods inherited from Operation::Request

#initialize, #set_default

Constructor Details

This class inherits a constructor from Cfan122::Operation::Request

Instance Method Details

#execute(params = {}) ⇒ Object



12
13
14
15
# File 'lib/cfan122/operations/exam_student_list.rb', line 12

def execute params = {}
  options = attributes.merge(params)
  self.class.post('/m/examplan/getStudentInfo', body: to_params(options))
end