Module: OwApi::Client::Profile

Included in:
OwApi::Client
Defined in:
lib/ow_api/client/profile.rb

Instance Method Summary collapse

Instance Method Details

#profile(platform:, region:, battletag:) ⇒ Object



6
7
8
9
# File 'lib/ow_api/client/profile.rb', line 6

def profile(platform:, region:, battletag:)
  response = get("stats/#{platform}/#{region}/#{battletag}/profile")
  handle_response(response, Response::Profile)
end