class Kitsu::API

Constants

BASE_URL

Public Class Methods

get(path) click to toggle source
Calls superclass method
# File lib/kitsu/api.rb, line 9
def self.get(path)
  path = path.gsub(BASE_URL, '')
  url = "#{BASE_URL}/#{path}"
  response = super(url)
  JSON.parse(response)
end