Sha256: cb9ae5273d68e6dfd83074cfe3e0630e2cd483d6e73f906051b51fd02c51b3ee

Contents?: true

Size: 185 Bytes

Versions: 1

Compression:

Stored size: 185 Bytes

Contents

require 'rest-client'
require 'json'
# makes a request to url passing access token provided
def request(url, token)
	JSON.parse(RestClient.get(url, {params: {access_token: token}}))
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
git-layer-0.2.0 lib/github/helpers.rb