Module: OpenStax::Exchange::ClientInstance

Included in:
FakeClient, RealClient
Defined in:
lib/openstax/exchange/client_instance.rb

Instance Method Summary collapse

Instance Method Details

#create_identifierObject

Raises:

  • (NotImplementedError)


13
14
15
# File 'lib/openstax/exchange/client_instance.rb', line 13

def create_identifier
  raise NotImplementedError
end

#is_real_client?Boolean

Returns:

  • (Boolean)

Raises:

  • (NotImplementedError)


5
6
7
# File 'lib/openstax/exchange/client_instance.rb', line 5

def is_real_client?
  raise NotImplementedError
end

#record_grade(identifier, resource, trial, grade) ⇒ Object

Raises:

  • (NotImplementedError)


21
22
23
# File 'lib/openstax/exchange/client_instance.rb', line 21

def record_grade(identifier, resource, trial, grade)
  raise NotImplementedError
end

#record_multiple_choice_answer(identifier, resource, trial, answer) ⇒ Object

Raises:

  • (NotImplementedError)


17
18
19
# File 'lib/openstax/exchange/client_instance.rb', line 17

def record_multiple_choice_answer(identifier, resource, trial, answer)
  raise NotImplementedError
end

#tokenObject

Raises:

  • (NotImplementedError)


9
10
11
# File 'lib/openstax/exchange/client_instance.rb', line 9

def token
  raise NotImplementedError
end