Sha256: 91878d3364ca96e6a3f17dee5287aded6b6b01a462d049d5317edb39a5be0ee8
Contents?: true
Size: 689 Bytes
Versions: 14
Compression:
Stored size: 689 Bytes
Contents
module Heroku class API # GET /apps/:app/releases def get_releases(app) request( :expects => 200, :method => :get, :path => "/apps/#{app}/releases" ) end # GET /apps/:app/releases/:release def get_release(app, release) request( :expects => 200, :method => :get, :path => "/apps/#{app}/releases/#{release}" ) end # POST /apps/:app/releases/:release def post_release(app, release) request( :expects => 200, :method => :post, :path => "/apps/#{app}/releases", :query => {'rollback' => release} ) end end end
Version data entries
14 entries across 14 versions & 1 rubygems