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:
parent
53e6e0693b
commit
13e3d7a010
2 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue