class Scalablepress::API

Public Class Methods

get(path) click to toggle source
# File lib/scalablepress/api.rb, line 5
def self.get(path)
  JSON.parse(RestClient.get("https://#{Scalablepress::API_KEY}:@api.scalablepress.com/v2/#{path}"))
end