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

[digitalocean|compute] add created_at timestamp as attribute of server

* We receive this field from Digital Ocean, so all we need to do to use it is add it as an attribute and it just works
This commit is contained in:
Dave Donahue 2013-12-27 08:57:56 -06:00
parent 53e6e0693b
commit 13e3d7a010
2 changed files with 2 additions and 0 deletions

View file

@ -19,6 +19,7 @@ module Fog
attribute :public_ip_address, :aliases => 'ip_address'
attribute :private_ip_address
attribute :backups_active
attribute :created_at
attr_writer :ssh_keys

View file

@ -29,6 +29,7 @@ Shindo.tests("Fog::Compute[:digitalocean] | server model", ['digitalocean', 'com
:flavor_id,
:region_id,
:image_id,
:created_at,
:ssh_keys=
]
tests("The server model should respond to") do