Module: ArmoryApi::Client::Achievement

Included in:
ArmoryApi::Client
Defined in:
lib/armory_api/client/achievement.rb

Instance Method Summary collapse

Instance Method Details

#achievement(id) ⇒ Hash

Retrieves the achievement ‘id` from the Armory

Parameters:

  • id (Integer)

    the achievement id

Returns:

  • (Hash)

    the achievement



9
10
11
# File 'lib/armory_api/client/achievement.rb', line 9

def achievement(id)
  get("/api/wow/achievement/#{id}")
end