Sha256: b84ce5a4972d4d447ceb714c6d4ae31221120745b9e464c40af6ed85121390e1

Contents?: true

Size: 332 Bytes

Versions: 25

Compression:

Stored size: 332 Bytes

Contents

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

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

Version data entries

25 entries across 25 versions & 2 rubygems

Version Path
veewee-0.5.0.alpha4 lib/veewee/provider/kvm/box/helper/ip.rb
veewee-0.5.0.alpha3 lib/veewee/provider/kvm/box/helper/ip.rb
veewee-0.5.0.alpha2 lib/veewee/provider/kvm/box/helper/ip.rb
veewee-0.5.0.alpha1 lib/veewee/provider/kvm/box/helper/ip.rb
veewee-0.4.5.1 lib/veewee/provider/kvm/box/helper/ip.rb
veewee-0.4.5 lib/veewee/provider/kvm/box/helper/ip.rb
veewee-0.4.5.pre1 lib/veewee/provider/kvm/box/helper/ip.rb
veewee-0.4.4 lib/veewee/provider/kvm/box/helper/ip.rb
veewee-0.4.3 lib/veewee/provider/kvm/box/helper/ip.rb
veewee-0.4.2 lib/veewee/provider/kvm/box/helper/ip.rb
veewee-0.4.1 lib/veewee/provider/kvm/box/helper/ip.rb
veewee-0.4.0 lib/veewee/provider/kvm/box/helper/ip.rb
veewee-0.3.12 lib/veewee/provider/kvm/box/helper/ip.rb
veewee-0.3.11 lib/veewee/provider/kvm/box/helper/ip.rb
veewee-0.3.10 lib/veewee/provider/kvm/box/helper/ip.rb
veewee-0.3.9 lib/veewee/provider/kvm/box/helper/ip.rb
veewee-atlassian-0.3.11 lib/veewee/provider/kvm/box/helper/ip.rb
veewee-0.3.7 lib/veewee/provider/kvm/box/helper/ip.rb
veewee-0.3.6 lib/veewee/provider/kvm/box/helper/ip.rb
veewee-0.3.5 lib/veewee/provider/kvm/box/helper/ip.rb