class Toshi::Client
Public Class Methods
get(path)
click to toggle source
# File lib/toshi/client.rb, line 6 def get(path) url = url_for(path) Toshi::Request.get(url) end
url_for(path)
click to toggle source
# File lib/toshi/client.rb, line 11 def url_for(path) @@base_url + path end