Class: QuizApiClient::Services::QuizzesService
Instance Attribute Summary
#config
Instance Method Summary
collapse
#initialize
Instance Method Details
#create(params:, token: nil) ⇒ Object
3
4
5
|
# File 'lib/quiz_api_client/services/quizzes_service.rb', line 3
def create(params:, token: nil)
post_to_quiz_api(params: params, token: token)
end
|
#list(params:, token: nil, all: false) ⇒ Object
7
8
9
|
# File 'lib/quiz_api_client/services/quizzes_service.rb', line 7
def list(params:, token: nil, all: false)
get_from_quiz_api(params: params, token: token, all: all)
end
|