Class: Assembly::Assessment

Inherits:
ApiModel show all
Includes:
Assembly::Actions::List, Assembly::Actions::Read
Defined in:
lib/assembly/models/assessment.rb

Instance Attribute Summary

Attributes inherited from Model

#client, #id

Instance Method Summary collapse

Methods included from Assembly::Actions::List

included

Methods included from Assembly::Actions::Read

included

Methods inherited from ApiModel

#path, path

Methods inherited from Model

#[], #[]=, #as_json, class_name, construct_from, #dirty?, #dirty_params, #each, #initialize, #keys, #merge, #to_hash, #to_json, #update_from, #values

Constructor Details

This class inherits a constructor from Assembly::Model

Instance Method Details

#grade_set(params = {}) ⇒ Object



6
7
8
9
# File 'lib/assembly/models/assessment.rb', line 6

def grade_set(params={})
  response = client.get(path + '/grade_set', params)
  Util.build(response[:grade_set], client)
end

#results(params = {}) ⇒ Object



11
12
13
14
# File 'lib/assembly/models/assessment.rb', line 11

def results(params={})
  response = client.get(path + '/results', params)
  Util.build(response, client)
end