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

4 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
geemus
1b389931b5 [aws|cdn] fix up failing mocked tests around invalidations 2012-10-02 11:21:29 -05:00
Brice Figureau
e877f95034 [aws|cdn] add request mock support for AWS Cloudfront
This patch adds support for mocking the cloudfront API.
CDN Tests now can both be run with mocking and non mocking
activated.

Signed-off-by: Brice Figureau <brice-puppet@daysofwonder.com>
2012-09-28 11:24:36 +02:00
Brice Figureau
9666c9c7e0 [aws|cdn] AWS CDN models
This patch brings models for AWS CDN, including tests and documentation.

Signed-off-by: Brice Figureau <brice-puppet@daysofwonder.com>
2012-09-26 18:51:00 +02:00