You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
290 B
15 lines
290 B
class Lxd::Config
|
|
include ActiveModel::Model
|
|
|
|
attr_accessor :api, :api_extensions, :api_status, :api_version, :auth,
|
|
:config, :environment, :public
|
|
|
|
def self.get api
|
|
Lxd::Config.new({api: api}.merge api.config)
|
|
end
|
|
|
|
def save
|
|
@api.config = @config
|
|
end
|
|
end
|
|
# vim: set ts=2 sw=2:
|