class HTTPHelper
Attributes
token[W]
Public Class Methods
get(url)
click to toggle source
# File lib/committer-tools.rb, line 9 def self.get(url) RestClient.get(url, { params: { access_token: @token } }).body end
get_json(url)
click to toggle source
# File lib/committer-tools.rb, line 13 def self.get_json(url) JSON.parse(get(url)) end