Sha256: d3aef06de98fcd3d360110fed2380f448ebaf80422012088f2b9424e1602dbc5
Contents?: true
Size: 976 Bytes
Versions: 24
Compression:
Stored size: 976 Bytes
Contents
module Heroku class API # DELETE /features/:feature def delete_feature(feature, app = nil) request( :expects => 200, :method => :delete, :path => "/features/#{feature}", :query => { 'app' => app } ) end # GET /features def get_features(app = nil) request( :expects => 200, :method => :get, :path => "/features", :query => { 'app' => app } ) end # GET /features/:feature def get_feature(feature, app = nil) request( :expects => 200, :method => :get, :path => "/features/#{feature}", :query => { 'app' => app } ) end # POST /features/:feature def post_feature(feature, app = nil) request( :expects => [200, 201], :method => :post, :path => "/features/#{feature}", :query => { 'app' => app } ) end end end
Version data entries
24 entries across 24 versions & 2 rubygems