module MyAnimeList

Constants

VERSION

Public Class Methods

configure(&block) click to toggle source
# File lib/myanimelist.rb, line 11
def self.configure(&block)
  block.call(Credentials) if block_given?
end
search_anime(name) click to toggle source
# File lib/myanimelist.rb, line 19
def self.search_anime(name)
  MyAnimeList::Anime.search(name)
end
search_manga(name) click to toggle source
# File lib/myanimelist.rb, line 23
def self.search_manga(name)
  MyAnimeList::Manga.search(name)
end
verify_credentials() click to toggle source
# File lib/myanimelist.rb, line 15
def self.verify_credentials
  Api.new.verify_credentials!
end