Sha256: bb50ac3be943e2bf0ccd05bb1b037d2c8d7eca08ab74540852a7fb10ff4d85b8
Contents?: true
Size: 554 Bytes
Versions: 3
Compression:
Stored size: 554 Bytes
Contents
require 'fog/compute/models/server' module Fog module OracleCloud class Java class Server < Fog::Model identity :name attribute :clusterName attribute :name attribute :shape attribute :nodeType attribute :isAdmin attribute :hostname attribute :status attribute :reservedIp attribute :storageAllocated attribute :creationDate def ip_addr reservedIp.blank? ? hostname : reservedIp end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems