Sha256: c2ce7c997f34faa7fe438d52961dac494309ae1b7b4718c58f5c57a9bd1f263b
Contents?: true
Size: 336 Bytes
Versions: 19
Compression:
Stored size: 336 Bytes
Contents
#!/usr/bin/env ruby -rubygems require File.join(File.dirname(__FILE__), 'authentication') collection = StorageRoom::Collection.find('4dda7761b65245fde100005d') entry = collection.entries.resources.first entry.title = 'Foobar' if entry.save puts "Entry saved" else puts "Entry could not be saved: #{entry.errors.join(', ')}" end
Version data entries
19 entries across 19 versions & 1 rubygems