Class: Valorant::AccountStats

Inherits:
Object
  • Object
show all
Defined in:
lib/api/account.rb

Overview

This class is used to fetch data from the Valorant API -> ENDPOINT: /account

Class Method Summary collapse

Class Method Details

.account_data(name, tag) ⇒ Object



9
10
11
# File 'lib/api/account.rb', line 9

def self.(name, tag)
  User.new(fetch_resposne("v1/account/#{name}/#{tag}"))
end