Sha256: b2315ff4a3f913572e6a703036c4c067fbee682c47575c588dd1d92c769d82a6

Contents?: true

Size: 327 Bytes

Versions: 6

Compression:

Stored size: 327 Bytes

Contents

#!/usr/bin/env ruby -rubygems

require 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

6 entries across 6 versions & 1 rubygems

Version Path
storage_room-0.3.5 examples/update_entry.rb
storage_room-0.3.4 examples/update_entry.rb
storage_room-0.3.3 examples/update_entry.rb
storage_room-0.3.2 examples/update_entry.rb
storage_room-0.3.1 examples/update_entry.rb
storage_room-0.3.0 examples/update_entry.rb