1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00
fog--fog/tests/brightbox/models/compute
Paul Thornthwaite b5ff3eaeb1 [Brightbox] Clean up Cloud IP mapping code
When passing an object that responds to `identity` which is all of our
resources, we can pass the resource's identifier in to the API call to
make it easier to use without maintaining a list of classes.

Server's need to use the interface for the destination so they override
a new `mapping_identity` method which is picked up first.

Anything else (such as a String identifier) is passed directly to the
API request as before.
2013-11-27 15:53:03 +00:00
..
account_tests.rb [Brightbox] Guards against unimplemented mock 2012-12-05 17:53:49 +00:00
server_tests.rb [Brightbox] Clean up Cloud IP mapping code 2013-11-27 15:53:03 +00:00