Class: PupilfirstXapi::Objects::Survey
- Inherits:
-
Object
- Object
- PupilfirstXapi::Objects::Survey
- Defined in:
- lib/pupilfirst_xapi/objects/survey.rb
Instance Method Summary collapse
Instance Method Details
#call(survey, uri_for) ⇒ Object
4 5 6 7 8 9 10 11 12 13 |
# File 'lib/pupilfirst_xapi/objects/survey.rb', line 4 def call(survey, uri_for) target_uri = uri_for.call(survey) Builder.new( id: target_uri, type: 'http://id.tincanapi.com/activitytype/survey', name: survey.name, description: survey.external_name ).call end |