Module: Gerry::Api::Access
- Included in:
- Client
- Defined in:
- lib/gerry/api/access.rb
Instance Method Summary collapse
-
#access(*projects) ⇒ Hash
Get access rights for the specified project.
Instance Method Details
#access(*projects) ⇒ Hash
Get access rights for the specified project
10 11 12 13 14 |
# File 'lib/gerry/api/access.rb', line 10 def access(*projects) projects = projects.flatten.map { |name| ERB::Util.url_encode(name) } url = "/access/?project=#{projects.join('&project=')}" get(url) end |