Class: QuizApiClient::Services::ContentMigrationJobService

Inherits:
BaseApiService
  • Object
show all
Defined in:
lib/quiz_api_client/services/content_migration_job_service.rb

Instance Attribute Summary

Attributes inherited from BaseApiService

#config

Instance Method Summary collapse

Methods inherited from BaseApiService

#initialize

Constructor Details

This class inherits a constructor from QuizApiClient::Services::BaseApiService

Instance Method Details

#create(params:, token: nil) ⇒ Object



6
7
8
# File 'lib/quiz_api_client/services/content_migration_job_service.rb', line 6

def create(params:, token: nil)
  post_to_quiz_api(params: params, token: token)
end

#retry(params:, token: nil) ⇒ Object



10
11
12
# File 'lib/quiz_api_client/services/content_migration_job_service.rb', line 10

def retry(params:, token: nil)
  retry_on_quiz_api(params: params, token: token)
end

#show(params:, token: nil) ⇒ Object



14
15
16
# File 'lib/quiz_api_client/services/content_migration_job_service.rb', line 14

def show(params:, token: nil)
  get_from_quiz_api(params: params, token: token)
end