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

Version Path
storage_room-0.3.24 examples/update_entry.rb
storage_room-0.3.23 examples/update_entry.rb
storage_room-0.3.22 examples/update_entry.rb
storage_room-0.3.21 examples/update_entry.rb
storage_room-0.3.20 examples/update_entry.rb
storage_room-0.3.19 examples/update_entry.rb
storage_room-0.3.18 examples/update_entry.rb
storage_room-0.3.17 examples/update_entry.rb
storage_room-0.3.16 examples/update_entry.rb
storage_room-0.3.15 examples/update_entry.rb
storage_room-0.3.14 examples/update_entry.rb
storage_room-0.3.13 examples/update_entry.rb
storage_room-0.3.12 examples/update_entry.rb
storage_room-0.3.11 examples/update_entry.rb
storage_room-0.3.10 examples/update_entry.rb
storage_room-0.3.9 examples/update_entry.rb
storage_room-0.3.8 examples/update_entry.rb
storage_room-0.3.7 examples/update_entry.rb
storage_room-0.3.6 examples/update_entry.rb