fluke/devops-service/db/mongo/models/stack/stack_openstack.rb
2015-11-20 15:14:59 +03:00

23 lines
393 B
Ruby

require 'db/mongo/models/stack/stack_base'
module Devops
module Model
class StackOpenstack < StackBase
def initialize attr={}
self.provider = 'openstack'
super(attr)
end
def stack_status
details[:stack_status] || details['stack_status'] if details
end
=begin
def self.provider
'openstack'
end
=end
end
end
end