Sha256: 08ab0ca11c8c85c981a8bf0a5b25c2139c1efb9c5ec79bcc46e18a9523048d78
Contents?: true
Size: 238 Bytes
Versions: 2
Compression:
Stored size: 238 Bytes
Contents
#!/usr/bin/env ruby -rubygems require File.dirname(__FILE__) + '/authentication' collection = StorageRoom::Collection.find('guidebooks') resource = collection.resources.items.first resource.destroy puts "Destroyed #{resource[:name]}"
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
storage_room-0.1.1 | examples/destroy_resource.rb |
storage_room-0.1.0 | examples/destroy_resource.rb |