Class: Quill::Endpoint::ActivitySessions

Inherits:
Base
  • Object
show all
Defined in:
lib/quill/endpoints.rb

Instance Attribute Summary

Attributes inherited from Base

#api, #name

Instance Method Summary collapse

Methods inherited from Base

#check_keys, #initialize, #list, #update

Constructor Details

This class inherits a constructor from Quill::Endpoint::Base

Instance Method Details

#create(*args) ⇒ Object

Compass activity sessions are used to store progress information about a user’s interaction with an activity. Session’s can be created without an access_token to allow anonymous access. If you have an ID of an anonymous session you should also be able to update it without an access_token.

Parameters:

  • properties (Hash)

    properties for create



49
50
51
# File 'lib/quill/endpoints.rb', line 49

def create *args
  super
end

#find(*args) ⇒ Object

Compass activity sessions are used to store progress information about a user’s interaction with an activity. Session’s can be created without an access_token to allow anonymous access. If you have an ID of an anonymous session you should also be able to update it without an access_token.

Parameters:

  • id (String)

    the id of the Activity session



31
32
33
# File 'lib/quill/endpoints.rb', line 31

def find *args
  super
end