Sha256: 855234d8b9c70feff2c9253cdf94bce0cff47d1ee52dde39e93096342e9217a5

Contents?: true

Size: 330 Bytes

Versions: 6

Compression:

Stored size: 330 Bytes

Contents

module Veewee
  module Provider
    module Kvm
      module BoxCommand
        def ip_address
          ip=@connection.servers.all(:name => "#{name}").first.addresses[:public]
          return ip.first unless ip.nil?
          return ip
        end

      end # End Module
    end # End Module
  end # End Module
end # End Module

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
veewee-0.3.0.beta1 lib/veewee/provider/kvm/box/helper/ip.rb
veewee-0.3.0.alpha9 lib/veewee/provider/kvm/box/helper/ip.rb
veewee-0.3.0.alpha8 lib/veewee/provider/kvm/box/helper/ip.rb
veewee-0.3.0.alpha7 lib/veewee/provider/kvm/box/helper/ip.rb
veewee-0.3.0.alpha6 lib/veewee/provider/kvm/box/helper/ip.rb
veewee-0.3.0.alpha5 lib/veewee/provider/kvm/box/helper/ip.rb