fluke/devops-service/db/mongo/models/stack/stack_openstack.rb

23 lines
393 B
Ruby
Raw Normal View History

2015-11-03 11:46:54 +03:00
require 'db/mongo/models/stack/stack_base'
2015-03-06 12:20:30 +03:00
module Devops
module Model
class StackOpenstack < StackBase
2015-08-04 12:40:08 +03:00
def initialize attr={}
self.provider = 'openstack'
super(attr)
end
2015-07-15 16:25:06 +03:00
def stack_status
details[:stack_status] || details['stack_status'] if details
2015-07-15 16:25:06 +03:00
end
=begin
def self.provider
'openstack'
end
=end
2015-03-06 12:20:30 +03:00
end
end
2015-02-12 13:01:05 +03:00
end