Sha256: 338c570903d5b3204e0985d10d06fd853bcf12747d03ebd67300e2ed72212ad9
Contents?: true
Size: 436 Bytes
Versions: 7
Compression:
Stored size: 436 Bytes
Contents
require 'erb' module Gerry class Client module Access # Get access rights for the specified project # # @param [VarArgs] projects the project names # @return [Hash] the list of access rights def access(*projects) projects = projects.flatten.map { |name| ERB::Util.url_encode(name) } url = "/access/?project=#{projects.join('&project=')}" get(url) end end end end
Version data entries
7 entries across 7 versions & 1 rubygems