mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
25 lines
399 B
Ruby
25 lines
399 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
|
|
service.template_list
|
|
end
|
|
|
|
end
|
|
end
|
|
end
|
|
end
|