Sha256: 0a95b9652a9d613b43cc8213a04b6002bd9318a84e205c7583489c4798ec385c
Contents?: true
Size: 294 Bytes
Versions: 2
Compression:
Stored size: 294 Bytes
Contents
#!/usr/bin/env ruby -rubygems require File.dirname(__FILE__) + '/authentication' collection = StorageRoom::Collection.find('guidebooks') entries = collection.entry_class.search(:name => 'Bar') puts "Entries with name 'Bar':" entries.resources.each do |entry| puts "- #{entry[:name]}" end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
storage_room-0.1.3 | examples/search_entries.rb |
storage_room-0.1.2 | examples/search_entries.rb |