Module: Notifications
- Included in:
- Spartacus
- Defined in:
- lib/client/notifications.rb
Instance Method Summary collapse
Instance Method Details
#user_notications(student_id = nil) ⇒ Object
3 4 5 6 7 8 9 |
# File 'lib/client/notifications.rb', line 3 def user_notications(student_id=nil) url = "#{@api_base_path}/notifications/" handle_timeouts do response = self.class.get(url) convert_response(response, "notification") end end |