module ZcBroker::ApiCall
Public Class Methods
get(url)
click to toggle source
# File lib/zc_broker/api_call.rb, line 6 def self.get(url) response = RestClient.get(url) return JSON.parse(response) end
# File lib/zc_broker/api_call.rb, line 6 def self.get(url) response = RestClient.get(url) return JSON.parse(response) end