Sha256: 1fddda4d8ac604c8a2ddfba58cdaeef48aeef740df55a0c8fa36086f9b946e9e
Contents?: true
Size: 1.54 KB
Versions: 1
Compression:
Stored size: 1.54 KB
Contents
module Heroku class API # DELETE /apps/:app/ssl-endpoint/:cname def delete_ssl_endpoint(app, cname) request( :expects => 200, :method => :delete, :path => "/apps/#{escape app}/ssl-endpoints/#{escape(cname)}" ) end # GET /apps/:app/ssl-endpoint/:cname def get_ssl_endpoint(app, cname) request( :expects => 200, :method => :get, :path => "/apps/#{escape app}/ssl-endpoints/#{escape(cname)}" ) end # GET /apps/:app/ssl-endpoints def get_ssl_endpoints(app) request( :expects => 200, :method => :get, :path => "/apps/#{escape app}/ssl-endpoints" ) end # POST /apps/:app/ssl-endpoints def post_ssl_endpoint(app, pem, key) request( :expects => 200, :method => :post, :path => "/apps/#{escape app}/ssl-endpoints", :query => { 'key' => key, 'pem' => pem } ) end # POST /apps/:app/ssl-endpoints/:cname/rollback def post_ssl_endpoint_rollback(app, cname) request( :expects => 200, :method => :post, :path => "/apps/#{escape app}/ssl-endpoints/#{escape(cname)}/rollback" ) end # PUT /apps/:app/ssl-endpoints/:cname def put_ssl_endpoint(app, cname, pem, key) request( :expects => 200, :method => :put, :path => "/apps/#{escape app}/ssl-endpoints/#{escape(cname)}", :query => { 'key' => key, 'pem' => pem } ) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
pogoapp-api-0.3.8 | lib/heroku/api/ssl_endpoints.rb |