Sha256: a60040ed945f5f111a49929825276e5d19bc4467888cf2019dfe3c6f7b4f93e0

Contents?: true

Size: 303 Bytes

Versions: 1

Compression:

Stored size: 303 Bytes

Contents

#!/usr/bin/env ruby -rubygems

require File.dirname(__FILE__) + '/authentication'

collection = StorageRoom::Collection.find('guidebooks')

entries = collection.entry_class.search(:title => 'Name 2')

puts "Entries with title 'Name 2':"

entries.resources.each do |entry|
  puts "- #{entry[:title]}"
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
storage_room-0.1.4 examples/search_entries.rb