Class: TwentyFourTru::Response
- Inherits:
-
Object
- Object
- TwentyFourTru::Response
- Defined in:
- lib/TwentyFourTru/response.rb
Instance Attribute Summary collapse
-
#assignment_id ⇒ Object
Returns the value of attribute assignment_id.
-
#response_id ⇒ Object
Returns the value of attribute response_id.
Class Method Summary collapse
- .all(assignment_id, options = {}) ⇒ Object
- .create(assignment_id, options) ⇒ Object
- .find(response_id) ⇒ Object
Instance Attribute Details
#assignment_id ⇒ Object
Returns the value of attribute assignment_id.
18 19 20 |
# File 'lib/TwentyFourTru/response.rb', line 18 def assignment_id @assignment_id end |
#response_id ⇒ Object
Returns the value of attribute response_id.
18 19 20 |
# File 'lib/TwentyFourTru/response.rb', line 18 def response_id @response_id end |
Class Method Details
.all(assignment_id, options = {}) ⇒ Object
5 6 7 |
# File 'lib/TwentyFourTru/response.rb', line 5 def all(assignment_id, ={}) Client.get("/assignments/#{assignment_id}/responses") end |