Sha256: 77eac35cf56016c3e219a48dca71a1e7e8ce1d06e160d04cef333f4143268888
Contents?: true
Size: 754 Bytes
Versions: 12
Compression:
Stored size: 754 Bytes
Contents
module Heroku class API # DELETE /apps/:app/collaborators/:email def delete_collaborator(app, email) request( :expects => 200, :method => :delete, :path => "/apps/#{app}/collaborators/#{CGI.escape(email)}" ) end # GET /apps/:app/collaborators def get_collaborators(app) request( :expects => 200, :method => :get, :path => "/apps/#{app}/collaborators" ) end # POST /apps/:app/collaborators def post_collaborator(app, email) request( :expects => [200, 201], :method => :post, :path => "/apps/#{app}/collaborators", :query => {'collaborator[email]' => email} ) end end end
Version data entries
12 entries across 12 versions & 1 rubygems