mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
26 lines
402 B
Ruby
26 lines
402 B
Ruby
|
require 'fog/core/model'
|
||
|
|
||
|
module Fog
|
||
|
module Glesys
|
||
|
class Compute
|
||
|
|
||
|
class Template < Fog::Model
|
||
|
extend Fog::Deprecation
|
||
|
|
||
|
identity :templateid
|
||
|
|
||
|
attribute :platform
|
||
|
attribute :name
|
||
|
attribute :os
|
||
|
attribute :min_mem_size
|
||
|
attribute :min_disk_size
|
||
|
|
||
|
def list
|
||
|
connection.template_list
|
||
|
end
|
||
|
|
||
|
end
|
||
|
end
|
||
|
end
|
||
|
end
|