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

Standardize the :state alias to :status

It seems that every other plugin expect `:state` for instance, https://github.com/fog/fog/blob/master/lib/fog/openstack/models/compute/server.rb#L34. DO needs to have the alias of `:state` to `:status` to help some down stream usage. 

Consistancy is the key to happiness :)
This commit is contained in:
JJ Asghar 2016-02-16 15:03:55 -06:00
parent cfeb2ef9e9
commit 72dba00346

View file

@ -13,7 +13,7 @@ module Fog
attribute :disk
attribute :locked
attribute :created_at
attribute :status
attribute :status, :aliases => 'state'
attribute :backup_ids
attribute :snapshot_ids
attribute :features