lib/triviacrack/api/client.rb in triviacrack-0.6.0 vs lib/triviacrack/api/client.rb in triviacrack-0.7.0
- old
+ new
@@ -1,16 +1,17 @@
-require "triviacrack/api/game"
-require "triviacrack/api/login"
-require "triviacrack/api/profile"
-require "triviacrack/api/question"
-require "triviacrack/api/user"
+# frozen_string_literal: true
+require 'triviacrack/api/game'
+require 'triviacrack/api/login'
+require 'triviacrack/api/profile'
+require 'triviacrack/api/question'
+require 'triviacrack/api/user'
+
# Public: Interface for interacting with the Trivia Crack API.
module TriviaCrack
module API
class Client
-
include TriviaCrack::API::Game
include TriviaCrack::API::Login
include TriviaCrack::API::User
include TriviaCrack::API::Question
include TriviaCrack::API::Profile
@@ -23,9 +24,8 @@
# user_id - The Trivia Crack user ID.
def set_session(session_id, user_id)
@session = TriviaCrack::Session.new session_id: session_id,
user_id: user_id
end
-
end
end
end