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
1 changed files with 1 additions and 1 deletions

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