Sha256: 0360d145e20f9edb0da806df42bf44d2ef6589826d7543a66da03208d68f052d
Contents?: true
Size: 410 Bytes
Versions: 34
Compression:
Stored size: 410 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
34 entries across 34 versions & 2 rubygems