Module: ValorantDailyStore

Defined in:
lib/valorant_daily_store.rb,
lib/valorant_daily_store/cli.rb,
lib/valorant_daily_store/data.rb,
lib/valorant_daily_store/skin.rb,
lib/valorant_daily_store/consts.rb,
lib/valorant_daily_store/errors.rb,
lib/valorant_daily_store/version.rb

Defined Under Namespace

Classes: AuthorizaionTokenError, AuthorizationCookiesError, CLI, Data, EntitlementsTokenError, OffersError, PlayerIdError, Skin, SkinIdsError, UnsupportedLanguage, ValorantApiError

Constant Summary collapse

VALORANT_API_LANGUAGES =
["ar-AE", "de-DE", "en-US", "es-ES", "es-MX", "fr-FR", "id-ID", "it-IT", "ja-JP", "ko-KR", "pl-PL", "pt-BR", "ru-RU", "th-TH", "tr-TR", "vi-VN", "zh-CN", "zh-TW"].freeze
VERSION =
"1.0.6"

Class Method Summary collapse

Class Method Details

.get_data(username:, password:, region:, language: "en-US") ⇒ Object



7
8
9
# File 'lib/valorant_daily_store.rb', line 7

def self.get_data(username:, password:, region:, language: "en-US")
  Data.new(username:, password:, region:, language:).get
end