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

[Brightbox] Add created_at attribute for server_group,policy and firewall rule

This commit is contained in:
Hemant Kumar 2011-10-27 15:27:27 +05:30
parent 5cd31eb9a0
commit c642dd9076
3 changed files with 4 additions and 1 deletions

View file

@ -16,6 +16,7 @@ module Fog
attribute :default
attribute :server_group_id, :aliases => "server_group", :squash => "id"
attribute :created_at, :type => :time
attribute :rules
# Sticking with existing Fog behaviour, save does not update but creates a new resource

View file

@ -18,6 +18,7 @@ module Fog
attribute :destination_port
attribute :protocol
attribute :icmp_type_name
attribute :created_at, :type => :time
attribute :firewall_policy_id, :aliases => "firewall_policy", :squash => "id"
@ -50,4 +51,4 @@ module Fog
end
end
end
end

View file

@ -16,6 +16,7 @@ module Fog
attribute :name
attribute :description
attribute :default
attribute :created_at, :type => :time
def save
options = {