Module: PupilfirstXapi::Objects
- Defined in:
- lib/pupilfirst_xapi/objects.rb,
lib/pupilfirst_xapi/objects/answer.rb,
lib/pupilfirst_xapi/objects/course.rb,
lib/pupilfirst_xapi/objects/survey.rb,
lib/pupilfirst_xapi/objects/target.rb,
lib/pupilfirst_xapi/objects/builder.rb,
lib/pupilfirst_xapi/objects/video_end.rb,
lib/pupilfirst_xapi/objects/survey_end.rb,
lib/pupilfirst_xapi/objects/video_start.rb,
lib/pupilfirst_xapi/objects/survey_start.rb
Defined Under Namespace
Classes: Answer, Builder, Course, Survey, SurveyEnd, SurveyStart, Target, VideoEnd, VideoStart
Class Method Summary
collapse
Class Method Details
.answer(question, uri_for) ⇒ Object
41
42
43
|
# File 'lib/pupilfirst_xapi/objects.rb', line 41
def self.answer(question, uri_for)
Answer.new.call(question, uri_for)
end
|
.capability_result_viewed(survey, uri_for) ⇒ Object
37
38
39
|
# File 'lib/pupilfirst_xapi/objects.rb', line 37
def self.capability_result_viewed(survey, uri_for)
Survey.new.call(survey, uri_for)
end
|
.course(course, uri_for) ⇒ Object
13
14
15
|
# File 'lib/pupilfirst_xapi/objects.rb', line 13
def self.course(course, uri_for)
Course.new.call(course, uri_for)
end
|
.survey_end(survey, uri_for) ⇒ Object
33
34
35
|
# File 'lib/pupilfirst_xapi/objects.rb', line 33
def self.survey_end(survey, uri_for)
SurveyEnd.new.call(survey, uri_for)
end
|
.survey_start(survey, uri_for) ⇒ Object
29
30
31
|
# File 'lib/pupilfirst_xapi/objects.rb', line 29
def self.survey_start(survey, uri_for)
SurveyStart.new.call(survey, uri_for)
end
|
.target(target, uri_for) ⇒ Object
17
18
19
|
# File 'lib/pupilfirst_xapi/objects.rb', line 17
def self.target(target, uri_for)
Target.new.call(target, uri_for)
end
|
.video_end(target, uri_for) ⇒ Object
25
26
27
|
# File 'lib/pupilfirst_xapi/objects.rb', line 25
def self.video_end(target, uri_for)
VideoEnd.new.call(target, uri_for)
end
|
.video_start(target, uri_for) ⇒ Object
21
22
23
|
# File 'lib/pupilfirst_xapi/objects.rb', line 21
def self.video_start(target, uri_for)
VideoStart.new.call(target, uri_for)
end
|