module RickAndMorty
Constants
- VERSION
Public Class Methods
character(id)
click to toggle source
# File lib/rick_and_morty.rb, line 21 def self.character(id) Character.new.find(id) end
characters()
click to toggle source
# File lib/rick_and_morty.rb, line 17 def self.characters Character.new.all end
episode(id)
click to toggle source
# File lib/rick_and_morty.rb, line 37 def self.episode(id) Episode.new.find(id) end
episodes()
click to toggle source
# File lib/rick_and_morty.rb, line 33 def self.episodes Episode.new.all end
location(id)
click to toggle source
# File lib/rick_and_morty.rb, line 29 def self.location(id) Location.new.find(id) end
locations()
click to toggle source
# File lib/rick_and_morty.rb, line 25 def self.locations Location.new.all end