1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00
Commit graph

8 commits

Author SHA1 Message Date
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
Paul Thornthwaite
e020b80249 [hp] Replaces #new_record? with #persisted? 2012-12-19 14:53:27 +00:00
Carlos Sanchez
a25691ed23 Move ssh private_key, public_key, username to Server model to reduce duplication 2012-10-31 12:31:49 +01:00
Neill Turner
7283aa5f54 Update lib/fog/hp/models/compute/server.rb 2012-09-08 16:10:06 +02:00
Neill Turner
34be7b7a9a Update lib/fog/hp/models/compute/image.rb 2012-09-04 12:29:45 +02:00
Kevin Menard
dcefc2d7de Fixed #875: Loosen multi_json version. 2012-04-25 10:31:28 -04:00
Steve Smith
d89dd56fe7 Use MultiJSON #dump and #load rather than #encode and #decode
MultiJSON deprecated these methods in 1.3.0 in favour of the new ones.
This requires an update to the gemspec to ensure ~>1.3
2012-04-20 13:09:14 +01:00
Rupak Ganguly
9d1e801d92 Add new HP providers for Object Storage, Compute and CDN services. 2012-04-16 15:48:41 -04:00