Sha256: b2b7f8f611e51a81826fdbe1284db96fb628734f57040024cbe1479276ba3e56
Contents?: true
Size: 491 Bytes
Versions: 13
Compression:
Stored size: 491 Bytes
Contents
require 'fog/compute/models/server' require 'fog/openstack/models/compute/metadata' module Fog module Compute class OpenStack class Host < Fog::Model attribute :host_name attribute :service attribute :details def initialize(attributes) @connection = attributes[:connection] super end def details connection.get_host_details(self.host_name).body['host'] end end end end end
Version data entries
13 entries across 13 versions & 7 rubygems