1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00
fog--fog/lib/fog/ibm/models/storage
Paul Thornthwaite 40c0cd7122 Make use of #persisted? method
In many places we were checking for identity which was the shorthand for
checking if the resource had been saved by the service.

The #persisted? method was added to show a clearer intent and also offer
minimal ActiveModel interface
2012-12-23 02:45:05 +00:00
..
offering.rb [ibm] Initial IBM SmartCloud support 2012-03-20 23:37:45 -04:00
offerings.rb [ibm] Rename collection requests get->list so we have get_foo and list_foos 2012-03-20 23:37:45 -04:00
volume.rb Make use of #persisted? method 2012-12-23 02:45:05 +00:00
volumes.rb [ibm] Rename collection requests get->list so we have get_foo and list_foos 2012-03-20 23:37:45 -04:00