Sha256: a9656c10fa6c8e209179f2a3865f281c94a471c9522cdb3e88d474903f6764f7
Contents?: true
Size: 578 Bytes
Versions: 1
Compression:
Stored size: 578 Bytes
Contents
require 'yao/resources/metadata_available' module Yao::Resources class Server < Base friendly_attributes :addresses, :metadata, :name, :progress, :status, :tenant_id, :user_id, :key_name map_attribute_to_attribute :hostId => :host_id map_attribute_to_resource :flavor => Flavor map_attribute_to_resource :image => Image map_attribute_to_resources :security_groups => SecurityGroup self.service = "compute" self.resource_name = "server" self.resources_name = "servers" extend MetadataAvailable end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
yao-0.0.2.rc3 | lib/yao/resources/server.rb |