class Jikan::User
Public Instance Methods
about()
click to toggle source
# File lib/jikan/models/user.rb, line 29 def about raw['about'] end
anime_stats()
click to toggle source
# File lib/jikan/models/user.rb, line 33 def anime_stats raw['anime_stats'] end
birthday()
click to toggle source
# File lib/jikan/models/user.rb, line 17 def birthday raw['birthday'] end
fav_anime()
click to toggle source
# File lib/jikan/models/user.rb, line 41 def fav_anime raw['favorites']['anime'].map do |fa| Jikan::BasicAnime.new(fa) end end
fav_char()
click to toggle source
# File lib/jikan/models/user.rb, line 53 def fav_char raw['favorites']['characters'].map do |fc| Jikan::BasicCharacter.new(fc) end end
fav_manga()
click to toggle source
# File lib/jikan/models/user.rb, line 47 def fav_manga raw['favorites']['manga'].map do |fm| Jikan::BasicManga.new(fm) end end
fav_people()
click to toggle source
# File lib/jikan/models/user.rb, line 59 def fav_people raw['favorites']['people'].map do |fp| Jikan::BasicPerson.new(fp) end end
image_url()
click to toggle source
# File lib/jikan/models/user.rb, line 13 def image_url raw['image_url'] end
joined()
click to toggle source
# File lib/jikan/models/user.rb, line 25 def joined raw['joined'] end
location()
click to toggle source
# File lib/jikan/models/user.rb, line 21 def location raw['location'] end
manga_stats()
click to toggle source
# File lib/jikan/models/user.rb, line 37 def manga_stats raw['manga_stats'] end
name()
click to toggle source
# File lib/jikan/models/user.rb, line 5 def name raw['username'] end
url()
click to toggle source
# File lib/jikan/models/user.rb, line 9 def url raw['url'] end