Class: Wanikani::RecentUnlocks

Inherits:
Object
  • Object
show all
Defined in:
lib/wanikani/recent_unlocks.rb

Class Method Summary collapse

Class Method Details

.list(limit = 10) ⇒ Array

Gets the recent unlocked items (radicals, Kanji and vocabulary).



8
9
10
11
# File 'lib/wanikani/recent_unlocks.rb', line 8

def self.list(limit = 10)
  api_response = Wanikani.api_response("recent-unlocks", limit)
  return api_response["requested_information"]
end