Sha256: 61d73675c28a2e8ae235367bd5fdd56cdf4fa0bb5f20d13a7249445c2b66037d
Contents?: true
Size: 760 Bytes
Versions: 23
Compression:
Stored size: 760 Bytes
Contents
module Heroku class API # DELETE /user/keys/:key def delete_key(key) request( :expects => 200, :method => :delete, :path => "/user/keys/#{CGI.escape(key).gsub('.','%2E')}" ) end # DELETE /user/keys def delete_keys request( :expects => 200, :method => :delete, :path => "/user/keys" ) end # GET /user/keys def get_keys request( :expects => 200, :method => :get, :path => "/user/keys" ) end # POST /user/keys def post_key(key) request( :body => key, :expects => 200, :method => :post, :path => "/user/keys" ) end end end
Version data entries
23 entries across 23 versions & 1 rubygems