Sha256: 2659236717555958ebffadda68b0d06bdb1d8c48677f9692523b963edf9fd54e
Contents?: true
Size: 432 Bytes
Versions: 3
Compression:
Stored size: 432 Bytes
Contents
class Ey::Core::Client class Real def destroy_blueprint(params={}) id = params.delete("id") request( :path => "blueprints/#{id}", :method => :delete ) end end class Mock def destroy_blueprint(params={}) blueprint = find(:blueprints, params["id"]) self.data[:blueprints].delete(blueprint["id"]) response(status: 204) end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
ey-core-3.6.6 | lib/ey-core/requests/destroy_blueprint.rb |
ey-core-3.4.5 | lib/ey-core/requests/destroy_blueprint.rb |
ey-core-3.6.5 | lib/ey-core/requests/destroy_blueprint.rb |