Sha256: 4b454c8adef3290d763d1003ab2d1d5a2933cde8e971efbc559d2714435e58ca

Contents?: true

Size: 382 Bytes

Versions: 2

Compression:

Stored size: 382 Bytes

Contents

#!/usr/bin/env ruby -rubygems

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

collection = StorageRoom::Collection.find('4ddaf68b4d085d374a000003')

entries = collection.entry_class.search(:title => 'Hitchhikers Guide to the Galaxy')

puts "Entries with title 'Hitchhikers Guide to the Galaxy':"

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
storage_room-0.2.1 examples/search_entries.rb
storage_room-0.2.0 examples/search_entries.rb