Sha256: 95017b9e7eae951761e9671aae46b2ec89a295080ee00d9702ca7187cfc5e412
Contents?: true
Size: 740 Bytes
Versions: 29
Compression:
Stored size: 740 Bytes
Contents
module Heroku class API # DELETE /user/keys/:key def delete_key(key) request( :expects => 200, :method => :delete, :path => "/user/keys/#{escape(key)}" ) 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
29 entries across 29 versions & 2 rubygems